/* ==========================================================================
   Resonance-1 (70B) LLM - Specialized Model Landing Page Stylesheet
   Design System: brand.ai Exact Typography & High-Energy Editorial Architecture
   Palette: Electric Cobalt Blue (#2563eb), Slate Grey (#f8fafc, #f1f5f9), White (#ffffff)
   ========================================================================== */

:root {
    --brand-blue: #2563eb;
    --brand-blue-hover: #1d4ed8;
    --brand-blue-light: #eff6ff;
    --brand-blue-border: rgba(37, 99, 235, 0.2);
    --brand-blue-glow: rgba(37, 99, 235, 0.12);

    --text-headline: #0f172a;
    --text-lead: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --surface-white: #ffffff;
    --surface-grey: #f8fafc;
    --surface-grey-alt: #f1f5f9;
    --surface-border: #e2e8f0;
    --surface-border-subtle: #edf2f7;

    --font-heading: 'ABC Monument Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'ABC Monument Grotesk Semi-Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body.page-resonance {
    background-color: var(--surface-grey) !important;
    color: var(--text-lead) !important;
    font-family: var(--font-heading) !important;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.resonance-hero {
    position: relative;
    padding: 6.5rem 2rem 4.5rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.resonance-hero-inner {
    max-width: 980px;
    margin: 0 auto;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.06);
    margin-bottom: 1.8rem;
}

.hero-badge-pill .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-blue);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.resonance-hero h1 {
    font-size: clamp(2.5rem, 5.2vw, 4.2rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: var(--text-headline);
    margin: 0 0 1.5rem;
}

.resonance-hero h1 .highlight-blue {
    color: var(--brand-blue);
    display: inline-block;
}

.resonance-hero-desc {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.6;
    color: var(--text-lead);
    max-width: 840px;
    margin: 0 auto 2.5rem;
    font-weight: 450;
}

.resonance-hero-desc strong {
    color: var(--text-headline);
    font-weight: 700;
}

.resonance-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.btn-model-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--brand-blue);
    color: #ffffff !important;
    padding: 0.95rem 1.8rem;
    border-radius: 10px;
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.25);
    border: none;
    cursor: pointer;
}

.btn-model-primary:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

.btn-model-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    color: var(--text-headline) !important;
    padding: 0.95rem 1.8rem;
    border-radius: 10px;
    font-size: 1.02rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--surface-border);
    transition: all 0.2s ease;
}

.btn-model-secondary:hover {
    background: var(--surface-grey-alt);
    border-color: #cbd5e1;
}

/* ==========================================================================
   Model Metrics Strip
   ========================================================================== */
.resonance-metrics-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.metric-pill-box {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    padding: 1.4rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-pill-box:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.metric-pill-box .metric-value {
    display: block;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-headline);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.35rem;
    font-family: var(--font-heading);
}

.metric-pill-box .metric-value.text-blue {
    color: var(--brand-blue);
}

.metric-pill-box .metric-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .resonance-metrics-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .resonance-metrics-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   LIVE COPYWRITER DEMO CHAT WINDOW (Clean, Focused, No System Instructions)
   ========================================================================== */
.demo-chat-section {
    max-width: 1100px;
    margin: 3.5rem auto 5rem;
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
}

.demo-chat-header {
    background: #ffffff;
    color: var(--text-headline);
    padding: 1.25rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid var(--surface-border);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.model-avatar-indicator {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-weight: 800;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}

.chat-header-text h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-headline, #0f172a);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.chat-header-text p {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted, #64748b);
    font-family: var(--font-heading);
}

.live-model-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-family: var(--font-mono);
}

.live-model-badge .pulse-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

/* Quick Prompt Suggestions */
.demo-chat-prompts {
    background: var(--surface-grey-alt);
    padding: 0.9rem 1.8rem;
    border-bottom: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.prompts-label {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-right: 0.4rem;
}

.quick-prompt-btn {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-headline);
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.quick-prompt-btn:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background: #f0f7ff;
}

/* Chat Log Area */
.demo-chat-messages {
    padding: 2rem 1.8rem;
    min-height: 280px;
    max-height: 520px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    background: #fafbfe;
}

