:root {
    /* Modern Light Theme (EcomDataLabs) */
    --color-bg: #FFFFFF;
    /* Cleaner pure white base */
    --color-surface: #FFFFFF;
    --color-surface-hover: #F9FAFB;

    --color-text: #111827;
    /* Richer black */
    --color-text-muted: #4B5563;
    /* Refined gray */
    --color-text-light: #9CA3AF;

    --color-border: #E5E7EB;

    /* Primary Accent: Violet/Purple */
    --color-primary: #7C3AED;
    --color-primary-light: #8B5CF6;
    --color-primary-dark: #6D28D9;
    --color-primary-glow: rgba(124, 58, 237, 0.15);

    /* Secondary Accent: Emerald Green */
    --color-accent: #10B981;
    --color-accent-glow: rgba(16, 185, 129, 0.15);

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Refined Spacing Scale - The "Lean" Look */
    --spacing-xs: 0.5rem;
    /* 8px */
    --spacing-sm: 1.5rem;
    /* 24px - larger default gap */
    --spacing-md: 3rem;
    /* 48px - Section breath */
    --spacing-lg: 6rem;
    /* 96px - Major separation */
    --spacing-xl: 10rem;
    /* 160px - Hero/Lead spacing */

    --container-width: 1280px;
    /* Wider for modern feel */

    --radius-sm: 8px;
    --radius-md: 12px;
    /* Slightly tighter radius */
    --radius-lg: 24px;

    /* Premium Light Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 20px 40px -5px rgba(0, 0, 0, 0.06);
    /* Softer, deeper */
    --shadow-card-hover: 0 25px 50px -12px rgba(124, 58, 237, 0.15);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.1);
}

/* Mobile Responsiveness for Variables */
@media (max-width: 768px) {
    :root {
        --spacing-md: 2rem;
        --spacing-lg: 3rem;
        --spacing-xl: 5rem;

        --container-width: 100%;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.7;
    /* Increased for readability */
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    font-size: 16px;
}

/* Refined Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #111827;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
    /* Tighter heading tracking */
}

h1 {
    font-size: 4.5rem;
    font-weight: 700;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.04em;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

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

/* Buttons */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid transparent;
    font-size: 0.95rem;
    /* Slightly smaller text for elegance */
    letter-spacing: 0.01em;
    line-height: 1;
}

.btn-primary {
    background: #111827;
    /* Minimalist Black for high contrast */
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Alternative: keep purple if user really loves it, but black is more 'premium fashion/tech' */
.btn-glow {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    box-shadow: 0 4px 14px 0 rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    box-shadow: none;
    /* Cleaner */
}

.btn-secondary:hover {
    background-color: var(--color-surface-hover);
    border-color: var(--color-text-muted);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--color-border);
    color: var(--color-text);
    background: white;
    padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Typography Utilities */
.highlight {
    color: var(--color-primary);
    position: relative;
    z-index: 1;
    display: inline-block;
    /* Prevent breaking */
}

/* Removed the underline blob for a cleaner text-gradient look or just color */
/* If we want the underline, we make it much thinner */
.highlight::after {
    display: none;
}



/* Header */
.site-header {
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.03em;
}

.logo .dot {
    color: var(--color-primary);
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.main-nav a:not(.btn) {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.main-nav a:not(.btn):hover {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

/* Language Toggle */
.lang-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    padding: 0.3rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.lang-btn:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}

.lang-option {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.lang-option.active {
    opacity: 1;
    color: var(--color-primary);
    font-weight: 700;
}

.lang-btn .divider {
    opacity: 0.3;
}

/* Hero Split Layout */
.hero {
    padding: calc(var(--spacing-xl) + 4rem) 0 var(--spacing-xl);
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    /* Make it feel substantial */
    display: flex;
    align-items: center;
}

/* Enhanced Background - Aurora Effect */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.05) 40%, rgba(255, 255, 255, 0) 70%);
    filter: blur(60px);
    z-index: 0;
    animation: pulse-glow 10s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Hero Text Column */
.hero-text {
    text-align: left;
    max-width: 650px;
}

.hero-eyebrow-container {
    margin-bottom: var(--spacing-sm);
}

.hero h1 {
    font-size: 4rem;
    /* Initial size, can be larger on big screens */
    margin: 0 0 var(--spacing-md);
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #111827;
}

.hero .subheadline {
    font-size: 1.25rem;
    max-width: 540px;
    margin: 0 0 var(--spacing-md);
    line-height: 1.6;
    color: var(--color-text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    /* Align left */
    margin-top: var(--spacing-md);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E5E7EB;
    border: 2px solid white;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-text-muted);
}

.avatar:first-child {
    margin-left: 0;
}

.proof-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
}



/* Hero Visual Column (Right Side) */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    /* For 3D feel */
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    /* We can contain the illustration here */
}

