/* ============================================================
   OAIS — Sentinel Core | Enterprise AI Governance Platform
   Production Stylesheet
   Palette: #0a0e1a / #111827 backgrounds, #2563eb / #3b82f6 accents
   Typography: DM Sans (body), JetBrains Mono (technical)
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(37, 99, 235, 0.22);
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --blue-glow: rgba(37, 99, 235, 0.35);
    --blue-subtle: rgba(37, 99, 235, 0.08);
    --red: #ef4444;
    --red-glow: rgba(239, 68, 68, 0.35);
    --green: #22c55e;
    --green-glow: rgba(34, 197, 94, 0.35);
    --white: #ffffff;
    --text-primary: #f1f5f9;
    --text-secondary: rgba(255, 255, 255, 0.55);
    --text-muted: rgba(255, 255, 255, 0.32);
    --text-faint: rgba(255, 255, 255, 0.18);
    --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --max-width: 1200px;
    --nav-height: 72px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: 0.3s var(--ease-out);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
}

strong {
    color: var(--white);
    font-weight: 600;
}

::selection {
    background: rgba(37, 99, 235, 0.3);
    color: var(--white);
}


/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}


/* --- Scroll-triggered fade-in --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children within grids */
.fade-in:nth-child(2) { transition-delay: 0.07s; }
.fade-in:nth-child(3) { transition-delay: 0.14s; }
.fade-in:nth-child(4) { transition-delay: 0.21s; }
.fade-in:nth-child(5) { transition-delay: 0.28s; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 14, 26, 0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 var(--border), 0 8px 40px rgba(0, 0, 0, 0.4);
}

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

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    z-index: 1001;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    border-radius: 6px;
}

.logo-oais {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: 0.12em;
    color: var(--white);
}

.logo-divider {
    width: 1px;
    height: 1.15rem;
    background: rgba(255, 255, 255, 0.18);
}

.logo-product {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.25s ease;
    letter-spacing: 0.01em;
}

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

.nav-cta {
    background: var(--blue);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 500 !important;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
}

.nav-cta:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   BUTTONS — Shared
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 1.65rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--blue-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--blue-glow);
}

.btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-outline:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 3rem) 2rem 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 50% 15%, rgba(37, 99, 235, 0.1) 0%, transparent 65%),
        radial-gradient(ellipse 45% 35% at 80% 85%, rgba(37, 99, 235, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, var(--bg-primary) 0%, #0d1220 50%, var(--bg-secondary) 100%);
    z-index: 0;
}

/* Subtle grid overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, black 10%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-light);
    border: 1px solid rgba(59, 130, 246, 0.22);
    padding: 0.4rem 1.15rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    background: var(--blue-subtle);
}

.hero-headline {
    font-size: clamp(2.6rem, 6.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 1.4rem;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* --- Countdown --- */
.hero-countdown {
    display: inline-block;
    padding: 1.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xl);
}

.countdown-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 1rem;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 76px;
}

.countdown-number {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.countdown-unit {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 0.45rem;
}

.countdown-sep {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.12);
    margin-bottom: 1.2rem;
}

.countdown-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.9rem;
}

/* --- Scroll indicator --- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
    animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.25; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}


/* ============================================================
   SECTIONS — Shared
   ============================================================ */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-dark {
    background: var(--bg-primary);
}

.section-navy {
    background: var(--bg-secondary);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.85rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.section-lead {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.75;
    margin-bottom: 3.5rem;
}

.section-lead strong {
    color: var(--white);
}


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

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    transition: border-color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.problem-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.08);
    border-radius: var(--radius-md);
    color: var(--red);
    margin-bottom: 1.25rem;
}

.problem-card h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.7rem;
    line-height: 1.35;
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.problem-card p strong {
    color: var(--blue-light);
}

.problem-cta {
    text-align: center;
}

.problem-urgency {
    font-size: 1.02rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    padding: 1.75rem 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    line-height: 1.75;
}

.problem-urgency strong {
    color: var(--white);
}


/* ============================================================
   SOLUTION / CAPABILITY TABLE
   ============================================================ */
.capability-table {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 3rem;
    background: rgba(17, 24, 39, 0.5);
}

.capability-row {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    transition: background var(--transition-base);
}

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

.capability-row:hover {
    background: rgba(37, 99, 235, 0.03);
}

.capability-name {
    min-width: 280px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.capability-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-subtle);
    border-radius: var(--radius-sm);
    color: var(--blue-light);
    flex-shrink: 0;
}

.capability-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    display: flex;
    align-items: center;
}

.solution-note {
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
}

.solution-note p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.solution-note strong {
    color: rgba(255, 255, 255, 0.7);
}


/* ============================================================
   COMPARISON TABLE (Differentiator)
   ============================================================ */
