/* ============================================================
   TilthIQ Landing Page — Botanical Editorial Design System
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Warm greens (botanical, earthy) */
    --green-600: #2d7a4f;
    --green-700: #1e5e3a;
    --green-800: #14432a;
    --green-500: #3d9b66;
    --green-400: #5cb882;
    --green-300: #7fcf9e;
    --green-200: #a8e0be;
    --green-100: #e8f5ee;
    --green-50: #f0f7f2;

    /* Warm neutrals */
    --cream: #faf8f4;
    --cream-dark: #f0ede6;
    --sage: #f0f5f0;
    --bark: #3d3229;
    --soil: #5a4d40;
    --stone: #8a7e72;
    --pebble: #c4b9ab;

    /* Accent */
    --terracotta: #c4653a;
    --amber: #d4a03c;
    --sky: #5b9bd5;

    /* Legacy color mappings (used by inline styles in HTML) */
    --blue: #5b9bd5;
    --purple: #8b5cf6;
    --red: #c4653a;
    --orange: #d4a03c;
    --cyan: #5b9bd5;

    /* Semantic */
    --bg-primary: #ffffff;
    --bg-secondary: var(--sage);
    --bg-dark: var(--bark);
    --text-primary: var(--bark);
    --text-secondary: var(--soil);
    --text-muted: var(--stone);
    --border: var(--pebble);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1140px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 150ms var(--ease-out);
    --transition-base: 300ms var(--ease-out);
    --transition-slow: 500ms var(--ease-out);

    /* Shadows — subtle, warm */
    --shadow-sm: 0 1px 3px rgba(61,50,41,0.06);
    --shadow-md: 0 4px 8px rgba(61,50,41,0.06);
    --shadow-lg: 0 8px 24px rgba(61,50,41,0.08);
    --shadow-xl: 0 16px 40px rgba(61,50,41,0.10);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--soil);
    background: var(--bg-primary);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* --- Text Gradient (disabled — solid colors only) --- */
.text-gradient {
    color: var(--green-700);
}

/* --- Fade In Animation (subtler) --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVBAR — Clean white, no frosted glass
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
    background: rgba(255,255,255,0.0);
}

.navbar.scrolled {
    background: #ffffff;
    border-bottom: 1px solid var(--pebble);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--bark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--soil);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--green-600);
}

.nav-cta {
    background: var(--green-600) !important;
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
    background: var(--green-700) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--bark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ============================================================
   HERO — Cream background, clean layout
   ============================================================ */
.hero {
    position: relative;
    padding: 120px 0 40px;
    overflow: hidden;
    background: var(--cream);
}

/* Disable animated bg elements */
.hero-bg-elements {
    display: none;
}

.hero-circle,
.hero-circle-1,
.hero-circle-2,
.hero-circle-3,
.hero-grid-overlay {
    display: none;
}

/* Hero split layout (new editorial style) */
.hero-split {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1 1 55%;
}

.hero-image {
    flex: 1 1 45%;
}

.hero-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(61,50,41,0.12);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

/* Section background variants */
.section-dark {
    background: var(--bark);
    color: var(--cream);
}

.section-dark .section-heading,
.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
    color: white;
}

.section-dark .section-subtitle,
.section-dark p {
    color: var(--pebble);
}

.section-cream {
    background: var(--cream);
}

.section-sage {
    background: var(--sage);
}

/* Section headings — serif */
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bark);
    line-height: 1.15;
    margin-bottom: 16px;
}

/* Hero carousel */
.hero-carousel {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(61,50,41,0.12);
}

.hero-slide {
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide:first-child {
    position: relative;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Steps horizontal layout */
.steps-horizontal {
    display: flex;
    gap: 40px;
    position: relative;
}

.steps-horizontal::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--pebble);
    z-index: 0;
}

.steps-horizontal .step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.steps-horizontal .step-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-600);
    background: var(--sage);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--pebble);
}

.steps-horizontal .step h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--bark);
    margin-bottom: 8px;
}

.steps-horizontal .step p {
    font-size: 0.9rem;
    color: var(--soil);
    line-height: 1.6;
}

.steps-horizontal .step .step-visual {
    display: none;
}

/* Badge — simpler, no pulse dot */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--pebble);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green-700);
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green-500);
    border-radius: 50%;
    /* No pulse animation */
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--bark);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--soil);
    max-width: 640px;
    margin: 0 0 40px;
    line-height: 1.7;
}

.hero-subtitle em {
    display: block;
    font-style: italic;
    color: var(--green-700);
    font-size: 1.1em;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--green-600);
    color: white;
}

