/* Landing Page Variables & Reset */
:root {
    /* Color Palette - Premium Nature-inspired */
    --primary: #0fbd49;
    --primary-dark: #0a8a35;
    --primary-light: #e7f9ed;

    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-surface-alt: #f1f5f9;
    --bg-footer: #0f172a;

    /* Spacing & Layout */
    --container-width: 1280px;
    --header-height: 80px;
    --section-spacing: 120px;

    /* Animations */
    --transition-base: all 0.3s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(15, 189, 73, 0.3);
}

/* Dark Mode Overrides */
html.dark {
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-body: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface-alt: #1a2333;
}

/* Reset & Utilities */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition-base);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 6px -1px rgba(15, 189, 73, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background-color: var(--primary-dark);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Sections */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: zoomIn 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4), rgba(15, 23, 42, 0.9));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(15, 189, 73, 0.15);
    border: 1px solid rgba(15, 189, 73, 0.4);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    margin-right: 0.75rem;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
    font-size: 2rem;
}

/* Features Section */
.features {
    padding: var(--section-spacing) 0;
    position: relative;
    background: var(--bg-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-body);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--text-white);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Products Section */
.products {
    padding: var(--section-spacing) 0;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    background: var(--bg-body);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image-wrapper {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow-icon {
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-base);
    color: var(--primary);
}

.product-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Stats */
.stats {
    padding: 5rem 0;
    background: var(--bg-body);
    border-top: 1px solid var(--bg-surface-alt);
    border-bottom: 1px solid var(--bg-surface-alt);
}

.stats-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    background: var(--text-muted);
    opacity: 0.2;
}

/* CTA */
.cta {
    padding: var(--section-spacing) 0;
    background: var(--bg-footer);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(15, 189, 73, 0.15);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(15, 189, 73, 0.1);
    bottom: -100px;
    left: -100px;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations Keyframes */
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 189, 73, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(15, 189, 73, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 189, 73, 0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .stat-divider {
        display: none;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}