/* CropWise landing — Government portal theme tokens */
html.cropwise-landing {
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-elevated: rgba(27, 94, 32, 0.04);
    --glass-bg: #FFFFFF;
    --glass-border: #E5E7EB;

    --text-primary: #1F2937;
    --text-secondary: #374151;
    --text-muted: #6B7280;

    --brand-deep: #1B5E20;
    --brand-mid: #388E3C;
    --brand-bright: #66BB6A;
    --brand-lime: #388E3C;
    --brand-mist: #1B5E20;

    --accent-blue: #388E3C;
    --accent-purple: #1B5E20;
    --accent-cyan: #388E3C;

    --gradient-main: linear-gradient(135deg, #1B5E20 0%, #388E3C 55%, #66BB6A 100%);
    --gradient-soft: linear-gradient(135deg, rgba(27, 94, 32, 0.08), rgba(56, 142, 60, 0.06));
    --shadow-glow: 0 0 32px rgba(27, 94, 32, 0.12);
    --shadow-card: 0 4px 16px rgba(31, 41, 55, 0.08);
    --brand-glow: rgba(27, 94, 32, 0.18);
    --brand-glow-strong: rgba(56, 142, 60, 0.22);
    --brand-tint: rgba(27, 94, 32, 0.06);
    --brand-tint-strong: rgba(56, 142, 60, 0.1);
    --brand-border: rgba(27, 94, 32, 0.2);

    --hero-bg-base: linear-gradient(160deg, #F8FAFC 0%, #FFFFFF 50%, #F1F8E9 100%);
    --hero-bg-glow-right: radial-gradient(circle at 78% 45%, rgba(56, 142, 60, 0.1), transparent 42%);
    --hero-bg-glow-left: radial-gradient(circle at 22% 55%, rgba(27, 94, 32, 0.08), transparent 44%);
    --hero-bg-glow-center: radial-gradient(circle at 50% 0%, rgba(102, 187, 106, 0.06), transparent 38%);
    --footer-bg: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 55%, #F1F8E9 100%);

    --surface-heading: #1F2937;
    --surface-body: #374151;
    --surface-body-muted: #4B5563;
    --surface-body-faint: #6B7280;
    --surface-placeholder: #9CA3AF;
    --surface-accent: #1B5E20;

    --glass-hero: rgba(255, 255, 255, 0.94);
    --glass-hero-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.95));
    --glass-hero-border: rgba(27, 94, 32, 0.16);
    --chip-bg: rgba(56, 142, 60, 0.1);
    --chip-text: #1B5E20;
    --tag-bg: rgba(255, 255, 255, 0.92);
    --tag-text: #1F2937;
    --tag-border: rgba(27, 94, 32, 0.18);
    --icon-surface-bg: rgba(56, 142, 60, 0.08);
    --nav-scrolled-bg: rgba(255, 255, 255, 0.96);
    --hero-veil: linear-gradient(
        102deg,
        rgba(27, 94, 32, 0.97) 0%,
        rgba(27, 94, 32, 0.9) 28%,
        rgba(27, 94, 32, 0.68) 44%,
        rgba(56, 142, 60, 0.32) 58%,
        rgba(56, 142, 60, 0.12) 72%,
        rgba(56, 142, 60, 0.03) 86%,
        transparent 96%
    );
    --hero-veil-mobile: linear-gradient(
        180deg,
        rgba(27, 94, 32, 0.94) 0%,
        rgba(27, 94, 32, 0.82) 38%,
        rgba(56, 142, 60, 0.28) 68%,
        rgba(56, 142, 60, 0.08) 88%,
        transparent 100%
    );
    --btn-ghost-bg: #FFFFFF;
    --btn-ghost-border: #D1D5DB;
    --btn-ghost-text: #1F2937;
    --mouse-glow: radial-gradient(circle, rgba(56, 142, 60, 0.1) 0%, transparent 70%);
    --footer-divider: #E5E7EB;
}

