/* ==========================================
   CONTAFUL LANDING - STYLES v4.0
   Inspired by Clause / Modern Clean Design
   Brand Colors: #004838, #E2FB6C, #073127, #333F3C, #EBEDE8
   ========================================== */

/* ==========================================
   CSS VARIABLES - Brand Palette
   ========================================== */
:root {
    /* Brand Colors */
    --brand-primary: #004838;
    --brand-primary-light: #00664f;
    --brand-primary-dark: #003626;
    --brand-accent: #E2FB6C;
    --brand-accent-hover: #d4f050;
    --brand-dark: #073127;
    --brand-gray: #333F3C;
    --brand-light: #EBEDE8;
    --brand-cream: #f5f5f0;
    --brand-cream-dark: #e8e8e0;
    --brand-lighter: #fafaf8;
    
    /* shadcn/ui mapped to brand */
    --background: 60 6% 97%;
    --foreground: 162 100% 14%;
    --card: 60 6% 96%;
    --card-foreground: 162 100% 14%;
    --popover: 60 6% 96%;
    --popover-foreground: 162 100% 14%;
    --primary: 162 100% 14%;
    --primary-foreground: 60 6% 97%;
    --secondary: 60 6% 92%;
    --secondary-foreground: 162 100% 14%;
    --muted: 60 6% 92%;
    --muted-foreground: 162 10% 35%;
    --accent: 73 94% 70%;
    --accent-foreground: 162 100% 14%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    --border: 60 6% 88%;
    --input: 60 6% 88%;
    --ring: 162 100% 14%;
    --radius: 1rem;
    
    /* Gradients */
    --gradient-hero: linear-gradient(180deg, var(--brand-lighter) 0%, var(--brand-cream) 100%);
    --gradient-primary: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    --gradient-dark: linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-primary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-hover) 100%);
    
    /* Shadows - softer */
    --shadow-sm: 0 1px 2px 0 rgb(0 72 56 / 0.04);
    --shadow: 0 1px 3px 0 rgb(0 72 56 / 0.06), 0 1px 2px -1px rgb(0 72 56 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(0 72 56 / 0.06), 0 2px 4px -2px rgb(0 72 56 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 72 56 / 0.06), 0 4px 6px -4px rgb(0 72 56 / 0.06);
    --shadow-xl: 0 20px 25px -5px rgb(0 72 56 / 0.06), 0 8px 10px -6px rgb(0 72 56 / 0.06);
    --shadow-2xl: 0 25px 50px -12px rgb(0 72 56 / 0.15);
    --shadow-accent: 0 8px 30px -5px rgb(226 251 108 / 0.4);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --section-padding: 6rem;
    --container-max: 1200px;
}

/* ==========================================
   BASE RESET
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--brand-primary);
    background: var(--brand-lighter);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.underline-accent {
    position: relative;
    display: inline;
}

.underline-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.1em;
    height: 0.3em;
    background: var(--brand-accent);
    z-index: -1;
    border-radius: 2px;
}

/* ==========================================
   ICONS
   ========================================== */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(250, 250, 248, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 72, 56, 0.06);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(250, 250, 248, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
}

/* Navigation Links */
.nav-links {
    display: none;
    list-style: none;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    text-decoration: none;
    color: var(--brand-gray);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: calc(var(--radius) - 0.5rem);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary);
    background: var(--brand-cream);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-actions .btn-primary {
    display: none;
}

@media (min-width: 640px) {
    .nav-actions .btn-primary {
        display: inline-flex;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.375rem;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 4px;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.menu-line {
    display: block;
    width: 1.125rem;
    height: 2px;
    background: var(--brand-primary);
    border-radius: 1px;
    transition: all var(--transition-base);
}

.mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu */
@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        top: 4.5rem;
        left: 0;
        right: 0;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0, 72, 56, 0.08);
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.125rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-slow);
    }

    .nav-links.mobile-open {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
    }
}

