:root {
    --primary: #4899fc;
    --secondary: #8B5CF6;
    --accent: #10B981;
    --bg: #0F172A;
    --surface: #1E293B;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
    --glow-violet: 0 0 20px rgba(139, 92, 246, 0.3);
}

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

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

/* Glassmorphism */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 96px;
    width: auto;
    display: block;
    margin: -10px 0;
    /* Reduced margin for the smaller size */
    opacity: 0.9;
    /* Subtle transparency */
    border-radius: 7px;
    /* Rounded corners */
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 1;
    /* Full visibility on hover */
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--glow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-image {
    position: absolute;
    right: -100px;
    width: 50%;
    filter: drop-shadow(var(--glow-violet));
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-bottom p {
    margin-bottom: 0;
}

/* Narrative and Content Expansion */
.narrative-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.deep-dive {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.highlight-text {
    color: var(--primary);
    font-weight: 600;
}

.persona-quote {
    font-style: italic;
    font-size: 1.1rem;
    border-left: 4px solid var(--secondary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--text-muted);
}

.sector-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 1s ease forwards;
}

@media (max-width: 968px) {
    /* ── Navigation ──────────────────────────── */
    .nav-links {
        display: none !important;
    }

    /* ── Hero ────────────────────────────────── */
    .hero {
        text-align: center;
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
        flex-direction: column;
        overflow: hidden;
    }

    .hero-content {
        max-width: 100%;
        position: relative;
        z-index: 5;
    }

    /* The absolutely-positioned image/video stripe on the right */
    .hero > div[style*="right: -100px"],
    .hero > div[style*="position: absolute"] {
        display: none !important;
    }

    .hero-image {
        position: relative;
        width: 100%;
        right: 0;
        margin-top: 3rem;
    }

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

    /* ── Slogan / inline hero styles ─────────── */
    .slogan {
        font-size: 2.6rem !important;
    }

    .subtitle {
        font-size: 1.1rem !important;
    }

    /* ── Hero buttons ────────────────────────── */
    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-btns .btn {
        margin-left: 0 !important;
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    /* ── Sections ────────────────────────────── */
    section {
        padding: 4rem 0;
    }

    .narrative-section {
        padding: 4rem 0;
    }

    /* ── Content grid (two-column → one) ──────── */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* ── Feature cards minimum width fix ──────── */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* ── Timeline ────────────────────────────── */
    .timeline {
        padding-left: 2.5rem;
    }

    .step-content {
        padding: 1.5rem;
    }

    .step-title {
        font-size: 1.4rem;
    }

    .step-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* ── Footer ──────────────────────────────── */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

    .slogan {
        font-size: 2.1rem !important;
    }

    .hero h1.product-name {
        font-size: 1.6rem !important;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .step-content {
        padding: 1.2rem;
    }

    .glass[style*="padding: 3rem"] {
        padding: 1.5rem !important;
    }
}

/* ── Global: all inline 2-col grids → 1 col on mobile ── */
@media (max-width: 968px) {
    /* Catch any element using an inline grid with 1fr 1fr */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* 5-column score band on how-it-works → wrap into 2 cols, or single */
    [style*="grid-template-columns: repeat(5, 1fr)"],
    [style*="grid-template-columns:repeat(5, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
    }

    /* content-grid class already handled but enforce for inline override */
    .content-grid[style*="grid-template-columns: 1fr 1fr"],
    .content-grid[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Inline padding on glass cards — prevent overflow */
    .glass[style*="padding: 4rem"] {
        padding: 1.5rem !important;
    }
    .glass[style*="padding: 3rem"] {
        padding: 1.5rem !important;
    }

    /* Page titles too large on mobile */
    h1[style*="font-size: 3.5rem"] {
        font-size: 2.2rem !important;
    }
    h2[style*="font-size: 2.8rem"],
    h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }
}

/* Pitch Lifecycle Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding-left: 4.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(1rem + 5px);
    border-left: 2px dashed var(--border);
    z-index: 1;
}

.timeline::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(1rem + 25px);
    border-left: 2px dashed var(--border);
    z-index: 1;
}

.timeline-step {
    position: relative;
    margin-bottom: 5rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -55px;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--bg);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
}

.step-content {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 3rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-content:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.step-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

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

.step-benefits {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.benefit-item {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.benefit-item strong {
    color: var(--text);
    display: block;
    margin-bottom: 0.3rem;
}

.ai-chat-bubble {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid var(--secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-family: 'Inter', monospace;
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1.5;
}