/* Glass Cards */
.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.1),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    /* Inner highlight */
    border-radius: 24px;
    z-index: 10;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px) scale(1.02);
    /* Delicate hover effect */
    box-shadow: 0 30px 60px -12px rgba(124, 58, 237, 0.2);
}

/* Main Card - Detailed Table Layout */
.card-main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 620px;
    /* Widened for 6 columns */
    height: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    /* Premium Shadows/Border */
    box-shadow:
        0 40px 70px -12px rgba(0, 0, 0, 0.15),
        0 20px 30px -3px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    /* Slightly more opaque */
    position: relative;
    overflow: hidden;
    /* Contain the chart */
}

.chart-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    /* Cover bottom half */
    z-index: 0;
    opacity: 0.15;
    /* Subtle background */
    pointer-events: none;
}

.chart-curve {
    width: 100%;
    height: 100%;
}

.dash-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    /* Ensuring clean font */
    position: relative;
    z-index: 1;
    /* Above chart */
}

.dash-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
    /* 6 Columns */
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dash-row:last-child {
    border-bottom: none;
}

.dash-row.header {
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Thinner refined line */
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.col-channel {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1F2937;
}

.col-metric {
    text-align: right;
    font-weight: 500;
    color: #4B5563;
    font-variant-numeric: tabular-nums;
    /* Monospaced numbers */
}

.icon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    /* Subtle ring */
}

.shopify {
    background: #96bf48;
}

.amazon {
    background: #FF9900;
}

.ebay {
    background: #e53238;
}

.tiktok {
    background: #000000;
}

/* Fix hover transform for centered main card */
.card-main:hover {
    transform: translate(-50%, -50%) scale(1.01) !important;
}

.stat-row .label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4B5563;
}

.stat-row .value {
    font-weight: 700;
    font-size: 0.9rem;
}

.value.up {
    color: #10B981;
}

.value.down {
    color: #10B981;
    /* Still green for cost reduction */
}

/* Card 2: AI Agent (Top Right) */
.card-agent {
    top: 15%;
    right: 0%;
    width: 200px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.agent-bubble {
    font-size: 0.75rem;
    color: #374151;
    font-weight: 500;
}

.typing-dots span {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #6B7280;
    margin-right: 2px;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Reconciled Status Bubble (Top Right) */
.card-status {
    top: 10%;
    right: -5%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: white;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    animation-name: float-simple;
    animation-duration: 6s;
}

.status-icon {
    font-size: 1.2rem;
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #059669;
    /* Success Green */
}

/* Card 3: Data Loading (Bottom Left) - Refined */
.card-data {
    bottom: 15%;
    left: -5%;
    width: auto;
    padding: 12px 20px;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
}

/* AI Agent Icon Card (New) */
.card-agent-icon {
    top: 10%;
    right: -5%;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 50px;
    background: white;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1);
}

.agent-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-emoji {
    font-size: 1.8rem;
    z-index: 2;
    position: relative;
}

.pulse-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.agent-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #059669;
}

/* Hero Bullets */
.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-bullets li {
    font-size: 1rem;
    color: var(--color-text-muted);
    padding-left: 0;
}

/* Hero Guarantee Badge */
.hero-guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #059669;
}

.hero-guarantee-badge .badge-icon {
    font-size: 1rem;
}

/* Offer Card - For You Line */
.offer-for-you {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
    padding: 0.75rem;
    background: #F8F9FC;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary);
}

.offer-for-you strong {
    color: var(--color-primary);
}