.chat-bubble-row {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.chat-bubble-row.is-user {
    flex-direction: row-reverse;
}

.chat-sender-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-bubble-row.is-bot .chat-sender-avatar {
    background: var(--brand-blue);
    color: #ffffff;
}

.chat-bubble-row.is-user .chat-sender-avatar {
    background: #334155;
    color: #ffffff;
}

.chat-bubble {
    max-width: 82%;
    padding: 1.1rem 1.4rem;
    border-radius: 14px;
    font-size: 0.98rem;
    line-height: 1.62;
    position: relative;
}

.chat-bubble-row.is-bot .chat-bubble {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    color: var(--text-headline);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.chat-bubble-row.is-user .chat-bubble {
    background: #0f172a;
    color: #f8fafc;
    border-top-right-radius: 4px;
}

.chat-bubble-content {
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-bubble-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--surface-border-subtle);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.btn-copy-bubble {
    background: transparent;
    border: none;
    color: var(--brand-blue);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.btn-copy-bubble:hover {
    background: var(--brand-blue-light);
}

/* Chat Input Bar */
.demo-chat-input-bar {
    padding: 1.25rem 1.8rem;
    background: #ffffff;
    border-top: 1px solid var(--surface-border);
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.demo-chat-input {
    flex-grow: 1;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    font-size: 0.98rem;
    font-family: var(--font-heading);
    color: var(--text-headline);
    background: var(--surface-grey);
    outline: none;
    transition: all 0.2s ease;
}

.demo-chat-input:focus {
    background: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.demo-chat-send-btn {
    background: var(--brand-blue);
    color: #ffffff;
    border: none;
    padding: 0.9rem 1.6rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.96rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.demo-chat-send-btn:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-1px);
}

.demo-chat-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Thinking Indicator */
.chat-thinking {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    color: var(--text-muted);
}

.thinking-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-blue);
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.thinking-dot:nth-child(1) { animation-delay: -0.32s; }
.thinking-dot:nth-child(2) { animation-delay: -0.16s; }
.thinking-dot:nth-child(3) { animation-delay: 0s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@media (max-width: 700px) {
    .demo-chat-prompts {
        padding: 0.75rem 1rem;
    }
    .demo-chat-messages {
        padding: 1.25rem 1rem;
    }
    .demo-chat-input-bar {
        padding: 0.85rem 1rem;
    }
    .chat-bubble {
        max-width: 90%;
    }
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.model-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.model-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.model-section-header {
    margin-bottom: 3.2rem;
    text-align: left;
}

.section-kicker {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-blue);
    display: inline-block;
    margin-bottom: 0.85rem;
}

.section-kicker::before {
    content: '● ';
    font-size: 0.65rem;
    margin-right: 4px;
}

.model-section-header h2 {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-headline);
    line-height: 1.18;
    margin: 0 0 1rem;
}

.model-section-header p.section-sublead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-lead);
    max-width: 820px;
    margin: 0;
}

/* ==========================================================================
   Agency / Marketer Callout Card
   ========================================================================== */
.marketer-thesis-card {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-left: 5px solid var(--brand-blue);
    border-radius: 16px;
    padding: 2.2rem 2.6rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    margin-bottom: 3.5rem;
}

.marketer-thesis-card h3 {
    margin: 0 0 0.85rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-headline);
}

.marketer-thesis-desc {
    font-size: 1.12rem;
    line-height: 1.68;
    color: var(--text-lead);
    margin: 0;
}

.marketer-thesis-desc strong {
    color: var(--text-headline);
}

/* ==========================================================================
   Head-to-Head Comparison Cards
   ========================================================================== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.comparison-card {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.comparison-card.card-frontier {
    border-top: 4px solid #94a3b8;
}

.comparison-card.card-resonance {
    border-top: 4px solid var(--brand-blue);
    box-shadow: 0 10px 32px rgba(37, 99, 235, 0.08);
}

.card-header-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.model-name-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.tag-frontier {
    background: #f1f5f9;
    color: #475569;
}

.tag-resonance {
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.prompt-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.prompt-text-box {
    background: var(--surface-grey-alt);
    border: 1px solid var(--surface-border-subtle);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.86rem;
    color: var(--text-lead);
    margin-bottom: 1.25rem;
    font-family: var(--font-mono);
}

.output-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.output-quote-box {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-headline);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-frontier .output-quote-box {
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    color: #475569;
}

.card-resonance .output-quote-box {
    background: #f0f7ff;
    border-left: 3px solid var(--brand-blue);
    color: #0f172a;
    font-weight: 500;
}

.outcome-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
}

.outcome-fail {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.outcome-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.outcome-delta {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.15rem;
}

@media (max-width: 800px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Training Architecture Pipeline
   ========================================================================== */