.btn-primary:hover {
    background: var(--green-700);
}

.btn-ghost {
    background: transparent;
    color: var(--soil);
    border: 1px solid var(--pebble);
}

.btn-ghost:hover {
    background: var(--cream);
    border-color: var(--stone);
}

.btn-outline {
    background: transparent;
    color: var(--green-600);
    border: 1px solid var(--green-600);
    padding: 12px 28px;
}

.btn-outline:hover {
    background: var(--green-50);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* --- Hero Stats --- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--bark);
    letter-spacing: -0.03em;
}

.stat-suffix {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-600);
}

.stat-icon {
    display: block;
    font-size: 1.5rem;
    color: var(--green-600);
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--stone);
    font-weight: 500;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--pebble);
}

/* --- Hero Mockup — No browser chrome --- */
.hero-mockup {
    max-width: 960px;
    margin: 0 auto;
}

.mockup-browser {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--pebble);
}

.mockup-browser:hover {
    /* No dramatic transform */
}

/* Hide browser chrome */
.browser-bar {
    display: none;
}

.browser-dots {
    display: none;
}

.browser-url {
    display: none;
}

.browser-content {
    padding: 0;
}

/* ============================================================
   SOCIAL PROOF — White background, italic text
   ============================================================ */
.social-proof {
    padding: 24px 0;
    background: white;
    border-top: 1px solid var(--pebble);
    border-bottom: 1px solid var(--pebble);
}

.social-proof-text {
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--soil);
    font-style: italic;
    margin-bottom: 24px;
}

.proof-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--soil);
}

.proof-item i {
    color: var(--green-600);
    font-size: 1rem;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-600);
    background: var(--green-50);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--bark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--soil);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   AI FEATURE SECTION — Dark (bark) background
   ============================================================ */
.ai-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bark);
    color: white;
    overflow: hidden;
}

.ai-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45,122,79,0.12) 0%, transparent 65%);
    top: -200px;
    left: -200px;
    pointer-events: none;
}

.ai-section .section-tag.ai-tag {
    background: rgba(93,184,130,0.15);
    color: var(--green-400);
}

.ai-section .section-title.ai-title {
    color: white;
}

.ai-section .section-subtitle.ai-subtitle {
    color: rgba(255,255,255,0.6);
}

.ai-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- Chat UI --- */
.ai-chat-ui {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(45,122,79,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background: var(--green-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.ai-name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: white;
}

.ai-status {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ai-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--green-400);
    border-radius: 50%;
}

.ai-mic-btn {
    margin-left: auto;
    width: 36px;
    height: 36px;
    background: var(--green-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    cursor: default;
}

.ai-chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 360px;
    overflow-y: auto;
}

.ai-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.ai-msg-user {
    background: var(--green-600);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-msg-bot {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.1);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ai-msg-bot strong {
    color: var(--green-300);
}

.ai-msg-bot-success {
    background: rgba(45,122,79,0.15);
    border-color: rgba(45,122,79,0.3);
}

.ai-chat-input {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.ai-input-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    padding: 10px 16px;
}

.ai-input-mic {
    color: var(--green-400);
}

.ai-input-placeholder {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
}

/* --- AI Command Examples --- */
.ai-commands-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
}

.ai-cmd {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.ai-cmd:hover {
    background: rgba(45,122,79,0.1);
    border-color: rgba(45,122,79,0.25);
    color: rgba(255,255,255,0.8);
}

.ai-cmd i {
    color: var(--green-400);
    font-size: 0.6875rem;
}

/* --- AI Visual Column --- */
.ai-visual-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-screenshot-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}

.ai-screenshot {
    width: 100%;
    display: block;
}

.ai-secondary-screenshot-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
}

.ai-secondary-screenshot {
    width: 100%;
    display: block;
}

.ai-caption {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 8px;
    line-height: 1.5;
}

.ai-caption i {
    color: var(--green-400);
    margin-right: 4px;
}

/* --- AI Real Screenshot Layout --- */
.ai-hero-img {
    margin-bottom: 32px;
}

.ai-screenshot-full {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}

.ai-web-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.ai-web-pair-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
}

.ai-img-caption {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
}

.ai-mobile-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.ai-mobile-phone {
    flex: 0 1 180px;
    text-align: center;
}

.ai-mobile-phone-tall {
    flex: 0 1 200px;
}

/* Stack the 3 shorter phones in a column next to the tall one */
.ai-mobile-phone:not(.ai-mobile-phone-tall) {
    /* handled by flex wrap below */
}