/* ==========================================
   BUTTONS - Brand Style
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    border-radius: calc(var(--radius) - 0.5rem);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--brand-primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-accent {
    background: var(--brand-accent);
    color: var(--brand-primary);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    background: var(--brand-accent-hover);
    box-shadow: 0 12px 35px -5px rgb(226 251 108 / 0.5);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border-color: rgba(0, 72, 56, 0.2);
    color: var(--brand-primary);
}

.btn-outline:hover {
    background: var(--brand-cream);
    border-color: rgba(0, 72, 56, 0.3);
}

.btn-light {
    background: white;
    color: var(--brand-primary);
    box-shadow: var(--shadow);
}

.btn-light:hover {
    background: var(--brand-lighter);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(226, 251, 108, 0.4);
    color: var(--brand-accent);
}

.btn-outline-light:hover {
    background: var(--brand-accent);
    color: var(--brand-primary);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-icon {
    width: 1rem;
    height: 1rem;
}

/* ==========================================
   HERO SECTION - Clean Style with Mockup
   ========================================== */
.hero {
    position: relative;
    padding: 8rem 1.5rem 4rem;
    overflow: hidden;
    background: var(--brand-lighter);
}

@media (min-width: 768px) {
    .hero {
        padding: 10rem 2rem 6rem;
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hero-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 4rem;
    }
}

.hero-content {
    max-width: 540px;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--brand-cream);
    border: 1px solid rgba(0, 72, 56, 0.08);
    border-radius: calc(var(--radius) * 2);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-gray);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-badge svg {
    color: var(--brand-primary);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--brand-primary);
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-description {
    font-size: 1rem;
    color: var(--brand-gray);
    max-width: 480px;
    margin: 0 auto 1.75rem;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

/* Hero Dashboard Image */
.hero-dashboard {
    width: 100%;
    max-width: 700px;
}

@media (min-width: 1024px) {
    .hero-dashboard {
        max-width: 640px;
    }
}

.dashboard-container {
    position: relative;
}

.dashboard-browser {
    background: white;
    border: 1px solid rgba(0, 72, 56, 0.1);
    border-radius: calc(var(--radius) - 0.25rem);
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(0, 72, 56, 0.03),
        0 25px 60px -20px rgba(0, 72, 56, 0.25),
        0 50px 100px -30px rgba(0, 72, 56, 0.15);
}

.browser-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--brand-cream);
    border-bottom: 1px solid rgba(0, 72, 56, 0.06);
}

.browser-dots {
    display: flex;
    gap: 0.375rem;
}

.browser-dots span {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.dashboard-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--brand-lighter);
}

.dashboard-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.dashboard-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--brand-accent);
    border-radius: calc(var(--radius) - 0.5rem);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px -2px rgba(226, 251, 108, 0.4);
}

.demo-badge svg {
    width: 0.875rem;
    height: 0.875rem;
}

.dashboard-shadow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(0, 72, 56, 0.15) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
}

/* ==========================================
   SECTION STYLES
   ========================================== */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .section-container {
        padding: 0 2rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: var(--brand-accent);
    border-radius: calc(var(--radius) * 2);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.section-tag svg {
    width: 0.875rem;
    height: 0.875rem;
}

.section-tag.outline {
    background: transparent;
    border: 1px solid var(--brand-accent);
}

.section-tag.light {
    background: var(--brand-cream);
    color: var(--brand-gray);
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

.section-header p {
    font-size: 1rem;
    color: var(--brand-gray);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================
   FEATURES SECTION - Card Style
   ========================================== */
.features-section {
    padding: var(--section-padding) 0;
    background: white;
}

.features-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: var(--brand-cream);
    border: 1px solid rgba(0, 72, 56, 0.06);
    border-radius: calc(var(--radius) - 0.25rem);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: rgba(0, 72, 56, 0.12);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.feature-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border: 1px solid rgba(0, 72, 56, 0.08);
    border-radius: calc(var(--radius) - 0.375rem);
    margin-bottom: 1rem;
}

.feature-icon-wrapper .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-primary);
}

.feature-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.8125rem;
    color: var(--brand-gray);
    line-height: 1.6;
}

/* ==========================================
   ABOUT SECTION - Dark Green
   ========================================== */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--brand-dark);
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-content .section-tag {
    background: rgba(226, 251, 108, 0.15);
    color: var(--brand-accent);
    border: 1px solid rgba(226, 251, 108, 0.25);
}

.about-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .about-content h2 {
        font-size: 2rem;
    }
}

