/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand blue - matching logo */
    --brand: #2180d8;
    --brand-dark: #1a6bb3;
    --brand-light: #4a9de6;
    --dark: #0f172a;
    --neutral: #ffffff;
    --warm-white: #fafafa;
    
    /* Accent color for CTAs - energetic orange */
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-light: #fb923c;
    
    /* Grays */
    --muted: #64748b;
    --bg-elev: #f8fafc;
    --bg-warm: #f5f5f4;
    --border-color: rgba(15,23,42,0.1);
    --success-color: #10b981;
    --danger-color: #ef4444;
    
    /* Spacing scale */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;
    
    /* Punchier shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.1);
    
    /* Sharper radius for punch */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.0625rem; /* 17px - slightly larger for readability */
}

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

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--dark);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--dark);
    letter-spacing: -0.03em;
    font-weight: 700;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Override for sections with blue backgrounds */
.hero .section-title,
.solution .section-title,
.cta .section-title {
    color: var(--neutral);
}

/* Buttons - punchy and bold */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: -0.01em;
    text-transform: none;
}

/* Default button - for light backgrounds */
.btn-primary {
    background: var(--accent);
    color: var(--neutral);
    box-shadow: 0 4px 14px rgba(249,115,22,0.4);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(249,115,22,0.45);
}

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

/* White button variant for dark/purple backgrounds */
.btn-white {
    background: var(--neutral);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-white:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* High-contrast accent button for dark backgrounds */
.btn-accent {
    background: var(--accent);
    color: var(--neutral);
    box-shadow: none;
}

.btn-accent:hover {
    background: #ea580c;
    transform: translateY(-2px) scale(1.02);
    box-shadow: none;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.0625rem;
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-lg);
}

/* Header */
.header {
    background: var(--neutral);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    max-width: none;
    margin: 0;
    padding: 0;
}

.header-logo-link {
    display: block;
}

.header-logo {
    height: 72px;
    width: auto;
}