html.cropwise-landing[data-theme="light"] {
    --bg-primary: #F8F8F5;
    --bg-secondary: #FFFFFF;
    --bg-elevated: rgba(46, 107, 45, 0.04);
    --glass-bg: #FFFFFF;
    --glass-border: #E4E4E4;

    --text-primary: #1E1E1E;
    --text-secondary: #444444;
    --text-muted: #6B6B6B;

    --brand-deep: #2E6B2D;
    --brand-mid: #5C8E3E;
    --brand-bright: #A8C66C;
    --brand-lime: #7A8F3A;
    --brand-mist: #2E6B2D;

    --accent-blue: #2E6B2D;
    --accent-purple: #5C8E3E;
    --accent-cyan: #5C8E3E;

    --gradient-main: linear-gradient(135deg, #2E6B2D 0%, #5C8E3E 55%, #7A8F3A 100%);
    --gradient-soft: linear-gradient(135deg, rgba(46, 107, 45, 0.08), rgba(92, 142, 62, 0.06));
    --shadow-glow: 0 0 32px rgba(46, 107, 45, 0.12);
    --shadow-card: 0 4px 20px rgba(30, 30, 30, 0.08);
    --brand-glow: rgba(46, 107, 45, 0.18);
    --brand-glow-strong: rgba(244, 196, 48, 0.22);
    --brand-tint: rgba(46, 107, 45, 0.06);
    --brand-tint-strong: rgba(244, 196, 48, 0.14);
    --brand-border: rgba(46, 107, 45, 0.28);

    --hero-bg-base: linear-gradient(160deg, #F8F8F5 0%, #FFFFFF 50%, #F3F6EF 100%);
    --hero-bg-glow-right: radial-gradient(circle at 78% 45%, rgba(92, 142, 62, 0.1), transparent 42%);
    --hero-bg-glow-left: radial-gradient(circle at 22% 55%, rgba(46, 107, 45, 0.08), transparent 44%);
    --hero-bg-glow-center: radial-gradient(circle at 50% 0%, rgba(168, 198, 108, 0.06), transparent 38%);
    --footer-bg: linear-gradient(180deg, #F8F8F5 0%, #FFFFFF 55%, #F3F6EF 100%);

    --surface-heading: #1E1E1E;
    --surface-body: #444444;
    --surface-body-muted: #6B6B6B;
    --surface-body-faint: #9E9E9E;
    --surface-placeholder: #9E9E9E;
    --surface-accent: #2E6B2D;

    --glass-hero: #FFFFFF;
    --glass-hero-strong: linear-gradient(135deg, #FFFFFF 0%, #F3F6EF 100%);
    --glass-hero-border: rgba(46, 107, 45, 0.2);
    --chip-bg: rgba(244, 196, 48, 0.18);
    --chip-text: #1E1E1E;
    --tag-bg: #FFFFFF;
    --tag-text: #1E1E1E;
    --tag-border: rgba(46, 107, 45, 0.24);
    --icon-surface-bg: rgba(46, 107, 45, 0.1);
    --nav-scrolled-bg: rgba(255, 255, 255, 0.96);
    --hero-veil: linear-gradient(
        90deg,
        rgba(46, 107, 45, 0.92) 0%,
        rgba(46, 107, 45, 0.82) 40%,
        rgba(46, 107, 45, 0.45) 65%,
        transparent 100%
    );
    --hero-veil-mobile: linear-gradient(
        180deg,
        rgba(46, 107, 45, 0.92) 0%,
        rgba(46, 107, 45, 0.78) 100%
    );
    --btn-ghost-bg: #FFFFFF;
    --btn-ghost-border: #CFCFCF;
    --btn-ghost-text: #1E1E1E;
    --mouse-glow: radial-gradient(circle, rgba(46, 107, 45, 0.08) 0%, transparent 70%);
    --footer-divider: #E4E4E4;
}

/* Light mode: force white/green UI surfaces */
html.cropwise-landing[data-theme="light"] .premium-nav.scrolled {
    background: #ffffff;
    border-bottom: 1px solid rgba(61, 90, 44, 0.16);
}

html.cropwise-landing[data-theme="light"] .glass,
html.cropwise-landing[data-theme="light"] .feature-card,
html.cropwise-landing[data-theme="light"] .about-intro,
html.cropwise-landing[data-theme="light"] .about-step,
html.cropwise-landing[data-theme="light"] .pricing-card,
html.cropwise-landing[data-theme="light"] .theme-toggle,
html.cropwise-landing[data-theme="light"] .swiper-button-prev,
html.cropwise-landing[data-theme="light"] .swiper-button-next {
    background: #ffffff !important;
    border-color: rgba(61, 90, 44, 0.2);
    color: #1f3a16;
}

html.cropwise-landing[data-theme="light"] .btn-primary {
    background: #2E6B2D;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(46, 107, 45, 0.25);
}

html.cropwise-landing[data-theme="light"] .btn-ghost,
html.cropwise-landing[data-theme="light"] .hero.hero-media .hero-ctas .btn-ghost {
    background: #ffffff;
    border: 1px solid rgba(61, 90, 44, 0.35);
    color: #1f3a16;
}

html.cropwise-landing[data-theme="light"] .btn-ghost:hover,
html.cropwise-landing[data-theme="light"] .hero.hero-media .hero-ctas .btn-ghost:hover {
    background: rgba(61, 90, 44, 0.08);
    border-color: #3d5a2c;
    color: #1f3a16;
}

html.cropwise-landing[data-theme="light"] .hero.hero-media .hero-badge,
html.cropwise-landing[data-theme="light"] .section-label {
    background: rgba(61, 90, 44, 0.1);
    border-color: rgba(61, 90, 44, 0.28);
    color: #2f4522;
}

html.cropwise-landing[data-theme="light"] .hero-tag {
    background: #ffffff;
    border-color: rgba(61, 90, 44, 0.28);
    color: #1f3a16;
}

html.cropwise-landing[data-theme="light"] .hero-tag i,
html.cropwise-landing[data-theme="light"] .feature-icon,
html.cropwise-landing[data-theme="light"] .about-icon,
html.cropwise-landing[data-theme="light"] .about-list li i,
html.cropwise-landing[data-theme="light"] .pricing-features li::before,
html.cropwise-landing[data-theme="light"] .nav-links a:hover,
html.cropwise-landing[data-theme="light"] .footer-col a:hover {
    color: #3d5a2c;
}

html.cropwise-landing[data-theme="light"] .feature-icon,
html.cropwise-landing[data-theme="light"] .about-icon {
    background: rgba(61, 90, 44, 0.1);
    border: 1px solid rgba(61, 90, 44, 0.2);
}

html.cropwise-landing[data-theme="light"] .feature-card::before {
    background: linear-gradient(135deg, rgba(61, 90, 44, 0.35), rgba(90, 122, 61, 0.12), transparent);
}

html.cropwise-landing[data-theme="light"] .pricing-card.featured {
    border-color: #3d5a2c;
    box-shadow: 0 0 28px rgba(61, 90, 44, 0.16);
}

html.cropwise-landing[data-theme="light"] .pricing-badge {
    background: linear-gradient(135deg, #2f4522 0%, #3d5a2c 50%, #5a7a3d 100%);
    color: #ffffff;
}

html.cropwise-landing[data-theme="light"] .swiper-pagination-bullet-active {
    background: #3d5a2c !important;
}

html.cropwise-landing[data-theme="light"] .nav-links a.active::after,
html.cropwise-landing[data-theme="light"] .slider-progress {
    background: #3d5a2c;
}

html.cropwise-landing[data-theme="light"] .premium-footer {
    background: #ffffff;
    border-top: 1px solid rgba(61, 90, 44, 0.16);
}

html.cropwise-landing[data-theme="light"] .footer-bottom {
    border-top-color: rgba(61, 90, 44, 0.14);
    color: #5a7a3d;
}

html.cropwise-landing[data-theme="light"] .glass-strong,
html.cropwise-landing[data-theme="light"] .slide-illustration {
    background: linear-gradient(135deg, #ffffff 0%, #f2f7ec 100%) !important;
    border-color: rgba(61, 90, 44, 0.2);
}

/* ── Atmosphere ── */
html.cropwise-landing body {
    background: var(--hero-bg-base);
    color: var(--text-primary);
}

html.cropwise-landing .bg-mesh {
    background:
        var(--hero-bg-glow-right),
        var(--hero-bg-glow-left),
        var(--hero-bg-base);
}

html.cropwise-landing .mouse-glow {
    background: var(--mouse-glow);
}

/* ── Shared section surfaces (top + bottom use same stack) ── */
html.cropwise-landing .hero.hero-media,
html.cropwise-landing .hero-slider-section {
    background: var(--hero-bg-glow-right), var(--hero-bg-base);
}

html.cropwise-landing .section {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    background: var(--hero-bg-glow-left), var(--hero-bg-base);
}

html.cropwise-landing .section .features-grid,
html.cropwise-landing .section .about-grid,
html.cropwise-landing .section .pricing-grid {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

html.cropwise-landing .section:nth-of-type(even) {
    background: var(--hero-bg-glow-center), var(--hero-bg-base);
}

html.cropwise-landing #pricing.section {
    background: var(--hero-bg-glow-right), var(--hero-bg-base);
}

html.cropwise-landing .hero-slider-section {
    margin-top: 0;
}

html.cropwise-landing .premium-footer {
    margin-top: 0;
    background: var(--footer-bg);
    border-top: 1px solid var(--glass-hero-border);
}

/* ── Shared glass + chips (hero tags/badges + bottom cards) ── */
html.cropwise-landing .glass,
html.cropwise-landing .feature-card,
html.cropwise-landing .about-intro,
html.cropwise-landing .about-step,
html.cropwise-landing .pricing-card {
    background: var(--glass-hero);
    border: 1px solid var(--glass-hero-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

html.cropwise-landing .glass-strong,
html.cropwise-landing .slide-illustration {
    background: var(--glass-hero-strong) !important;
    border: 1px solid var(--glass-hero-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html.cropwise-landing .feature-icon,
html.cropwise-landing .about-icon {
    background: var(--icon-surface-bg);
    border: 1px solid var(--glass-hero-border);
    color: var(--surface-accent);
}

html.cropwise-landing .hero.hero-media .hero-badge,
html.cropwise-landing .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--chip-text);
    background: var(--chip-bg);
    border: 1px solid var(--brand-border);
    backdrop-filter: blur(10px);
}

html.cropwise-landing .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tag-text);
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    white-space: nowrap;
    backdrop-filter: blur(6px);
}

html.cropwise-landing .hero-tag i {
    color: var(--surface-accent);
}

/* ── Shared typography hierarchy ── */
html.cropwise-landing .slide-text h2,
html.cropwise-landing .section-header h2,
html.cropwise-landing .feature-card h3,
html.cropwise-landing .about-intro h3,
html.cropwise-landing .about-step h4,
html.cropwise-landing .pricing-name,
html.cropwise-landing .pricing-price {
    color: var(--surface-heading) !important;
}

html.cropwise-landing .slide-text p,
html.cropwise-landing .section-header p,
html.cropwise-landing .feature-card p,
html.cropwise-landing .about-intro > p,
html.cropwise-landing .about-list li,
html.cropwise-landing .about-step p,
html.cropwise-landing .pricing-desc,
html.cropwise-landing .pricing-features li,
html.cropwise-landing .footer-brand p {
    color: var(--surface-body) !important;
}

html.cropwise-landing .hero.hero-media .hero-title-accent {
    display: block;
    color: #FFFFFF !important;
    background: none !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

html.cropwise-landing .about-list li i,
html.cropwise-landing .pricing-features li::before {
    color: var(--brand-bright);
}

html.cropwise-landing .gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Controls + footer ── */
html.cropwise-landing .btn-primary {
    box-shadow: 0 4px 20px var(--brand-glow);
}

html.cropwise-landing .btn-primary:hover {
    box-shadow: 0 8px 30px var(--brand-glow-strong);
}

html.cropwise-landing .btn-ghost:hover,
html.cropwise-landing .hero.hero-media .hero-ctas .btn-ghost:hover {
    border-color: var(--brand-border);
    background: var(--brand-tint-strong);
}

html.cropwise-landing .theme-toggle:hover {
    border-color: var(--brand-border);
    color: var(--text-primary);
}

html.cropwise-landing .swiper-pagination-bullet-active {
    background: var(--brand-bright) !important;
}

html.cropwise-landing .swiper-button-prev,
html.cropwise-landing .swiper-button-next {
    background: var(--glass-hero) !important;
    border: 1px solid var(--glass-hero-border);
    color: var(--text-primary) !important;
}

html.cropwise-landing .feature-card::before {
    background: linear-gradient(135deg, rgba(122, 182, 72, 0.45), rgba(61, 90, 44, 0.2), transparent);
}

html.cropwise-landing .pricing-card.featured {
    border: 1px solid var(--brand-border);
    box-shadow: 0 0 40px var(--brand-glow);
}

html.cropwise-landing .pricing-card.featured:hover {
    box-shadow: 0 0 60px var(--brand-glow-strong);
}

html.cropwise-landing .newsletter input {
    background: var(--footer-input-bg, var(--glass-hero));
    border: 1px solid var(--footer-input-border, var(--glass-hero-border));
    color: var(--footer-input-text, var(--surface-heading));
}

html.cropwise-landing .newsletter input::placeholder {
    color: var(--footer-input-placeholder, var(--surface-placeholder));
}

html.cropwise-landing .newsletter input:focus {
    border-color: var(--brand-mid);
}

html.cropwise-landing .footer-col h4 {
    color: var(--chip-text);
}

html.cropwise-landing .footer-col a {
    color: var(--surface-body-muted);
}

html.cropwise-landing .footer-col a:hover,
html.cropwise-landing .nav-links a:hover {
    color: var(--surface-accent);
}

html.cropwise-landing .footer-bottom {
    color: var(--surface-body-faint);
    border-top: 1px solid var(--footer-divider);
}

html.cropwise-landing .social-links a:hover {
    color: var(--brand-bright);
    border-color: var(--brand-border);
}

html.cropwise-landing .premium-nav.scrolled {
    background: var(--nav-scrolled-bg);
    border-bottom: 1px solid var(--glass-hero-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ── Nav brand ── */
html.cropwise-landing .nav-brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex-shrink: 0;
}

html.cropwise-landing .nav-logo-icon {
    background: var(--gradient-main);
}

html.cropwise-landing .nav-logo-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

html.cropwise-landing .nav-partner-logo {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 3px 6px;
    border: 1px solid var(--glass-hero-border);
}

html.cropwise-landing .nav-links a.active {
    color: var(--text-primary);
    position: relative;
}

html.cropwise-landing .nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-bright);
}

/* ── Hero layout (structure unchanged) ── */
html.cropwise-landing .hero.hero-media {
    position: relative;
    isolation: isolate;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    grid-template-columns: none !important;
    gap: 0 !important;
    max-width: none !important;
    width: 100%;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    text-align: left;
}

html.cropwise-landing .hero-media__soft-da {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    overflow: hidden;
    border-radius: 0;
    pointer-events: none !important;
    user-select: none;
    opacity: 0.4;
    filter: saturate(1.22) contrast(1.06) brightness(1.1);
    mask-image: none;
    -webkit-mask-image: none;
}

html.cropwise-landing[data-theme="light"] .hero-media__soft-da {
    opacity: 0.32;
    filter: saturate(1.1) contrast(1.02) brightness(1.05);
}

html.cropwise-landing .hero-media__soft-da img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.06) translateY(4%);
    transform-origin: center center;
    pointer-events: none !important;
}

html.cropwise-landing .hero.hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none !important;
    background: var(--hero-veil);
}

html.cropwise-landing .hero-media__frame {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: calc(var(--nav-height, 72px) + 56px) 24px 72px;
    box-sizing: border-box;
}

html.cropwise-landing .hero.hero-media .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 640px;
    margin: 0;
    padding: 0;
    text-align: left;
}

html.cropwise-landing .hero.hero-media .hero-badge {
    margin: 0 0 20px;
    letter-spacing: 0.03em;
}

html.cropwise-landing .hero.hero-media h1 {
    font-size: clamp(2.15rem, 4.8vw, 3.45rem);
    line-height: 1.14;
    font-weight: 800;
    margin: 0 0 16px;
    max-width: 15ch;
    letter-spacing: -0.02em;
}

html.cropwise-landing .hero.hero-media .hero-desc {
    margin: 0 0 20px;
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.65;
}

html.cropwise-landing .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

html.cropwise-landing .hero.hero-media .hero-ctas {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
}

html.cropwise-landing .hero.hero-media .hero-ctas .btn {
    position: relative;
    z-index: 3;
}

html.cropwise-landing .hero.hero-media .hero-ctas .btn-ghost {
    background: var(--btn-ghost-bg);
    border: 1px solid var(--btn-ghost-border);
    color: var(--btn-ghost-text);
    backdrop-filter: blur(6px);
}

@media (max-width: 900px) {
    html.cropwise-landing .nav-partner-logo {
        height: 34px;
        max-width: 120px;
    }

    html.cropwise-landing .hero.hero-media {
        min-height: clamp(520px, 88vh, 820px);
    }

    html.cropwise-landing .hero-media__soft-da {
        opacity: 0.36;
    }

    html.cropwise-landing[data-theme="light"] .hero-media__soft-da {
        opacity: 0.34;
    }

    html.cropwise-landing .hero-media__soft-da img {
        object-position: center 26%;
        transform: scale(1.08) translateY(-1%);
    }

    html.cropwise-landing .hero.hero-media::before {
        background: var(--hero-veil-mobile);
    }

    html.cropwise-landing .hero-media__frame {
        padding: calc(var(--nav-height, 72px) + 40px) 20px 56px;
    }

    html.cropwise-landing .hero.hero-media h1 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    html.cropwise-landing .nav-partner-logo {
        display: none;
    }

    html.cropwise-landing .hero-media__soft-da {
        opacity: 0.32;
    }

    html.cropwise-landing .hero-media__soft-da img {
        object-position: center 24%;
        transform: scale(1.1) translateY(0);
    }

    html.cropwise-landing .hero.hero-media .hero-ctas {
        width: 100%;
    }

    html.cropwise-landing .hero.hero-media .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Government portal palette (landing surfaces) ───────────────── */
html.cropwise-landing,
html.cropwise-landing[data-theme="light"] {
    --oca-forest: #1B5E20;
    --oca-agri: #388E3C;
    --oca-white: #FFFFFF;
    --oca-off-white: #F8FAFC;
    --oca-charcoal: #1F2937;
    --oca-gold: #388E3C;

    --bg-primary: var(--oca-off-white);
    --bg-secondary: var(--oca-white);
    --bg-elevated: rgba(27, 94, 32, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.98);
    --glass-border: #E5E7EB;

    --text-primary: var(--oca-charcoal);
    --text-secondary: #374151;
    --text-muted: #6B7280;

    --brand-deep: var(--oca-forest);
    --brand-mid: var(--oca-forest);
    --brand-bright: var(--oca-agri);
    --brand-lime: var(--oca-agri);
    --brand-mist: #F1F8E9;

    --accent-blue: var(--oca-agri);
    --accent-purple: var(--oca-forest);
    --accent-cyan: var(--oca-agri);

    --gradient-main: linear-gradient(135deg, #1B5E20 0%, #388E3C 55%, #66BB6A 100%);
    --gradient-soft: linear-gradient(135deg, rgba(27, 94, 32, 0.08), rgba(56, 142, 60, 0.06));
    --shadow-glow: 0 0 36px rgba(27, 94, 32, 0.12);
    --shadow-card: 0 4px 16px rgba(31, 41, 55, 0.08);
    --brand-glow: rgba(27, 94, 32, 0.18);
    --brand-glow-strong: rgba(56, 142, 60, 0.24);
    --brand-tint: rgba(27, 94, 32, 0.06);
    --brand-tint-strong: rgba(56, 142, 60, 0.1);
    --brand-border: rgba(27, 94, 32, 0.2);

    --hero-bg-base: linear-gradient(160deg, #F8FAFC 0%, #FFFFFF 50%, #F1F8E9 100%);
    --hero-bg-glow-right: radial-gradient(circle at 78% 45%, rgba(56, 142, 60, 0.08), transparent 42%);
    --hero-bg-glow-left: radial-gradient(circle at 22% 55%, rgba(27, 94, 32, 0.06), transparent 44%);
    --hero-bg-glow-center: radial-gradient(circle at 50% 0%, rgba(102, 187, 106, 0.05), transparent 36%);
    --footer-bg: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 55%, #F1F8E9 100%);

    --surface-heading: var(--oca-charcoal);
    --surface-body: #374151;
    --surface-body-muted: #4B5563;
    --surface-body-faint: #6B7280;
    --surface-placeholder: #9CA3AF;
    --surface-accent: var(--oca-forest);

    --glass-hero: rgba(255, 255, 255, 0.98);
    --glass-hero-strong: linear-gradient(135deg, #FFFFFF 0%, #F1F8E9 100%);
    --glass-hero-border: rgba(27, 94, 32, 0.14);
    --chip-bg: rgba(56, 142, 60, 0.1);
    --chip-text: var(--oca-forest);
    --tag-bg: rgba(255, 255, 255, 0.96);
    --tag-text: var(--oca-charcoal);
    --tag-border: rgba(27, 94, 32, 0.16);
    --icon-surface-bg: rgba(56, 142, 60, 0.08);
    --nav-scrolled-bg: rgba(255, 255, 255, 0.98);
    --btn-ghost-bg: var(--oca-white);
    --btn-ghost-border: #D1D5DB;
    --btn-ghost-text: var(--oca-charcoal);
    --mouse-glow: radial-gradient(circle, rgba(56, 142, 60, 0.08) 0%, transparent 70%);
    --footer-divider: #E5E7EB;

    --hero-veil: linear-gradient(
        102deg,
        rgba(27, 94, 32, 0.97) 0%,
        rgba(27, 94, 32, 0.9) 28%,
        rgba(27, 94, 32, 0.68) 44%,
        rgba(56, 142, 60, 0.32) 58%,
        rgba(56, 142, 60, 0.12) 72%,
        rgba(56, 142, 60, 0.03) 86%,
        transparent 96%
    );
    --hero-veil-mobile: linear-gradient(
        180deg,
        rgba(27, 94, 32, 0.94) 0%,
        rgba(27, 94, 32, 0.82) 38%,
        rgba(56, 142, 60, 0.28) 68%,
        rgba(56, 142, 60, 0.08) 88%,
        transparent 100%
    );
}

/* Dark mode — green-tinted surfaces with readable contrast */
html.cropwise-landing[data-theme="dark"] {
    --oca-forest: #66BB6A;
    --oca-agri: #A5D6A7;
    --oca-white: #102016;
    --oca-off-white: #08130A;
    --oca-charcoal: #F4FBF4;
    --oca-gold: #81C784;

    --bg-primary: #08130A;
    --bg-secondary: #102016;
    --bg-elevated: rgba(165, 214, 167, 0.08);
    --glass-bg: rgba(16, 32, 22, 0.9);
    --glass-border: rgba(165, 214, 167, 0.16);

    --text-primary: #F4FBF4;
    --text-secondary: #DCEEDC;
    --text-muted: #AFC8B1;

    --brand-deep: #66BB6A;
    --brand-mid: #81C784;
    --brand-bright: #A5D6A7;
    --brand-lime: #C8E6C9;
    --brand-mist: rgba(102, 187, 106, 0.12);

    --accent-blue: #A5D6A7;
    --accent-purple: #81C784;
    --accent-cyan: #66BB6A;

    --gradient-main: linear-gradient(135deg, #2E7D32 0%, #66BB6A 55%, #A5D6A7 100%);
    --gradient-soft: linear-gradient(135deg, rgba(102, 187, 106, 0.16), rgba(165, 214, 167, 0.1));
    --shadow-glow: 0 0 40px rgba(102, 187, 106, 0.16);
    --shadow-card: 0 8px 28px rgba(0, 0, 0, 0.35);
    --brand-glow: rgba(102, 187, 106, 0.2);
    --brand-glow-strong: rgba(165, 214, 167, 0.28);
    --brand-tint: rgba(102, 187, 106, 0.12);
    --brand-tint-strong: rgba(129, 199, 132, 0.18);
    --brand-border: rgba(165, 214, 167, 0.28);

    --hero-bg-base: linear-gradient(160deg, #08130A 0%, #0B1A10 50%, #102016 100%);
    --hero-bg-glow-right: radial-gradient(circle at 78% 45%, rgba(102, 187, 106, 0.12), transparent 42%);
    --hero-bg-glow-left: radial-gradient(circle at 22% 55%, rgba(46, 125, 50, 0.14), transparent 44%);
    --hero-bg-glow-center: radial-gradient(circle at 50% 0%, rgba(165, 214, 167, 0.08), transparent 36%);
    --footer-bg: linear-gradient(180deg, #102016 0%, #08130A 60%, #0B1A10 100%);

    --surface-heading: #F4FBF4;
    --surface-body: #DCEEDC;
    --surface-body-muted: #B8D6BA;
    --surface-body-faint: #AFC8B1;
    --surface-placeholder: #AFC8B1;
    --surface-accent: #A5D6A7;

    --glass-hero: rgba(16, 32, 22, 0.92);
    --glass-hero-strong: linear-gradient(135deg, #102016 0%, #0B1A10 100%);
    --glass-hero-border: rgba(165, 214, 167, 0.18);
    --chip-bg: rgba(102, 187, 106, 0.16);
    --chip-text: #C8E6C9;
    --tag-bg: rgba(16, 32, 22, 0.9);
    --tag-text: #F4FBF4;
    --tag-border: rgba(165, 214, 167, 0.22);
    --icon-surface-bg: rgba(102, 187, 106, 0.14);
    --nav-scrolled-bg: rgba(8, 19, 10, 0.94);
    --btn-ghost-bg: rgba(16, 32, 22, 0.9);
    --btn-ghost-border: rgba(165, 214, 167, 0.28);
    --btn-ghost-text: #F4FBF4;
    --mouse-glow: radial-gradient(circle, rgba(102, 187, 106, 0.12) 0%, transparent 70%);
    --footer-divider: rgba(165, 214, 167, 0.18);
}

html.cropwise-landing body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

html.cropwise-landing .premium-nav.scrolled {
    background: var(--nav-scrolled-bg);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 18px rgba(31, 41, 55, 0.06);
}

html.cropwise-landing .hero.hero-media h1,
html.cropwise-landing .hero.hero-media .hero-title-accent,
html.cropwise-landing .hero.hero-media .hero-desc {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

html.cropwise-landing .hero.hero-media .hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
}

html.cropwise-landing .hero.hero-media .hero-tag {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}

html.cropwise-landing .hero.hero-media .hero-tag i {
    color: #A5D6A7;
}

html.cropwise-landing .section,
html.cropwise-landing .hero-slider-section {
    background-color: var(--bg-primary);
}

html.cropwise-landing .glass,
html.cropwise-landing .feature-card,
html.cropwise-landing .about-intro,
html.cropwise-landing .about-step,
html.cropwise-landing .pricing-card,
html.cropwise-landing .slide-illustration {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
}

html.cropwise-landing .section-label,
html.cropwise-landing .pricing-badge {
    background: var(--chip-bg);
    border-color: var(--brand-border);
    color: var(--chip-text);
}

html.cropwise-landing .btn-primary {
    background: var(--gradient-main);
    color: #FFFFFF;
    border-radius: 12px;
}

html.cropwise-landing .btn-ghost {
    background: var(--btn-ghost-bg);
    border-color: var(--btn-ghost-border);
    color: var(--btn-ghost-text);
}

html.cropwise-landing .feature-icon,
html.cropwise-landing .about-icon {
    background: var(--icon-surface-bg);
    border-color: var(--brand-border);
    color: var(--surface-accent);
}

html.cropwise-landing .premium-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-divider, rgba(27, 94, 32, 0.14));
}

/* ==========================================================================
   Landing motion + home scroll lock
   ========================================================================== */
html.cropwise-landing {
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
}

html.cropwise-landing body.landing-page {
    overscroll-behavior-y: none;
    overflow-x: hidden;
}

html.cropwise-landing body.landing-page.is-at-home {
    overscroll-behavior-y: none;
}

/* Exact viewport home — no empty room above to pull into */
html.cropwise-landing .hero.hero-media#home {
    min-height: 100dvh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden;
}

html.cropwise-landing .landing-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

html.cropwise-landing .landing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.35;
    animation: landingOrbFloat 14s ease-in-out infinite;
}

html.cropwise-landing .landing-orb--a {
    width: 280px;
    height: 280px;
    top: 12%;
    left: -6%;
    background: rgba(56, 142, 60, 0.35);
}

html.cropwise-landing .landing-orb--b {
    width: 340px;
    height: 340px;
    top: 48%;
    right: -10%;
    background: rgba(102, 187, 106, 0.28);
    animation-delay: -4s;
    animation-duration: 18s;
}

html.cropwise-landing .landing-orb--c {
    width: 220px;
    height: 220px;
    bottom: 8%;
    left: 35%;
    background: rgba(27, 94, 32, 0.22);
    animation-delay: -8s;
    animation-duration: 16s;
}

@keyframes landingOrbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(24px, -30px, 0) scale(1.08); }
}

html.cropwise-landing .hero-kenburns {
    animation: heroKenBurns 28s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes heroKenBurns {
    0% { transform: scale(1.03) translate3d(0, 0, 0); }
    100% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

html.cropwise-landing .hero-anim {
    opacity: 0;
    transform: translateY(28px);
    animation: heroRiseIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.cropwise-landing .hero-anim--1 { animation-delay: 0.12s; }
html.cropwise-landing .hero-anim--2 { animation-delay: 0.28s; }
html.cropwise-landing .hero-anim--3 { animation-delay: 0.44s; }
html.cropwise-landing .hero-anim--4 { animation-delay: 0.6s; }

@keyframes heroRiseIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html.cropwise-landing .hero-title-accent {
    background: linear-gradient(120deg, #ffffff 0%, #e8f5e9 45%, #a5d6a7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    text-shadow: none;
    animation: heroTitleShimmer 6s ease-in-out infinite;
    background-size: 180% 100%;
}

@keyframes heroTitleShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

html.cropwise-landing .hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

html.cropwise-landing .hero-scroll-cue.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(12px);
}

html.cropwise-landing .hero-scroll-cue__mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    position: relative;
}

html.cropwise-landing .hero-scroll-cue__mouse span {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 999px;
    background: #fff;
    animation: scrollCuePulse 1.6s ease-in-out infinite;
}

html.cropwise-landing .hero-scroll-cue__label {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}

@keyframes scrollCuePulse {
    0% { opacity: 1; transform: translateY(0); }
    70% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 0; transform: translateY(10px); }
}

html.cropwise-landing .feature-card,
html.cropwise-landing .about-step,
html.cropwise-landing .pricing-card,
html.cropwise-landing .landing-pillars .hero-tag {
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        opacity 0.55s ease;
}

html.cropwise-landing .feature-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 18px 40px rgba(27, 94, 32, 0.14);
}

html.cropwise-landing .feature-card .feature-icon {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}

html.cropwise-landing .feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-4deg);
}

html.cropwise-landing .about-step {
    position: relative;
}

html.cropwise-landing .about-step:hover {
    transform: translateX(6px);
}

html.cropwise-landing .pricing-card.featured:hover {
    transform: translateY(-6px);
}

html.cropwise-landing .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.cropwise-landing .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

html.cropwise-landing .hero.hero-media .hero-content.reveal,
html.cropwise-landing .hero.hero-media .hero-content.is-hero-reveal {
    opacity: 1 !important;
    transform: none !important;
}

html.cropwise-landing .nav-links a {
    position: relative;
    transition: color 0.25s ease, transform 0.25s ease;
}

html.cropwise-landing .nav-links a:hover {
    transform: translateY(-1px);
}

html.cropwise-landing .premium-nav {
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

html.cropwise-landing .premium-nav.scrolled {
    box-shadow: 0 8px 28px rgba(15, 46, 18, 0.08);
}

html.cropwise-landing .btn-magnetic {
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

html.cropwise-landing .btn-primary.btn-magnetic:hover {
    box-shadow: 0 12px 28px rgba(46, 125, 50, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    html.cropwise-landing .landing-orb,
    html.cropwise-landing .hero-kenburns,
    html.cropwise-landing .hero-anim,
    html.cropwise-landing .hero-title-accent,
    html.cropwise-landing .hero-scroll-cue__mouse span {
        animation: none !important;
    }

    html.cropwise-landing .hero-anim {
        opacity: 1;
        transform: none;
    }

    html.cropwise-landing .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 768px) {
    html.cropwise-landing .hero.hero-media#home {
        min-height: 100svh !important;
        height: 100svh !important;
        max-height: 100svh !important;
    }

    html.cropwise-landing .landing-orb--c {
        display: none;
    }

    html.cropwise-landing .hero-scroll-cue {
        bottom: 18px;
    }
}