.about-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-content p:last-of-type {
    margin-bottom: 2.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .about-stats {
        gap: 1.5rem;
    }
}

.stat-item {
    text-align: center;
    padding: 1.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(226, 251, 108, 0.15);
    border-radius: calc(var(--radius) - 0.25rem);
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(226, 251, 108, 0.3);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-accent);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.375rem;
}

@media (min-width: 640px) {
    .stat-number {
        font-size: 1.875rem;
    }
}

.stat-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ==========================================
   DETAILED FEATURES
   ========================================== */
.detailed-features {
    padding: var(--section-padding) 0;
    background: var(--brand-lighter);
}

.feature-row {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .feature-row {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        margin-bottom: 5rem;
    }

    .feature-row.reverse .feature-text {
        order: 2;
    }
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--brand-accent);
    color: var(--brand-primary);
    border-radius: calc(var(--radius) * 2);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.875rem;
}

.feature-text h3 {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--brand-primary);
    margin-bottom: 0.875rem;
}

@media (min-width: 768px) {
    .feature-text h3 {
        font-size: 1.625rem;
    }
}

.feature-text p {
    font-size: 0.9375rem;
    color: var(--brand-gray);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--brand-primary);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    background: var(--brand-accent);
    color: var(--brand-primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.check-icon svg {
    width: 0.625rem;
    height: 0.625rem;
}

/* Feature Visuals */
.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 360px;
    background: white;
    border: 1px solid rgba(0, 72, 56, 0.08);
    border-radius: calc(var(--radius) - 0.25rem);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: var(--brand-cream);
    border-bottom: 1px solid rgba(0, 72, 56, 0.06);
}

.visual-dots {
    display: flex;
    gap: 0.375rem;
}

.visual-dots span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(0, 72, 56, 0.2);
}

.visual-dots span:first-child {
    background: #ff5f57;
}

.visual-dots span:nth-child(2) {
    background: #ffbd2e;
}

.visual-dots span:last-child {
    background: #28c840;
}

.visual-title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--brand-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.visual-content {
    padding: 1.25rem;
}

.connection-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.875rem;
    background: var(--brand-cream);
    border: 1px solid rgba(0, 72, 56, 0.08);
    border-radius: calc(var(--radius) - 0.375rem);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.flow-node svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-gray);
}

.flow-node.active {
    border-color: var(--brand-primary);
    background: rgba(0, 72, 56, 0.04);
}

.flow-node.active svg {
    color: var(--brand-primary);
}

.flow-arrow {
    color: var(--brand-gray);
}