.ai-mobile-phone img {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .ai-web-pair {
        grid-template-columns: 1fr;
    }

    .ai-mobile-row {
        flex-wrap: wrap;
        gap: 16px;
    }

    .ai-mobile-phone {
        flex: 0 1 140px;
    }

    .ai-mobile-phone-tall {
        flex: 0 1 160px;
    }
}

/* --- Phone Carousel --- */
.phone-carousel {
    width: 260px;
    margin: 40px auto;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(61,50,41,0.15);
    border: 3px solid var(--bark);
    background: #000;
}

.phone-slide {
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.phone-slide:first-child {
    position: relative;
}

.phone-slide.active {
    opacity: 1;
    z-index: 1;
}

@media (max-width: 768px) {
    .phone-carousel {
        width: 200px;
    }
}

/* --- Feature Banner (Gantt image spanning cards) --- */
.feature-card-banner {
    grid-column: 1 / -1;
    background: white;
    border: 1px solid var(--pebble);
    border-radius: 12px;
    overflow: hidden;
}

.feature-banner-img {
    width: 100%;
    border-bottom: 1px solid var(--pebble);
}

.feature-banner-img img {
    width: 100%;
    display: block;
}

.feature-banner-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.feature-banner-cards-2 {
    grid-template-columns: repeat(2, 1fr);
}

.feature-banner-cards .feature-card {
    border: none;
    border-radius: 0;
    border-right: 1px solid var(--pebble);
    box-shadow: none;
}

.feature-banner-cards .feature-card:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .feature-banner-cards {
        grid-template-columns: 1fr;
    }

    .feature-banner-cards .feature-card {
        border-right: none;
        border-bottom: 1px solid var(--pebble);
    }

    .feature-banner-cards .feature-card:last-child {
        border-bottom: none;
    }
}

/* --- Succession Planner Visual Story --- */
.feature-card-story {
    grid-column: 1 / -1;
    background: white;
    border: 1px solid var(--pebble);
    border-radius: 12px;
    padding: 32px;
    overflow: hidden;
}

.feature-story-header {
    margin-bottom: 32px;
}

.feature-story-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--bark);
    margin: 12px 0 8px;
}

.feature-story-header p {
    color: var(--soil);
    max-width: 800px;
    line-height: 1.6;
}

.feature-story-row {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    align-items: flex-start;
}

.feature-story-row img {
    width: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid var(--pebble);
}

.feature-story-img-full {
    flex: 1 1 100%;
}

.feature-story-img-wide {
    flex: 1 1 68%;
}

.feature-story-img-narrow {
    flex: 0 0 22%;
}

.feature-story-img-mid {
    flex: 0 0 38%;
}

.feature-story-img-phone {
    flex: 0 0 180px;
}

.feature-story-img-phone img {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.feature-story-caption {
    font-size: 0.875rem;
    color: var(--soil);
    line-height: 1.5;
    margin-bottom: 28px;
    padding-left: 4px;
}

.feature-story-caption strong {
    color: var(--green-700);
    font-size: 1rem;
}

.feature-story-row-mobile {
    align-items: flex-start;
    gap: 32px;
}

.feature-story-text {
    flex: 1 1 60%;
}

@media (max-width: 768px) {
    .feature-story-row {
        flex-direction: column;
    }

    .feature-story-img-narrow,
    .feature-story-img-mid {
        flex: none;
        max-width: 280px;
        margin: 0 auto;
    }

    .feature-story-row-mobile {
        flex-direction: column;
    }

    .feature-story-img-phone {
        flex: none;
        width: 180px;
        margin: 0 auto;
    }
}

/* ============================================================
   FEATURES GRID — White background
   ============================================================ */
.features {
    padding: var(--section-padding) 0;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    border: 1px solid var(--pebble);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color var(--transition-base);
}

.feature-card:hover {
    border-color: var(--green-500);
}

.feature-card-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0;
    overflow: hidden;
}

.feature-card-large .feature-card-content {
    padding: 48px 48px 48px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card-visual {
    background: var(--green-800);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-100);
    color: var(--green-600);
    border-radius: 50%;
    font-size: 1rem;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bark);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--soil);
    line-height: 1.65;
}

.feature-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--soil);
}

.feature-list li i {
    color: var(--green-600);
    font-size: 0.75rem;
}

/* --- Feature Card Screenshots --- */
.feature-card-visual-img {
    background: none;
    padding: 0;
    overflow: hidden;
}