.comparison-table-wrap {
    overflow-x: auto;
    margin-bottom: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: rgba(17, 24, 39, 0.4);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.comparison-table thead {
    background: rgba(0, 0, 0, 0.25);
}

.comparison-table th {
    padding: 1.15rem 1.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.04em;
}

.comparison-table th:first-child {
    width: 160px;
}

.th-sub {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.col-competitor {
    color: rgba(239, 68, 68, 0.75) !important;
}

.col-sentinel {
    color: rgba(34, 197, 94, 0.85) !important;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.25s ease;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

.comparison-table td {
    padding: 1.05rem 1.5rem;
    font-size: 0.88rem;
    line-height: 1.6;
    vertical-align: top;
}

.row-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.84rem;
    white-space: nowrap;
}

.cell-bad {
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    padding-left: 2.6rem !important;
}

.cell-bad::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 1.3rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    opacity: 0.65;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.cell-good {
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 2.6rem !important;
}

.cell-good::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 1.3rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.75;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

/* Differentiator notes */
.differentiator-note {
    max-width: 780px;
}

.differentiator-note p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.differentiator-note p:last-child {
    margin-bottom: 0;
}

.diff-highlight {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.65) !important;
    border-left: 3px solid var(--blue);
    padding-left: 1.25rem;
    margin-left: 0;
}

.diff-highlight strong {
    color: var(--blue-light);
}

.diff-punchline {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7) !important;
    font-style: italic;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}


/* ============================================================
   DEMAND PILLARS
   ============================================================ */
.demand-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.demand-pillar {
    padding: 2.25rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.demand-pillar:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.pillar-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--blue);
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.demand-pillar h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.demand-pillar p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ============================================================
   BEACHHEAD
   ============================================================ */
.beachhead-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.beachhead-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    transition: border-color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.beachhead-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.beachhead-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.65rem;
}

.beachhead-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.beachhead-card strong {
    color: var(--blue-light);
}

.beachhead-expansion {
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    text-align: center;
}

.beachhead-expansion p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.beachhead-expansion strong {
    color: var(--white);
}


/* ============================================================
   VALIDATION
   ============================================================ */
.validation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.validation-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: border-color var(--transition-base);
}

.validation-item:hover {
    border-color: var(--border-hover);
}

.validation-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-subtle);
    border-radius: var(--radius-md);
    color: var(--blue-light);
    flex-shrink: 0;
}

.validation-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.validation-item p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.team-card:hover {
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.team-founder {
    grid-column: 1 / -1;
    border-color: rgba(37, 99, 235, 0.18);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, var(--bg-card) 100%);
}

.team-role {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 0.45rem;
}

.team-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.team-note {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    text-align: center;
}

.team-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto;
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.section-cta {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #0d1220 50%, var(--bg-primary) 100%);
    padding: 7rem 0 6rem;
}

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

.cta-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.cta-content > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

/* Form */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: left;
    margin-bottom: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9rem;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: var(--text-muted);
}

.cta-form input:focus,
.cta-form textarea:focus {
    border-color: rgba(37, 99, 235, 0.45);
    background: rgba(37, 99, 235, 0.04);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.cta-form textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-form .btn {
    width: 100%;
    margin-top: 0.4rem;
}

.cta-alt {
    text-align: center;
}

.cta-alt p {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.cta-alt a {
    color: var(--blue-light);
    font-weight: 500;
    transition: color 0.25s ease;
}

.cta-alt a:hover {
    color: #60a5fa;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-brand .logo-oais {
    font-size: 1.1rem;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-location {
    color: var(--text-faint) !important;
    font-size: 0.76rem !important;
}

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

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.25s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.65);
}

.footer-legal {
    text-align: right;
}

.footer-legal p {
    font-size: 0.73rem;
    color: var(--text-faint);
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.68rem !important;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.1) !important;
    margin-top: 0.2rem;
}


/* --- Hero animated logo --- */
.hero-logo-animated {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.hero-logo-gif {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
}

/* --- Promo Video Section --- */
.section-video {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 0 60px rgba(37, 99, 235, 0.08);
}

.promo-video {
    width: 100%;
    display: block;
    background: #000;
}

/* --- Footer logo --- */
.footer-logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}


/* ============================================================
   RESPONSIVE — Tablet (1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .problem-grid,
    .demand-pillars {
        grid-template-columns: 1fr;
    }

    .capability-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .capability-name {
        min-width: 0;
    }
}


/* ============================================================
   RESPONSIVE — Mobile (768px)
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .section {
        padding: 4.5rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 14, 26, 0.97);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.75rem;
        padding: 2rem;
        transition: right 0.4s var(--ease-out);
        border-left: 1px solid var(--border);
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.65);
    }

    .nav-cta {
        text-align: center;
        width: 100%;
        padding: 0.75rem 1.5rem;
    }

    /* Hero mobile */
    .hero {
        padding: calc(var(--nav-height) + 2rem) 1.25rem 3rem;
        min-height: auto;
    }

    .hero-headline {
        font-size: 2.2rem;
        letter-spacing: -0.02em;
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 3rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-countdown {
        padding: 1.25rem 1.5rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-block {
        min-width: 52px;
    }

    .countdown-sep {
        font-size: 1.5rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Grids stack */
    .beachhead-grid,
    .validation-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-founder {
        grid-column: 1;
    }

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

    /* Comparison table flush on mobile */
    .comparison-table-wrap {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.85rem 1rem;
        font-size: 0.8rem;
    }

    /* Section type */
    .section-title {
        font-size: 1.65rem;
    }

    .section-lead {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-links {
        gap: 1rem;
    }

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


/* ============================================================
   RESPONSIVE — Small Mobile (480px)
   ============================================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero-headline {
        font-size: 1.85rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.9rem;
    }

    .countdown-number {
        font-size: 1.6rem;
    }

    .countdown-block {
        min-width: 44px;
    }

    .countdown-sep {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .comparison-table-wrap {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .problem-card,
    .demand-pillar,
    .beachhead-card,
    .validation-item,
    .team-card {
        padding: 1.5rem 1.25rem;
    }
}
