/* ====== DESIGN SYSTEM & VARIABLES ====== */
:root {
    /* Colors */
    --bg-base: #030303;
    --bg-surface: rgba(20, 20, 25, 0.4);
    --bg-surface-hover: rgba(30, 30, 38, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);
    
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    
    --accent-primary: #6366F1;
    --accent-glow: rgba(99, 102, 241, 0.5);
    --accent-secondary: #A855F7;
    
    --danger: #EF4444;
    --success: #10B981;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Effects */
    --glass-blur: blur(12px);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====== UTILITY CLASSES ====== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #A1A1AA 100%);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.danger-text { color: var(--danger); }
.success-text { color: var(--success); }
.urgent-text { color: var(--accent-primary); font-weight: 500; }
.highlight-text { color: var(--text-primary); font-weight: 600; }

.eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

.layout-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-base);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
    background: #f0f0f0;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-glow {
    position: relative;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 35px var(--accent-glow);
    background: linear-gradient(135deg, #7477fa 0%, #b66dfc 100%);
    color: white;
}

.microcopy {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom-color: var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--border-highlight);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ====== HERO SECTION ====== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(3, 3, 3, 0) 60%);
    filter: blur(60px);
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 90%;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 30px;
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.2);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.social-proof-banner {
    margin-top: 6rem;
    padding: 2rem 5%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.proof-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proof-logos {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0.5;
    filter: grayscale(100%);
}

.logo-placeholder {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

/* ====== PROBLEM SECTION ====== */
.problem-content {
    max-width: 800px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.25rem;
}

/* ====== SOLUTION SECTION ====== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
    background: var(--bg-surface-hover);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.icon-purple { background: rgba(168, 85, 247, 0.1); color: #A855F7; }
.icon-blue { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.icon-green { background: rgba(16, 185, 129, 0.1); color: #10B981; }

.feature-title {
    font-size: 1.25rem;
}

.feature-desc {
    font-size: 0.95rem;
}

.solution-callout {
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(3, 3, 3, 0) 100%);
    border-left: 4px solid var(--accent-primary);
}

.solution-callout p {
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* ====== BENEFITS SECTION ====== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
}

.bento-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    overflow: hidden;
    position: relative;
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-medium { grid-column: span 2; grid-row: span 1; }
.bento-small { grid-column: span 1; grid-row: span 1; }
.bento-long { grid-column: span 3; grid-row: span 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem;}

.metric-display {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-top: auto;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.roas-chart-placeholder {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 100px;
}

.chart-bar {
    width: 20px;
    background: var(--border-highlight);
    border-radius: 4px 4px 0 0;
}

.bar-1 { height: 40px; }
.bar-2 { height: 50px; }
.bar-3 { height: 45px; }
.bar-4 { height: 100px; background: var(--accent-primary); box-shadow: 0 0 15px var(--accent-glow); }

/* ====== PROCESS SECTION ====== */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.timeline-item:hover {
    background: var(--bg-surface-hover);
    border-color: var(--accent-primary);
    transform: translateX(10px);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    opacity: 0.5;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ====== CASE STUDY SECTION ====== */
.case-study-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
}

.case-subtitle {
    margin-bottom: 2.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.case-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* ====== OFFER SECTION ====== */
.offer-box {
    width: 100%;
    max-width: 800px;
    background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(10, 10, 12, 0.8) 100%);
    border-top: 2px solid var(--accent-primary);
}

.offer-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.offer-list-item {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.offer-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.check-icon {
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.offer-item-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

/* ====== FAQ SECTION ====== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item.active {
    border-color: var(--border-highlight);
    background: var(--bg-surface-hover);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 300px; /* arbitrary large value */
}

/* ====== CTA SECTION ====== */
.cta {
    padding: 8rem 0;
}

.cta-container {
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.glow-border {
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: inset 0 0 40px rgba(99, 102, 241, 0.1);
}

.cta-title {
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    margin-bottom: 3rem;
}

/* ====== FOOTER ====== */
.footer {
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--border-color);
    background: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-brand .footer-desc {
    max-width: 300px;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ====== ANIMATIONS ====== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}


/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .hero-container, .layout-split, .case-study-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        padding-top: 6rem;
        text-align: center;
    }
    
    .hero-actions {
        align-items: center;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .bento-long { grid-column: span 2; }
    .bento-small { grid-column: span 1; }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn {
        display: none;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-study-wrapper {
        padding: 2rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large, .bento-medium, .bento-small, .bento-long {
        grid-column: span 1;
    }
    
    .bento-long {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ====== NEW CRO STYLES ====== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.pb-3 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 4rem; }

.text-left { text-align: left; }

.check-list li, .cross-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}
.cross-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: bold;
}

.testimonial-card {
    border-left: 3px solid var(--accent-primary);
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.05) 0%, rgba(20, 20, 25, 0.4) 100%);
    padding: 2rem;
}
.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.guarantee-box {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.8) 0%, rgba(10, 10, 12, 0.9) 100%);
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cost-box {
    background: rgba(239, 68, 68, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 3rem;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: bold;
    font-size: 0.95rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.pulsing-dot {
    width: 12px;
    height: 12px;
    background-color: var(--danger);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--danger);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

/* ====== TOP 1% CRO UPGRADES ====== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.proof-metric {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.font-heading { font-family: var(--font-heading); }
.pt-0 { padding-top: 0 !important; }

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

@media (max-width: 768px) {
}

/* ====== FORM STYLES ====== */
.audit-form .form-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}
.audit-form .form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
.audit-form .form-input::placeholder {
    color: var(--text-muted);
}