/* Garden Map — table-style: hero image full width on top, text + mobile below */
.feature-card-map {
    grid-column: 1 / -1;
    background: white;
    border: 1px solid var(--pebble);
    border-radius: 12px;
    overflow: hidden;
}

.feature-map-top {
    width: 100%;
}

.feature-map-hero {
    width: 100%;
    display: block;
}

.feature-map-bottom {
    display: flex;
    gap: 32px;
    padding: 32px;
    align-items: flex-start;
}

.feature-map-text {
    flex: 1 1 60%;
}

.feature-map-mobile {
    flex: 0 0 220px;
    text-align: center;
}

.feature-map-mobile-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .feature-map-bottom {
        flex-direction: column;
    }

    .feature-map-mobile {
        flex: none;
        width: 180px;
        margin: 0 auto;
    }
}

.feature-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-card-large-reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-card-large-reverse .feature-card-content.feature-card-content-right {
    padding: 40px 0 40px 40px;
    order: -1;
}

.feature-card-large-reverse .feature-card-visual-img {
    order: 1;
}

.feature-card-visual-mobile {
    display: flex;
    gap: 12px;
    padding: 24px;
    background: var(--green-800);
    align-items: flex-start;
}

.feature-screenshot-mobile {
    width: calc(50% - 6px);
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.feature-screenshot-mobile-2 {
    margin-top: 24px;
}

/* --- Feature card with image at top --- */
.feature-card-with-img {
    padding: 0;
    overflow: hidden;
}

.feature-card-img-wrap {
    height: 160px;
    overflow: hidden;
}

.feature-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.feature-card-with-img .feature-icon,
.feature-card-with-img h3,
.feature-card-with-img p,
.feature-card-with-img .feature-list {
    padding-left: 32px;
    padding-right: 32px;
}

.feature-card-with-img .feature-icon {
    margin-top: 24px;
    margin-bottom: 16px;
}

.feature-card-with-img .feature-list {
    padding-bottom: 32px;
}

/* --- Mini Gantt in Feature Card --- */
.feature-mini-visual {
    margin-top: 20px;
}

.mini-gantt {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mini-gantt-bar {
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.mini-gantt-bar span {
    font-size: 0.6875rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* --- Lifecycle Stages --- */
.lifecycle-stages {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.stage {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: white;
}

.stage-arrow {
    color: var(--pebble);
    font-size: 0.5rem;
}

.stage-planned { background: var(--stone); }
.stage-germ { background: var(--amber); }
.stage-sprout { background: var(--green-500); }
.stage-harden { background: var(--terracotta); }
.stage-transplant { background: var(--sky); }
.stage-ground { background: var(--green-700); }
.stage-harvest { background: var(--terracotta); }
.stage-done { background: var(--soil); }

/* Succession example */
.succession-example {
    background: var(--green-50);
    border: 1px solid var(--green-200);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 16px 0;
}

.succ-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green-700);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.succ-title i {
    color: var(--amber);
    margin-right: 4px;
}

.succ-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    font-size: 0.8125rem;
}

.succ-date {
    font-weight: 700;
    color: var(--green-700);
    width: 50px;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.succ-action {
    color: var(--soil);
}

.succ-step-next .succ-action {
    color: var(--green-600);
    font-weight: 600;
}

/* Feature icon color variants */
.feature-icon-amber {
    background: rgba(212,160,60,0.15) !important;
    color: var(--amber) !important;
}

.feature-icon-blue {
    background: rgba(91,155,213,0.15) !important;
    color: var(--sky) !important;
}

.feature-icon-purple {
    background: rgba(139,92,246,0.12) !important;
    color: #8b5cf6 !important;
}

/* PWA badge */
.pwa-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--green-50);
    border: 1px solid var(--green-200);
    color: var(--green-700);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-top: 16px;
}

.pwa-badge i {
    color: var(--green-600);
}

/* ============================================================
   HOW IT WORKS — Sage background
   ============================================================ */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--sage);
}

.steps {
    display: flex;
    flex-direction: row;
    gap: 0;
    position: relative;
    align-items: flex-start;
}

/* Horizontal connecting line */
.steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--pebble);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0 16px;
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-600);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    background: var(--sage);
    padding: 0 12px;
    line-height: 1.2;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bark);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--soil);
    line-height: 1.65;
    max-width: 260px;
    margin: 0 auto;
}

.step-visual {
    margin-top: 20px;
}

.step-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-100);
    color: var(--green-600);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
}

/* ============================================================
   SHOWCASE / TABS — White background
   ============================================================ */