.flow-arrow svg {
    width: 1rem;
    height: 1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: calc(var(--radius) * 2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.success {
    background: rgba(0, 72, 56, 0.06);
    color: var(--brand-primary);
}

.status-badge.success svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Device Mockup Single - Clean */
.device-mockup-single {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.device-frame {
    background: white;
    border: 1px solid rgba(0, 72, 56, 0.1);
    border-radius: calc(var(--radius) - 0.25rem);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.device-header {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.875rem;
    background: var(--brand-cream);
    border-bottom: 1px solid rgba(0, 72, 56, 0.06);
}

.device-dots {
    display: flex;
    gap: 0.375rem;
}

.device-dots span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.device-dots span:nth-child(1) { background: #ff5f57; }
.device-dots span:nth-child(2) { background: #ffbd2e; }
.device-dots span:nth-child(3) { background: #28c840; }

.device-content {
    padding: 1rem;
    background: var(--brand-lighter);
}

.responsive-preview {
    display: flex;
    gap: 0.75rem;
    min-height: 180px;
}

.preview-sidebar {
    width: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    width: 2rem;
    height: 2rem;
    background: rgba(0, 72, 56, 0.06);
    border-radius: calc(var(--radius) - 0.5rem);
}

.nav-item.active {
    background: var(--brand-accent);
}

.preview-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.preview-stats {
    display: flex;
    gap: 0.5rem;
}

.p-stat {
    flex: 1;
    height: 3rem;
    background: white;
    border: 1px solid rgba(0, 72, 56, 0.06);
    border-radius: calc(var(--radius) - 0.5rem);
}

.p-stat.accent {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
}

.preview-chart {
    flex: 1;
    background: white;
    border: 1px solid rgba(0, 72, 56, 0.06);
    border-radius: calc(var(--radius) - 0.5rem);
    background-image: linear-gradient(180deg, rgba(0, 72, 56, 0.02) 0%, transparent 100%);
}

.device-shadow {
    position: absolute;
    bottom: -15px;
    left: 5%;
    right: 5%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0, 72, 56, 0.1) 0%, transparent 70%);
    filter: blur(15px);
    z-index: -1;
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    width: 100%;
    max-width: 300px;
}

.module-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.875rem 0.5rem;
    background: white;
    border: 1px solid rgba(0, 72, 56, 0.08);
    border-radius: calc(var(--radius) - 0.375rem);
    transition: all var(--transition-base);
}

.module-card:hover {
    border-color: var(--brand-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.module-card svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-primary);
}

.module-card span {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */
.how-it-works-section {
    padding: var(--section-padding) 0;
    background: var(--brand-lighter);
}

.steps-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .steps-grid {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
    }
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border: 1px solid rgba(0, 72, 56, 0.08);
    border-radius: calc(var(--radius) - 0.25rem);
    flex: 1;
    max-width: 280px;
    transition: all var(--transition-base);
}

.step-card:hover {
    border-color: var(--brand-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.step-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-accent);
    background: var(--brand-primary);
    padding: 0.25rem 0.625rem;
    border-radius: calc(var(--radius) - 0.5rem);
    display: inline-block;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--brand-cream);
    border-radius: calc(var(--radius) - 0.25rem);
    color: var(--brand-primary);
    margin-bottom: 1.25rem;
}

.step-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--brand-gray);
    line-height: 1.6;
    margin: 0;
}

.step-connector {
    display: none;
    color: rgba(0, 72, 56, 0.2);
    align-self: center;
    padding-top: 3rem;
}

@media (min-width: 768px) {
    .step-connector {
        display: block;
    }
}

.step-connector svg {
    color: var(--brand-accent);
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    padding: var(--section-padding) 0;
    background: white;
}

.faq-container {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--brand-lighter);
    border: 1px solid rgba(0, 72, 56, 0.06);
    border-radius: calc(var(--radius) - 0.375rem);
    margin-bottom: 0.625rem;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(0, 72, 56, 0.1);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 72, 56, 0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.125rem 1.25rem;
    background: transparent;
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(226, 251, 108, 0.08);
}

.faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--brand-cream);
    border-radius: calc(var(--radius) - 0.5rem);
    color: var(--brand-primary);
    flex-shrink: 0;
    transition: all var(--transition-slow);
}

.faq-toggle svg {
    width: 0.875rem;
    height: 0.875rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    background: var(--brand-accent);
    color: var(--brand-primary);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-slow);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-content {
    overflow: hidden;
    padding: 0 1.25rem;
    font-size: 0.875rem;
    color: var(--brand-gray);
    line-height: 1.7;
}

.faq-item.active .faq-content {
    padding-bottom: 1.25rem;
}

/* ==========================================
   CTA SECTION - Horizontal Layout
   ========================================== */
.cta-section {
    padding: 4rem 1.5rem;
    background: var(--brand-dark);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 5rem 2rem;
    }
}

.cta-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 3rem;
    }
}

.cta-text {
    max-width: 480px;
}

.cta-text h2 {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .cta-text h2 {
        font-size: 1.875rem;
    }
}

.cta-text h2 span {
    position: relative;
    display: inline;
}

.cta-text h2 span::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 0.25em;
    background: var(--brand-accent);
    z-index: 1;
    border-radius: 2px;
    opacity: 0.6;
}

.cta-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* ==========================================
   FOOTER - Minimal Style (White)
   ========================================== */
.footer {
    background: white;
    color: var(--brand-gray);
    border-top: 1px solid rgba(0, 72, 56, 0.06);
}

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

@media (min-width: 768px) {
    .footer-container {
        padding: 0 2rem;
    }
}

/* Footer Minimal */
.footer-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem 0;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    transition: opacity var(--transition-fast);
}

.footer-logo:hover {
    opacity: 0.7;
}

.footer-logo .logo-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--brand-gray);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .header,
    .mobile-menu-btn,
    .hero-buttons,
    .cta-section,
    .footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .hero {
        padding: 2rem 0;
    }
}