/* Hero Section - Bold, blue to match brand */
.hero {
    background: linear-gradient(135deg, #2180d8 0%, #1a6bb3 100%);
    color: var(--neutral);
    padding: var(--space-xl) 0 var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Geometric accent */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: var(--space-sm);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--neutral);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin-bottom: var(--space-lg);
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

/* Use white button in hero for contrast */
.hero .btn-primary {
    background: var(--neutral);
    color: var(--brand-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero .btn-primary:hover {
    background: var(--neutral);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* Problem Section - High contrast */
.problem {
    padding: var(--space-xl) 0;
    background-color: var(--neutral);
}

.problem-content {
    max-width: 860px;
    margin: 0 auto;
}

.problem-intro {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    color: var(--muted);
    font-weight: 600;
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.problem-item {
    background: var(--bg-warm);
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
}

.problem-item:hover {
    transform: none;
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
    cursor: default;
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.problem-item p {
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 500;
}

.highlight {
    background-color: var(--accent);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--neutral);
    font-weight: 600;
}

.problem-result {
    background: var(--bg-warm);
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 32px;
    border-left: 4px solid var(--danger-color);
    box-shadow: var(--shadow-md);
}

.result-label {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    font-size: 1.0625rem;
    color: var(--muted);
    font-weight: 500;
}

.problem-conclusion {
    text-align: center;
    font-size: 1.25rem;
    color: var(--dark);
    margin-top: var(--space-lg);
    line-height: 1.5;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.problem-conclusion strong {
    color: var(--dark);
    font-weight: 700;
}

/* Solution Section - Blue brand gradient */
.solution {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #2180d8 0%, #1a6bb3 100%);
    color: var(--neutral);
    position: relative;
}

.solution::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 100% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.solution .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--neutral);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.solution-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.solution-intro {
    font-size: 1.0625rem;
    margin-bottom: var(--space-md);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

.solution-highlight {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    border: 1px solid rgba(255,255,255,0.2);
}

.solution-highlight-white {
    background: var(--neutral);
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-lg);
}

.solution-highlight-white p {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.solution-highlight p {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--neutral);
}

.solution-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
    justify-content: center;
    align-items: center;
}

.benefit-item {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
}

/* White button in solution for contrast */
.solution .btn-primary {
    background: var(--neutral);
    color: var(--brand-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.solution .btn-primary:hover {
    background: var(--neutral);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* How It Works Section - Clean, punchy */
.how-it-works {
    padding: var(--space-xl) 0;
    background-color: var(--neutral);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.feature-card {
    background: var(--neutral);
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
    border-color: var(--border-color);
    cursor: default;
}

.feature-number {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--neutral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.simple-tagline {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
}

/* Who It's For Section */
.who-its-for {
    padding: 96px 0;
    background-color: var(--bg-elev);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 920px;
    margin: 0 auto;
}

.audience-box {
    background: var(--neutral);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04), 0 1px 2px rgba(15,23,42,0.06);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.audience-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.08);
}

.designed-for {
    border-top: 4px solid var(--success-color);
}

.not-for {
    border-top: 4px solid var(--muted);
}

.audience-box h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.audience-box ul {
    list-style: none;
    padding: 0;
}

.audience-box li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--muted);
    line-height: 1.6;
}

.designed-for li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.not-for li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--muted);
}

.audience-box .note {
    margin-top: 16px;
    font-style: italic;
    color: var(--muted);
}

/* Why This Exists Section */
.why-exists {
    padding: var(--space-lg) 0;
    background-color: var(--bg-warm);
}

.story-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.story-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--muted);
}

/* CTA Section - Bold, high-impact */
.cta {
    padding: var(--space-xl) 0;
    background: linear-gradient(155deg, #1e293b 0%, #0f172a 100%);
    color: var(--neutral);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 0%, rgba(249,115,22,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--neutral);
    font-weight: 700;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
}

.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.cta-benefits span {
    position: relative;
}

.cta-benefits span:not(:last-child):after {
    content: "·";
    position: absolute;
    right: -0.75rem;
    opacity: 0.4;
}

/* Form Styles - Clean, bold */
.cta-form {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 480px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.cta-form input {
    padding: 16px 18px;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.95);
    color: var(--dark);
    transition: all 200ms ease;
    font-family: inherit;
    font-weight: 500;
}

.cta-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(249,115,22,0.2);
}

.cta-form input::placeholder {
    color: var(--muted);
    font-weight: 400;
}

.form-note {
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

/* Form Success Message */
.form-success {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.08);
    animation: fadeIn 0.5s ease;
    max-width: 480px;
    margin: 0 auto;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--success-color) 0%, #047857 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 auto var(--space-md);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.form-success p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

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

/* Footer */
.footer {
    background-color: #1e293b;
    color: var(--neutral);
    padding: var(--space-xl) 0 var(--space-xl);
}

.footer .container {
    max-width: none;
    margin: 0;
    padding: 0 var(--space-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xl);
    padding-bottom: calc(var(--space-lg) + 16px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: var(--space-md);
}

.footer-content {
    position: relative; /* allow absolute centering of inner block */
}

.footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    width: calc(100% - 160px); /* keep some breathing room from edges */
    max-width: 1080px;
}

.footer-bottom {
    margin-top: var(--space-xs);
    padding-bottom: var(--space-sm);
    line-height: 1;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-large {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
    margin: 0 auto; /* center the columns group */
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    align-items: center;
    text-align: center;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 200ms ease;
    white-space: nowrap;
}

.footer-col a:hover {
    color: var(--neutral);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
}

.footer-info {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

.footer-info a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-info a:hover {
    color: var(--neutral);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: var(--space-xs) var(--space-sm);
    }

    .header-logo-link {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-logo {
        height: 48px;
        max-width: 100%;
    }

    .hero {
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .problem, .solution, .how-it-works, .who-its-for, .why-exists, .cta {
        padding: var(--space-lg) 0;
    }

    .features-grid, .audience-grid {
        grid-template-columns: 1fr;
    }

    .problem-list {
        grid-template-columns: 1fr;
    }

    .cta-form {
        padding: 24px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        position: static;
    }

    .footer-center {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .cta-benefits {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-benefits span:not(:last-child):after {
        display: none;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
/*
  Progressive-enhancement reveal:
  - Content is visible by default.
  - When JS is available, we add `.js` on <html> and reveal sections as they enter view.
*/
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal],
    .js [data-reveal].is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: rgba(17,24,39,0.98);
    color: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: none;
}

.cookie-consent .cookie-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-consent p {
    margin: 0;
    color: rgba(255,255,255,0.95);
    max-width: 70%;
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-link {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .cookie-consent p { max-width: 100%; }
    .cookie-consent { left: 12px; right: 12px; bottom: 12px; }
}

/* Footer social/link tweaks */
.footer-info a { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