.showcase {
    padding: var(--section-padding) 0;
    background: white;
}

.showcase .section-tag {
    background: var(--green-50);
    color: var(--green-600);
}

.showcase .section-title {
    color: var(--bark);
}

.showcase .section-subtitle {
    color: var(--soil);
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 48px;
    background: var(--cream);
    padding: 4px;
    border-radius: 100px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.showcase-tab {
    padding: 10px 20px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--stone);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.showcase-tab:hover {
    color: var(--bark);
}

.showcase-tab.active {
    background: var(--green-600);
    color: white;
}

.showcase-panel {
    display: none;
}

.showcase-panel.active {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
    animation: fadeTab 0.4s var(--ease-out);
}

@keyframes fadeTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.showcase-description h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bark);
    margin-bottom: 12px;
}

.showcase-description p {
    font-size: 1rem;
    color: var(--soil);
    line-height: 1.7;
}

/* --- Showcase Screen --- */
.showcase-screen {
    border-radius: var(--radius-lg);
    border: 1px solid var(--pebble);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.showcase-screen-img {
    background: none !important;
    border: 1px solid var(--pebble) !important;
    overflow: hidden;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl);
}

.showcase-mockup .showcase-screen-img {
    background: transparent;
    box-shadow: var(--shadow-xl);
}

.showcase-mockup-mobile-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.showcase-mobile-screen {
    flex: 1;
}

.showcase-ai-examples {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.showcase-ai-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-50);
    border: 1px solid var(--green-200);
    color: var(--green-700);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
}

.showcase-ai-chip i {
    color: var(--green-600);
}

.mobile-feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.mobile-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cream);
    border: 1px solid var(--pebble);
    color: var(--soil);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.mobile-tag i {
    color: var(--green-600);
    font-size: 0.75rem;
}

/* Legacy screen mockup elements */
.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--cream);
    border-bottom: 1px solid var(--pebble);
    font-size: 0.8125rem;
    font-weight: 600;
}

.sh-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bark);
}

.sh-left i {
    color: var(--green-600);
}

.sh-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zone-badge, .weather-badge, .tool-badge {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    background: var(--cream-dark);
    color: var(--stone);
}

.zone-badge { color: var(--green-600); }
.weather-badge { color: var(--amber); }
.active-badge { background: var(--green-50); color: var(--green-600); }

.screen-body {
    padding: 16px;
}

.screen-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.screen-stat {
    background: var(--cream);
    border: 1px solid var(--pebble);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.screen-stat strong {
    font-size: 1.25rem;
    color: var(--bark);
}

.screen-stat small {
    font-size: 0.625rem;
    color: var(--stone);
}

.screen-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.screen-panel {
    background: var(--cream);
    border: 1px solid var(--pebble);
    border-radius: 8px;
    padding: 12px;
}

.sp-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bark);
    margin-bottom: 8px;
}

.sp-header i {
    margin-right: 4px;
    color: var(--green-600);
}

.sp-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sp-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    color: var(--stone);
}

.sp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sp-dot.green { background: var(--green-500); }
.sp-dot.blue { background: var(--sky); }
.sp-dot.amber { background: var(--amber); }
.sp-dot.red { background: var(--terracotta); }

/* --- Map Canvas Preview --- */
.screen-body-map {
    padding: 0;
    height: 280px;
    position: relative;
    background:
        linear-gradient(var(--cream-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--cream-dark) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-canvas-preview {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 16px;
}

.mcp-block {
    position: absolute;
    background: var(--cream);
    border: 1px solid var(--pebble);
    border-radius: 8px;
    padding: 10px;
    width: 130px;
}

.mcp-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--bark);
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.mcp-label small {
    color: var(--stone);
    font-weight: 500;
}

.mcp-bar {
    height: 6px;
    background: var(--cream-dark);
    border-radius: 3px;
    overflow: hidden;
}

.mcp-fill {
    height: 100%;
    background: var(--green-500);
    border-radius: 3px;
}

.mcp-containers {
    position: absolute;
    font-size: 0.6875rem;
    color: var(--stone);
}

.mcp-containers i {
    color: var(--amber);
    margin-right: 4px;
}

/* --- Planner Timeline Preview --- */
.planner-timeline {
    background: var(--cream);
    border-radius: 8px;
    border: 1px solid var(--pebble);
    padding: 12px;
}

.pt-months {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--pebble);
    padding-bottom: 8px;
}

.pt-months span {
    flex: 1;
    text-align: center;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--stone);
}