.pipeline-diagram {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
    margin: 3rem 0;
}

.pipeline-step {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pipeline-step:hover {
    transform: translateY(-3px);
    border-color: var(--brand-blue);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-blue);
    background: var(--brand-blue-light);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 1rem;
}

.pipeline-step h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-headline);
    margin: 0 0 0.75rem;
}

.pipeline-step p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-lead);
    margin: 0;
}

.pipeline-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 1.2rem;
    display: block;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--surface-border);
}

@media (max-width: 900px) {
    .pipeline-diagram {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pipeline-diagram {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Model Technical Specifications Table
   ========================================================================== */
.specs-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    margin-bottom: 3.5rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.specs-table th {
    background: var(--surface-grey-alt);
    padding: 1.1rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--surface-border);
}

.specs-table td {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--surface-border-subtle);
    font-size: 0.95rem;
    color: var(--text-headline);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td.spec-name {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--brand-blue);
    width: 28%;
}

.specs-table td.spec-val {
    font-weight: 500;
}

.specs-table td.spec-val code {
    font-family: var(--font-mono);
    background: var(--surface-grey-alt);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.88rem;
    color: var(--brand-blue);
}

/* ==========================================================================
   Interactive Code Terminal (OpenAI Drop-In API)
   ========================================================================== */
.code-terminal-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.4);
    margin: 3rem 0;
}

.terminal-topbar {
    background: #1e293b;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #334155;
}

.terminal-tabs {
    display: flex;
    gap: 0.5rem;
}

.terminal-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.terminal-tab-btn.is-active,
.terminal-tab-btn:hover {
    background: #334155;
    color: #f8fafc;
}

.terminal-meta {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #64748b;
}

.terminal-code-body {
    padding: 1.5rem;
    overflow-x: auto;
}

.terminal-code-body pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.65;
    color: #f1f5f9;
}

.c-kw { color: #f43f5e; font-weight: 600; }
.c-str { color: #34d399; }
.c-func { color: #38bdf8; font-weight: 600; }
.c-comment { color: #64748b; font-style: italic; }
.c-num { color: #fbbf24; }
.c-key { color: #a78bfa; }

/* ==========================================================================
   Model Feature Cards (3-Col Grid)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2.2rem 1.8rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-box:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
}

.feature-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.feature-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-headline);
    margin: 0 0 0.85rem;
}

.feature-box p {
    font-size: 0.95rem;
    line-height: 1.62;
    color: var(--text-lead);
    margin: 0;
}

@media (max-width: 850px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Interactive Model Waitlist / API Access Card
   ========================================================================== */
.waitlist-card {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
}

.waitlist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-blue), #38bdf8, #6366f1);
}

.waitlist-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.waitlist-copy h3 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-headline);
    margin: 0 0 1rem;
    line-height: 1.18;
}

.waitlist-copy p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-lead);
    margin: 0 0 1.5rem;
}

.waitlist-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.waitlist-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-headline);
}

.waitlist-points li span.check-icon {
    color: #10b981;
    font-weight: 800;
}

.waitlist-form {
    background: var(--surface-grey);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    color: var(--text-headline);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-waitlist-submit {
    width: 100%;
    background: var(--brand-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.95rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-waitlist-submit:hover {
    background: var(--brand-blue-hover);
}

.form-status-msg {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 900px) {
    .waitlist-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .waitlist-card {
        padding: 2rem;
    }
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 3rem 0;
}

.faq-card {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    padding: 1.6rem 2rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
    transition: border-color 0.2s ease;
}

.faq-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
}

.faq-question {
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--text-headline);
    margin: 0 0 0.75rem;
}

.faq-answer {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-lead);
    margin: 0;
}
