/*
 * Mani Agro — Landing Page Styles
 */

.landing-body {
    background: var(--surface);
}

/* ─── Navbar ─────────────────────────────── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: var(--space-3) 0;
    transition: all var(--transition-base);
}
.landing-nav.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-2) 0;
}
.landing-nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-6);
}
.landing-nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-weight: var(--font-extrabold);
    font-size: var(--text-lg);
    color: var(--primary);
    text-decoration: none;
}
.landing-nav__logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: var(--font-extrabold);
}
.landing-nav__links {
    display: none;
    gap: var(--space-6);
    margin-left: auto;
}
.landing-nav__links a {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.landing-nav__links a:hover { color: var(--primary); }
.landing-nav__actions {
    margin-left: auto;
    display: flex;
    gap: var(--space-2);
}
.landing-nav__mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.landing-nav__mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}
.landing-nav__mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.landing-nav__mobile-toggle.active span:nth-child(2) { opacity: 0; }
.landing-nav__mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav open */
.landing-nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: var(--space-4) var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    animation: fadeIn 0.2s both;
}

@media (min-width: 768px) {
    .landing-nav__links { display: flex; }
    .landing-nav__mobile-toggle { display: none; }
    .landing-nav__actions { margin-left: 0; }
}

/* ─── Hero ────────────────────────────────── */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--primary-50) 0%, #ffffff 30%, #f0fdf4 60%, #dcfce7 100%);
    padding: 100px var(--space-4) var(--space-12);
}
.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(22,163,74,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(22,163,74,0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(22,163,74,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.hero__content {
    position: relative;
    text-align: center;
    max-width: 640px;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 16px;
    background: var(--primary-100);
    color: var(--primary-dark);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    letter-spacing: 0.02em;
}
.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: var(--font-extrabold);
    line-height: 1.1;
    color: var(--text);
    margin-bottom: var(--space-4);
}
.hero__title-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-8);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.hero__actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
}
.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    padding: var(--space-5) var(--space-8);
    background: var(--surface);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}
.hero__stat { text-align: center; }
.hero__stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-extrabold);
    color: var(--primary);
}
.hero__stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: var(--font-medium);
    margin-top: 2px;
}
.hero__stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ─── Sections ───────────────────────────── */
.landing-section {
    padding: var(--space-16) 0;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease;
}
.landing-section.revealed {
    opacity: 1;
    transform: translateY(0);
}
.landing-section--gray { background: var(--bg); }

.section-badge {
    display: inline-flex;
    padding: 4px 14px;
    background: var(--primary-100);
    color: var(--primary-dark);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.landing-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: var(--font-extrabold);
    line-height: 1.15;
    margin-bottom: var(--space-4);
}
.landing-section__subtitle {
    font-size: var(--text-base);
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
}

/* ─── Product Preview Grid ───────────────── */
.product-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin-top: var(--space-8);
}
.product-preview-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(16px);
}
.product-preview-card.revealed { opacity: 1; transform: translateY(0); }
.product-preview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-preview-card__icon { font-size: 2.5rem; margin-bottom: var(--space-3); }
.product-preview-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-1);
}
.product-preview-card p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ─── Benefits ───────────────────────────── */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin-top: var(--space-8);
}
.benefit-card {
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(16px);
}
.benefit-card.revealed { opacity: 1; transform: translateY(0); }
.benefit-card:hover { border-color: var(--primary-200); background: var(--primary-50); }
.benefit-card__icon {
    width: 44px;
    height: 44px;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}
.benefit-card__icon svg { width: 22px; height: 22px; color: var(--primary); }
.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-1);
}
.benefit-card p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ─── CTA ────────────────────────────────── */
.landing-cta {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-darker) 100%);
    text-align: center;
    color: white;
}
.landing-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: var(--font-extrabold);
    color: white;
    margin-bottom: var(--space-3);
}
.landing-cta p {
    color: rgba(255,255,255,0.8);
    font-size: var(--text-base);
    margin-bottom: var(--space-8);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Footer ─────────────────────────────── */
.landing-footer {
    padding: var(--space-8) 0;
    background: var(--text);
    color: rgba(255,255,255,0.6);
    font-size: var(--text-sm);
}
.landing-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-align: center;
}
.landing-footer__brand strong {
    color: white;
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
}
.landing-footer__brand p { margin: 0; font-size: var(--text-xs); }

/* ─── Desktop ────────────────────────────── */
@media (min-width: 768px) {
    .product-preview-grid,
    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
    .landing-footer .container { flex-direction: row; justify-content: space-between; }
}