.pt-months .current {
    color: var(--green-600);
}

.pt-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pt-row {
    display: flex;
    align-items: center;
    position: relative;
    height: 22px;
}

.pt-label {
    width: 65px;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--stone);
    flex-shrink: 0;
}

.pt-bar {
    position: absolute;
    height: 16px;
    border-radius: 4px;
    display: flex;
    overflow: hidden;
}

.pt-seg {
    flex: 1;
}

.seg-germ { background: var(--amber); flex: 0.8; }
.seg-indoor { background: var(--sky); flex: 1; }
.seg-harden { background: var(--terracotta); flex: 0.5; }
.seg-grow { background: var(--green-600); flex: 2; }
.seg-harvest { background: var(--terracotta); flex: 0.8; }

.pt-now-line {
    position: absolute;
    left: calc(65px + 22%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--pebble);
}

.pt-now-line::before {
    content: 'Today';
    position: absolute;
    top: -18px;
    left: -12px;
    font-size: 0.5rem;
    color: var(--stone);
    font-weight: 600;
}

/* --- Task List Preview --- */
.task-list-preview {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.task-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--cream);
    border: 1px solid var(--pebble);
    border-radius: 6px;
    font-size: 0.75rem;
}

.task-row.overdue {
    border-color: rgba(196,101,58,0.3);
    background: rgba(196,101,58,0.05);
}

.task-check {
    color: var(--stone);
}

.task-type-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.task-type-badge.water { background: rgba(91,155,213,0.15); color: var(--sky); }
.task-type-badge.fertilize { background: rgba(212,160,60,0.15); color: var(--amber); }
.task-type-badge.pest { background: rgba(196,101,58,0.15); color: var(--terracotta); }
.task-type-badge.harvest { background: rgba(45,122,79,0.15); color: var(--green-600); }
.task-type-badge.prune { background: rgba(139,92,246,0.15); color: #8b5cf6; }

.task-plant {
    flex: 1;
    color: var(--soil);
}

.task-info-icon {
    color: var(--stone);
}

.task-overdue {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--terracotta);
}

.task-bulk-bar {
    display: flex;
    gap: 8px;
}

.task-bulk-btn {
    flex: 1;
    padding: 6px 12px;
    background: var(--green-50);
    border: 1px solid var(--green-200);
    border-radius: 6px;
    color: var(--green-600);
    font-size: 0.6875rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: default;
}

/* --- Seed Grid Preview --- */
.seed-grid-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.seed-card-preview {
    background: var(--cream);
    border: 1px solid var(--pebble);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.scp-img {
    width: 40px;
    height: 50px;
    background: var(--cream-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.scp-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.scp-info strong {
    font-size: 0.75rem;
    color: var(--bark);
}

.scp-info small {
    font-size: 0.625rem;
    color: var(--stone);
}

.seed-status {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.5625rem;
    font-weight: 700;
    margin-top: 2px;
    width: fit-content;
}

.seed-status.new { background: rgba(45,122,79,0.12); color: var(--green-600); }
.seed-status.open { background: rgba(91,155,213,0.12); color: var(--sky); }
.seed-status.low { background: rgba(212,160,60,0.12); color: var(--amber); }

/* --- Map Preview in Feature Card --- */
.map-preview {
    position: relative;
    width: 100%;
    height: 280px;
}

.map-block {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 8px;
    width: 140px;
}

.map-block-header {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.map-block-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
}

.spot {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
}

.spot.filled {
    background: var(--green-500);
    border-color: var(--green-400);
}

.map-tooltip {
    position: absolute;
    bottom: 10%;
    right: 5%;
    background: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--soil);
    box-shadow: var(--shadow-lg);
    line-height: 1.5;
}

.tooltip-status {
    color: var(--green-600);
    font-weight: 500;
}

/* --- Mock Dashboard (legacy) --- */
.mock-dashboard {
    display: flex;
    min-height: 380px;
}

.mock-sidebar {
    width: 52px;
    background: var(--green-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 4px;
}

.mock-nav-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.mock-nav-item.active {
    background: rgba(255,255,255,0.15);
    color: white;
}

.mock-main {
    flex: 1;
    padding: 20px 24px;
    background: var(--cream);
}

.mock-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mock-greeting {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--bark);
}

.mock-subtitle {
    font-size: 0.8125rem;
    color: var(--stone);
    margin-top: 2px;
}

.mock-weather {
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--amber);
    box-shadow: var(--shadow-sm);
}

.mock-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mock-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid transparent;
}