/* FAQ Section */
.faq-section {
    background: #FFFFFF;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section Enhanced */
.cta-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.cta-guarantee {
    display: inline-block;
    margin: 1.5rem 0;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    font-weight: 600;
    color: #059669;
    font-size: 0.95rem;
}

.cta-secondary-link {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.cta-secondary-link a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cta-secondary-link a:hover {
    text-decoration: none;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    /* Ensure left alignment */
    margin-top: 1rem;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

/* Animations - Slowed Down */
.float-slow {
    animation: float 8s ease-in-out infinite;
    /* Slower (was 6s) */
}

.float-medium {
    animation: float 7s ease-in-out infinite 1s;
    /* Slower */
}

.float-fast {
    animation: float 6s ease-in-out infinite 2s;
    /* Slower */
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px);
        /* Slightly deeper float */
    }

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


/* Override transform for non-centered elements */
@keyframes float-simple {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.card-agent {
    animation-name: float-simple;
    animation-duration: 5s;
}

.card-data {
    animation-name: float-simple;
    animation-duration: 7s;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        padding-top: var(--spacing-xl);
        min-height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .subheadline {
        margin: 0 auto var(--spacing-md);
    }

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

    .hero-social-proof {
        justify-content: center;
        margin-top: 2rem;
    }

    .hero-visual {
        height: 400px;
        /* Reduced height on mobile */
        margin-top: 2rem;
    }

    .card-main {
        width: 300px;
        height: 200px;
    }

    .card-agent {
        right: -10px;
        top: 10%;
    }

    .card-data {
        left: -10px;
        bottom: 15%;
    }
}

/* Trust Bar Adjustment */
.trust-bar {
    border-top: none;
    /* Integrate better */
}


.trust-label {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.logos {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    opacity: 0.6;
    filter: grayscale(100%);
}

.logo-item {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text-light);
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: var(--spacing-md);
    text-align: center;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    min-width: 140px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* Mobile adjustments for stats */
@media (max-width: 768px) {
    .trust-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem 1.25rem;
        min-width: 100px;
        flex: 1;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

/* Sections General - Improved Spacing */
section {
    padding: 7rem 0;
    /* Increased from var(--spacing-xl) ~10rem for more breathing room */
}

/* Add extra spacing between alternating sections */
section+section {
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle separator */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    /* Increased for more space before content */
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards (Modern Light) */
.problem-card,
.offer-card,
.journey-step,
.example-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-card);
}

.problem-card:hover,
.offer-card:hover,
.journey-step:hover,
.example-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Problem Grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: #111827;
    font-weight: 700;
}

.problem-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Solution / Journey */
.journey-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.journey-step {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    text-align: center;
    position: relative;
    background: #FFFFFF;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.journey-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    padding: 1rem;
    background: #F5F3FF;
    border-radius: 50%;
}

.journey-step h3 {
    color: #111827;
    margin-bottom: var(--spacing-xs);
}

.journey-arrow {
    font-size: 2rem;
    color: var(--color-primary-light);
    align-self: center;
    font-weight: bold;
}

/* Mobile: Stack vertically and hide arrows */
@media (max-width: 768px) {
    .journey-steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .journey-step {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .journey-arrow {
        display: none;
        /* Hide arrows on mobile for cleaner look */
    }
}

/* Offers Section */
.offers-section {
    background: #F8F9FC;
    position: relative;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-md);
    align-items: start;
}

.offer-card {
    padding: 3rem 2rem;
    position: relative;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    /* Center all card content */
}

.offer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.offer-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 30px 60px -12px rgba(124, 58, 237, 0.2);
    background: #FAFAFF;
    /* Very subtle tint */
    transform: scale(1.02);
    z-index: 10;
}

.offer-card.featured:hover {
    box-shadow: 0 40px 80px -15px rgba(124, 58, 237, 0.25);
    transform: scale(1.03) translateY(-5px);
}

.offer-card.luxury {
    border: 1px solid var(--color-accent);
}

.offer-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.offer-card.featured .offer-badge {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.offer-card.luxury .offer-badge {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.offer-price {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin: 0.5rem 0;
    letter-spacing: -0.02em;
    line-height: 1;
}

.offer-tagline {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.offer-outcome {
    background-color: #F8F9FC;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
    border: 1px solid var(--color-border);
}

.offer-stack {
    flex-grow: 1;
    /* Push content below down */
    text-align: left;
    margin-bottom: 1.5rem;
}

.offer-stack li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.4;
}

.offer-stack .check {
    color: var(--color-accent);
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.offer-stack li.bonus {
    background-color: #ECFDF5;
    margin: 0 calc(var(--spacing-sm) * -1);
    padding: 0.75rem var(--spacing-sm);
    border-radius: var(--radius-sm);
    border-bottom: none;
    border: 1px dashed #10B981;
    margin-top: 0.5rem;
    color: #065F46;
}

.offer-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.offer-time {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.offer-card .btn {
    width: 100%;
    margin-top: auto;
    /* Push to bottom */
}

/* Guarantee Box */
.guarantee-box {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: white;
    border: 1px solid #10B981;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.05);
}

.guarantee-box h4 {
    color: #10B981;
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

/* Ebook Section */
.ebook-section {
    background: #111827;
    /* Keep dark for contrast/premium feel or switch to very light? Plan said light. Let's make it a Feature Block with a different color */
    background: linear-gradient(135deg, #7C3AED 0%, #4C1D95 100%);
    /* Purple Gradient for contrast section */
    color: white;
    border: none;
}

.ebook-section .section-header p,
.ebook-section li,
.ebook-section .ebook-subtitle,
.ebook-section p {
    color: rgba(255, 255, 255, 0.9);
}

.ebook-section li::before {
    color: #A78BFA;
}

.ebook-section h2 {
    color: white;
}

.ebook-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.badge-discount {
    display: inline-block;
    background-color: white;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ebook-benefits li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.ebook-benefits li::before {
    content: "→";
    position: absolute;
    left: 0;
}

.book-cover {
    width: 260px;
    height: 360px;
    background: linear-gradient(135deg, white 0%, #F3F4F6 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #111827;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
    position: relative;
}

.book-cover::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
}

.book-cover:hover {
    transform: rotateY(0) rotateX(0) scale(1.05);
}

/* Expertise */
.expertise-section {
    background-color: #FFFFFF;
}

.expertise-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.expertise-list li {
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text);
}

.expertise-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    background: #ECFDF5;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* CTA */
.cta-section {
    text-align: center;
    background: #F8F9FC;
    position: relative;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: #111827;
}

/* Footer */
.site-footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
    background: white;
    color: var(--color-text-muted);
}

.footer-legal {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: underline;
}

.footer-legal a:hover {
    color: var(--color-primary);
}

.footer-legal span {
    color: var(--color-border);
}

/* Legal Modals */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.legal-modal.hidden {
    display: none;
}

.legal-content {
    background: white;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.legal-content h2 {
    margin-bottom: 1.5rem;
    color: #111827;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #111827;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.legal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--color-text-muted);
    line-height: 1;
}

.legal-close:hover {
    color: var(--color-primary);
}

/* Chat Modal */
.chat-modal {
    display: none;
    /* Inherited logic likely handles display block */
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
}

.chat-modal.hidden {
    display: none;
}

.chat-container {
    width: 350px;
    height: 500px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: var(--color-primary);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #F8F9FC;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 0.5rem;
    background: white;
}

.chat-input-area input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

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

    .main-nav,
    .mobile-menu-toggle {
        /* Add mobile menu logic if needed, simplied for CSS tool limit */
    }
}

/* Chat Modal */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    /* Lighter overlay */
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.chat-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.chat-container {
    width: 90%;
    max-width: 500px;
    height: 600px;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.chat-modal.hidden .chat-container {
    transform: translateY(20px);
}

.chat-header {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F9FAFB;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-title h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-text);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
}

.close-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    color: var(--color-primary);
}

.chat-messages {
    flex: 1;
    padding: var(--spacing-md);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background-color: white;
}

.message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.5;
}

.message.agent {
    align-self: flex-start;
    background-color: #F3F4F6;
    color: var(--color-text);
    border-bottom-left-radius: 0;
}

.message.user {
    align-self: flex-end;
    background-color: var(--color-primary);
    color: white;
    border-bottom-right-radius: 0;
}

.chat-input-area {
    padding: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: var(--spacing-sm);
    background-color: #F9FAFB;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.chat-input-area input {
    flex: 1;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background-color: white;
    color: var(--color-text);
    font-family: var(--font-main);
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-glow);
}

.send-btn {
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.send-btn:hover {
    background-color: var(--color-primary-dark);
}


/* Use Cases Section */
.use-cases-section {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.use-cases-section .problem-card {
    background-color: var(--color-bg);
    /* Light contrast */
    border: 1px solid var(--color-border);
}

.usecase-category {
    color: var(--color-text);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.use-cases-section .problem-card h4 {
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        /* Reduced slightly to fit long words */
        /* Adjusted for mobile */
        line-height: 1.2;
    }

    .flipper {
        min-width: 0;
        width: 100%;
        height: 1.4em;
        /* Increased slightly for ascenders/descenders */
        display: block;
        margin: 0 auto;
        white-space: normal;
        /* Allow wrapping of very long words if needed */
    }

    .flipper-word {
        position: absolute;
        width: 100%;
        text-align: center;
        /* Center text on mobile */
        font-size: 2.25rem;
        /* Slight reduction for "Unit Economics" on small screens */
        white-space: nowrap;
        /* Keep words on one line if possible */
        left: 0;
    }

    /* Major separation adjustment for mobile */
    @media (max-width: 768px) {
        :root {
            --spacing-md: 2rem;
            --spacing-lg: 3rem;
            --spacing-xl: 5rem;
            /* Much tighter on mobile */
            --container-width: 100%;
        }

        h1 {
            font-size: 3rem;
        }

        h2 {
            font-size: 2.25rem;
        }
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .pricing-card.featured {
        transform: none;
    }

    .ebook-wrapper {
        flex-direction: column-reverse;
        /* Visual on top on mobile? No, preserve current behavior */
        text-align: center;
    }

    .ebook-visual {
        margin-bottom: var(--spacing-md);
    }

    .ebook-benefits li {
        text-align: left;
        display: inline-block;
    }
}