.mock-card-green { border-left-color: var(--green-500); }
.mock-card-blue { border-left-color: var(--sky); }
.mock-card-amber { border-left-color: var(--amber); }
.mock-card-purple { border-left-color: #8b5cf6; }

.mock-card-icon {
    font-size: 0.75rem;
    margin-bottom: 6px;
    opacity: 0.5;
}

.mock-card-green .mock-card-icon { color: var(--green-500); }
.mock-card-blue .mock-card-icon { color: var(--sky); }
.mock-card-amber .mock-card-icon { color: var(--amber); }
.mock-card-purple .mock-card-icon { color: #8b5cf6; }

.mock-card-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bark);
    line-height: 1;
}

.mock-card-label {
    font-size: 0.6875rem;
    color: var(--stone);
    margin-top: 4px;
}

.mock-gantt {
    background: white;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
}

.mock-gantt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--bark);
}

.mock-gantt-months {
    display: flex;
    gap: 16px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--stone);
}

.mock-gantt-months .active {
    color: var(--green-600);
    font-weight: 700;
}

.mock-gantt-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-gantt-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-gantt-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--stone);
    width: 70px;
    flex-shrink: 0;
}

.mock-gantt-bar {
    height: 14px;
    border-radius: 4px;
    flex: 1;
}

/* ============================================================
   COMPARISON TABLE — Cream background
   ============================================================ */
.comparison {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--pebble);
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    text-align: left;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--cream-dark);
}

.comparison-table thead th {
    background: var(--cream);
    font-weight: 700;
    color: var(--bark);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--pebble);
}

.comparison-table td {
    color: var(--soil);
}

.highlight-col {
    background: var(--green-50) !important;
    color: var(--green-800) !important;
    font-weight: 600;
}

.comparison-table thead .highlight-col {
    background: var(--green-100) !important;
    color: var(--green-800) !important;
}

.check { color: var(--green-600); font-size: 1rem; }
.cross { color: var(--stone); font-size: 1rem; }

.score-row td {
    border-bottom: none;
    padding-top: 20px;
    font-size: 0.9375rem;
}

.score-highlight {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--green-600) !important;
}

/* ============================================================
   USE CASES — White background
   ============================================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: white;
}

.use-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.use-case {
    text-align: center;
    padding: 40px 32px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--pebble);
    transition: border-color var(--transition-base);
}

.use-case:hover {
    border-color: var(--green-500);
}

.use-case-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-100);
    color: var(--green-600);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.use-case h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bark);
    margin-bottom: 8px;
}

.use-case p {
    font-size: 0.9375rem;
    color: var(--soil);
    line-height: 1.65;
}

/* Use cases 4-column */
.use-cases-grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap {
    padding: var(--section-padding) 0;
    background: white;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.roadmap-item {
    background: white;
    border: 1px solid var(--pebble);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition-base);
}

.roadmap-item:hover {
    border-color: var(--green-500);
}

.roadmap-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.roadmap-status.in-progress {
    background: rgba(45,122,79,0.1);
    color: var(--green-600);
}

.roadmap-status.planned {
    background: rgba(91,155,213,0.1);
    color: var(--sky);
}

.roadmap-status.future {
    background: rgba(139,92,246,0.1);
    color: #8b5cf6;
}

.roadmap-item h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--bark);
    margin-bottom: 6px;
}

.roadmap-item h3 i {
    margin-right: 6px;
    color: var(--green-600);
}

.roadmap-item p {
    font-size: 0.875rem;
    color: var(--soil);
    line-height: 1.6;
}

/* ============================================================
   PRICING — Sage background
   ============================================================ */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--sage);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid var(--pebble);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
}

.pricing-card-featured {
    border-color: var(--green-600);
    border-top: 3px solid var(--green-600);
    transform: scale(1.02);
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-600);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-tier {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bark);
    margin-bottom: 8px;
}

.pricing-price {
    margin-bottom: 8px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--bark);
    letter-spacing: -0.04em;
}

.price-period {
    font-size: 1rem;
    color: var(--stone);
    font-weight: 500;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--soil);
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--soil);
}

.pricing-features li i {
    color: var(--green-600);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* --- Billing Toggle --- */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.billing-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--bark);
    transition: opacity var(--transition-fast);
}

.billing-save {
    display: inline-block;
    background: var(--green-600);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 6px;
    vertical-align: middle;
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--pebble);
    border-radius: 100px;
    transition: background var(--transition-fast);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 4px;
    left: 4px;
    transition: transform var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--green-600);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

/* 3-column pricing grid */
.pricing-cards-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 1100px !important;
    gap: 24px !important;
}

/* Feature comparison table in pricing */
.pricing-compare-wrap {
    margin-top: 64px;
}

.pricing-compare-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bark);
    margin-bottom: 24px;
}

.pricing-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--pebble);
    background: white;
}

.pricing-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.pricing-compare-table th,
.pricing-compare-table td {
    padding: 12px 20px;
    text-align: center;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--cream-dark);
}

.pricing-compare-table th:first-child,
.pricing-compare-table td:first-child {
    text-align: left;
}

.pricing-compare-table thead th {
    background: var(--cream);
    font-weight: 700;
    color: var(--bark);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--pebble);
}

.pricing-compare-table td {
    color: var(--soil);
}

.pricing-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.pcol-pro {
    background: var(--green-50) !important;
    color: var(--green-800) !important;
}

.pricing-compare-table thead .pcol-pro {
    background: var(--green-100) !important;
    color: var(--green-800) !important;
}

/* ============================================================
   FINAL CTA — Dark (bark) background
   ============================================================ */
.final-cta {
    padding: var(--section-padding) 0;
    background: var(--bark);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.signup-form {
    max-width: 480px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.form-input {
    flex: 1;
    min-width: 260px;
    max-width: 380px;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-input::placeholder {
    color: rgba(255,255,255,0.35);
}

.form-input:focus {
    border-color: var(--green-400);
    background: rgba(255,255,255,0.12);
}

.form-note {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* ============================================================
   FOOTER — Dark (bark) background
   ============================================================ */
.footer {
    padding: 80px 0 40px;
    background: var(--bark);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.45);
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--green-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 32px;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.35);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255,255,255,0.4);
    font-size: 1.125rem;
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--green-400);
}

/* ============================================================
   RESPONSIVE — Desktop-first overrides
   ============================================================ */
@media (min-width: 1025px) {
    .feature-card-large-reverse {
        grid-column: span 3;
    }
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-column: span 2;
    }

    .ai-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-secondary-screenshot-wrap {
        display: none;
    }

    .use-cases-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .pricing-cards-3 {
        grid-template-columns: 1fr !important;
        max-width: 480px !important;
    }

    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    /* Steps go vertical on tablet */
    .steps {
        flex-direction: column;
    }

    .steps::before {
        top: 0;
        bottom: 0;
        left: 30px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 24px 0;
    }

    .step-number {
        background: var(--sage);
        width: 60px;
        flex-shrink: 0;
        text-align: center;
    }

    .step-content p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-split {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        flex: 1 1 100%;
    }

    .hero-image {
        flex: 1 1 100%;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .steps-horizontal {
        flex-direction: column;
        gap: 32px;
    }

    .steps-horizontal::before {
        display: none;
    }
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 280px;
        background: white;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 8px;
        box-shadow: -8px 0 32px rgba(0,0,0,0.1);
        transition: right var(--transition-base);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.125rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .mock-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .mock-sidebar {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .feature-card-large .feature-card-visual-img {
        height: 240px;
    }

    .feature-card-large .feature-card-content,
    .feature-card-large-reverse .feature-card-content.feature-card-content-right {
        padding: 32px;
        order: 1;
    }

    /* Steps — simpler vertical */
    .steps {
        flex-direction: column;
    }

    .steps::before {
        display: none;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 20px 0;
    }

    .step-number {
        width: auto;
    }

    .showcase-tabs {
        flex-wrap: wrap;
        border-radius: var(--radius-lg);
    }

    .showcase-panel.active {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .showcase-mockup-mobile-row {
        flex-direction: column;
    }

    .screen-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .screen-panels {
        grid-template-columns: 1fr;
    }

    .seed-grid-preview {
        grid-template-columns: 1fr;
    }

    .comparison-table-wrap {
        margin: 0 -24px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .use-cases {
        grid-template-columns: 1fr;
    }

    .use-cases-grid-4 {
        grid-template-columns: 1fr !important;
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hide-mobile {
        display: none;
    }
}

@media (max-width: 640px) {
    .showcase-tabs {
        max-width: 100% !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px;
        border-radius: 100px;
    }

    .showcase-tabs::-webkit-scrollbar {
        display: none;
    }

    .showcase-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .hide-mobile { display: none; }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .mock-cards {
        grid-template-columns: 1fr;
    }

    .task-plant {
        display: none;
    }

    .proof-items {
        flex-direction: column;
        gap: 16px;
    }
}
