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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.hero,
.agent-skill-banner,
.trust-bar,
.mcp-section,
.compare-section,
.use-cases,
.explore-section,
.endpoints,
.cta,
.faq {
    position: relative;
}

.trust-bar::before,
.agent-skill-banner::before,
.mcp-section::before,
.compare-section::before,
.use-cases::before,
.explore-section::before,
.endpoints::before,
.cta::before,
.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-soft), transparent);
    pointer-events: none;
}

/* shared section label */
.section-eyebrow {
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

/* button_to generates a <form>. We style the form to look like the button
   and strip the inner <button> back to transparent so it fills the form. */
form.btn-form {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
    transition: all 0.18s ease;
    cursor: pointer;
}
form.btn-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.5);
}
form.btn-form button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: none;
    border: none;
    color: var(--text-bright);
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}
form.btn-form.btn-large button {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.18s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-bright);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border-soft);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   HERO — split asymmetric layout
   ═══════════════════════════════════════════════════════════ */
.hero {
    padding: 9.5rem 2rem 5.5rem;
    background:
        radial-gradient(ellipse at 18% 20%, rgba(var(--primary-rgb), 0.08), transparent 42%),
        radial-gradient(ellipse at 82% 18%, rgba(var(--accent-rgb), 0.05), transparent 40%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    position: relative;
    overflow: hidden;
}

/* subtle grid texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* radial glow top-left */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* ── Left: copy ── */
.hero-left { max-width: 600px; min-width: 0; }

.hero-eyebrow {
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.hero-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.hero-brand-name,
.hero-brand-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    line-height: 1;
}

.hero-brand-name {
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.26);
    color: var(--text-bright);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-brand-tag {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18), rgba(var(--primary-rgb), 0.08));
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-left h1 {
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
}

.hero-accent {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-plus {
    color: var(--primary);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ── Right: terminal ── */
.hero-right {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 960px) {
    .hero-right { justify-content: flex-start; }
    .hero-left h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
    .hero-brand-lockup { gap: 0.5rem; margin-bottom: 1rem; }
    .hero-brand-name,
    .hero-brand-tag { padding: 0.52rem 0.84rem; }
}

/* ═══════════════════════════════════════════════════════════
   TERMINAL WIDGET
   ═══════════════════════════════════════════════════════════ */
.terminal-widget {
    width: 100%;
    max-width: 560px;
    background: rgba(var(--bg-rgb), 0.78);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.08),
        0 32px 64px rgba(var(--bg-rgb), 0.65),
        0 0 80px rgba(var(--primary-rgb), 0.06);
    animation: termFadeIn 0.8s ease-out 0.3s both;
}

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

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: rgba(var(--bg-rgb), 0.55);
    border-bottom: 1px solid var(--border);
}

.terminal-dots { display: flex; gap: 6px; }

.tdot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.tdot.red    { background: var(--danger); }
.tdot.yellow { background: var(--warning); }
.tdot.green  { background: var(--success); }

.terminal-title {
    margin-left: 0.75rem;
    font-family: 'JetBrains Mono', 'Monaco', monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.terminal-live {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--success);
}

.terminal-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

.terminal-body {
    padding: 1.25rem 1.5rem 1.5rem;
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.8rem;
    line-height: 1.65;
    height: 420px;
    overflow: hidden;
    transition: opacity 0.35s ease;
    color: var(--text-bright);
}

.terminal-body.fading { opacity: 0; }

.t-prompt { color: var(--success); user-select: none; }
.t-cmd    { color: var(--text-bright); }
.t-url    { color: var(--primary-light); }
.t-header { color: var(--text-muted); }
.t-status { color: var(--primary); font-weight: 600; }
.t-key    { color: var(--primary-light); }
.t-str    { color: var(--success); }
.t-num    { color: var(--accent); }
.t-punc   { color: var(--text-muted); }

/* ── Chat mode ─────────────────────────────────────────── */
.terminal-body.chat-mode {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem;
    overflow: hidden;
}

.chat-msg {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 100%;
}
.chat-msg.visible { opacity: 1; transform: translateY(0); }
.chat-msg-user    { flex-direction: row-reverse; }
.chat-msg-ai      { align-items: flex-start; }

.chat-avatar-ai {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.25);
    margin-top: 2px;
}

.chat-avatar-ai img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chat-bubble {
    max-width: 84%;
    padding: 0.625rem 0.9rem;
    border-radius: 18px;
    font-size: 0.815rem;
    line-height: 1.6;
    white-space: normal;
    word-break: break-word;
}
.chat-bubble-user {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-bright);
    border-bottom-right-radius: 4px;
    box-shadow: 0 3px 14px rgba(var(--primary-rgb), 0.4);
}
.chat-bubble-ai {
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid var(--border);
    color: var(--text-bright);
    border-top-left-radius: 4px;
}

.chat-chunk { opacity: 0; animation: chunkIn 0.2s ease forwards; }
@keyframes chunkIn { to { opacity: 1; } }

/* ── Stats block (key data, shown before the prose) ────── */
.chat-stats {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-soft);
}

.chat-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.2rem 0;
}

.chat-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-stat-row.winner .chat-stat-label {
    color: var(--text-bright);
    font-weight: 600;
}

.chat-stat-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.chat-stat-row.winner .chat-stat-value {
    color: var(--primary);
}

.chat-thinking {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem 0.4rem 0.6rem;
    margin-left: 36px;
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid var(--border-soft);
    border-radius: 100px;
    width: fit-content;
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.chat-thinking.visible { opacity: 1; transform: translateY(0); }

.chat-thinking-done {
    background: rgba(var(--primary-rgb), 0.07);
    border-color: rgba(var(--primary-rgb), 0.2);
    color: var(--primary);
    font-weight: 500;
}

.chat-thinking-done::before {
    content: '✓';
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 0.15rem;
}

.think-dots { display: inline-flex; gap: 3px; align-items: center; }
.think-dots span {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--primary);
    animation: thinkBounce 1.3s infinite;
    opacity: 0.6;
}
.think-dots span:nth-child(2) { animation-delay: 0.18s; }
.think-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes thinkBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%           { transform: translateY(-3px); opacity: 1; }
}

.t-cursor-user {
    display: inline-block;
    width: 7px; height: 1em;
    background: var(--text-bright);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
    margin-left: 1px;
    border-radius: 1px;
}
.t-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background: var(--primary);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
    margin-left: 1px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.term-line {
    display: block;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: pre;
}

.term-line.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   AGENT SKILL BANNER
   ═══════════════════════════════════════════════════════════ */
.agent-skill-banner {
    padding: 0 2rem 2.25rem;
    margin-top: -2rem;
    background: var(--bg-deep);
    z-index: 2;
}

.agent-skill-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1rem 1rem 1.15rem;
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(var(--primary-rgb), 0.14), transparent 36%),
        linear-gradient(135deg, rgba(var(--bg-rgb), 0.82), rgba(var(--bg-rgb), 0.56));
    box-shadow:
        0 24px 60px rgba(var(--bg-rgb), 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
    position: relative;
}

.agent-skill-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.08), transparent 28%),
        linear-gradient(120deg, transparent 52%, rgba(var(--accent-rgb), 0.06));
    pointer-events: none;
}

.agent-skill-icon,
.agent-skill-copy,
.agent-skill-actions {
    position: relative;
    z-index: 1;
}

.agent-skill-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--primary-light);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 0 24px rgba(var(--primary-rgb), 0.12);
}

.agent-skill-kicker {
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.agent-skill-copy h2 {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-bright);
    margin: 0 0 0.2rem;
}

.agent-skill-copy p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
    max-width: 680px;
}

.agent-skill-copy p strong {
    color: var(--text-bright);
    font-weight: 700;
}

.agent-skill-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.agent-skill-url,
.agent-skill-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, gap 0.15s ease;
}

.agent-skill-url {
    gap: 0;
    padding: 0.68rem 0.9rem;
    border-radius: 999px;
    background: rgba(var(--bg-rgb), 0.58);
    border: 1px solid var(--border-soft);
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.78rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

button.agent-skill-url {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: inherit;
}

.agent-skill-url span { color: var(--text-muted); }
.agent-skill-url strong { color: var(--primary-light); font-weight: 700; }

.agent-skill-url:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    background: rgba(var(--primary-rgb), 0.06);
}

.agent-skill-url:focus-visible {
    outline: none;
    border-color: rgba(var(--primary-rgb), 0.55);
    box-shadow:
        0 0 0 3px rgba(var(--primary-rgb), 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.agent-skill-url.is-copied {
    border-color: rgba(var(--primary-rgb), 0.48);
    background: rgba(var(--primary-rgb), 0.12);
}

.agent-skill-copy-svg {
    flex: 0 0 auto;
    margin-left: 0.55rem;
    color: var(--primary);
    opacity: 0.72;
    transition: transform 0.18s ease, opacity 0.18s ease, color 0.18s ease;
}

.agent-skill-url:hover .agent-skill-copy-svg,
.agent-skill-url.is-copied .agent-skill-copy-svg {
    opacity: 1;
    color: var(--primary-light);
    transform: translateY(-1px);
}

.agent-skill-link {
    gap: 0.4rem;
    padding: 0.68rem 0.95rem 0.68rem 1rem;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    font-size: 0.82rem;
    font-weight: 700;
}

.agent-skill-link:hover {
    gap: 0.6rem;
    color: var(--primary-light);
    background: rgba(var(--primary-rgb), 0.16);
    border-color: rgba(var(--primary-rgb), 0.38);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════ */
.trust-bar {
    background: var(--bg-deep);
    padding: 1.5rem 2rem;
}

.trust-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 1rem;
}

.trust-bar-global {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

.trust-item {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0 2rem;
}

.trust-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -0.02em;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.trust-sep {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
}

.explore-freshness {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    padding: 0 1rem;
}

.trust-freshness-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0.72rem 1.2rem 0.72rem 1rem;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at 12% 50%, rgba(var(--success-rgb), 0.16), transparent 36%),
        linear-gradient(135deg, rgba(var(--bg-rgb), 0.74), rgba(var(--bg-rgb), 0.42));
    border: 1px solid rgba(var(--success-rgb), 0.24);
    box-shadow:
        0 18px 44px rgba(var(--bg-rgb), 0.32),
        0 0 0 1px rgba(var(--success-rgb), 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.trust-freshness-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055), transparent 32%),
        linear-gradient(120deg, transparent 56%, rgba(var(--success-rgb), 0.08));
    pointer-events: none;
    z-index: 0;
}

.trust-freshness-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 4px rgba(var(--success-rgb), 0.12),
        0 0 22px rgba(var(--success-rgb), 0.45);
    animation: livePulse 2s infinite;
}

.trust-freshness-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-bright);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 18px rgba(var(--success-rgb), 0.18);
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .trust-sep { display: none; }
    .trust-item { padding: 0 1rem; }
    .trust-freshness-pill {
        width: 100%;
        justify-content: center;
        padding: 0.78rem 1rem;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   MCP SECTION
   ═══════════════════════════════════════════════════════════ */
.mcp-section {
    padding: 7rem 2rem;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
}

.mcp-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.mcp-text, .mcp-code-wrap { min-width: 0; }

@media (max-width: 960px) {
    .mcp-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.mcp-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-bright);
    margin-bottom: 1.25rem;
}

.mcp-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.mcp-text p strong { color: var(--text-bright); font-weight: 600; }

.mcp-tools-label {
    font-family: 'JetBrains Mono', 'Monaco', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.mcp-text p.mcp-tools-more {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.01em;
    margin-bottom: 0;
}

.mcp-tool-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mcp-tool-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.625rem 0.875rem;
    background: rgba(var(--bg-rgb), 0.55);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.15s, background 0.15s;
}

.mcp-tool-item:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.04);
}

.mcp-tool-item code {
    font-family: 'JetBrains Mono', 'Monaco', monospace;
    font-size: 0.8rem;
    color: var(--primary-subtle);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    min-width: 160px;
    flex-shrink: 0;
}

.mcp-tool-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* code block */
.code-block {
    background: rgba(var(--bg-rgb), 0.72);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: 0 20px 50px rgba(var(--bg-rgb), 0.38);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    margin-bottom: 1.25rem;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: rgba(var(--bg-rgb), 0.55);
    border-bottom: 1px solid var(--border);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.code-dot.red    { background: var(--danger); }
.code-dot.yellow { background: var(--warning); }
.code-dot.green  { background: var(--success); }

.code-title {
    margin-left: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', 'Monaco', monospace;
}

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

.code-body pre {
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.82rem;
    line-height: 1.75;
    text-align: left;
    color: var(--text-bright);
}

.code-comment { color: var(--text-subtle); }
.code-string  { color: var(--success); }
.code-key     { color: var(--primary-light); }
.code-number  { color: var(--accent); }

.mcp-code-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mcp-compat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}

.mcp-compat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.compat-chip {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════════════════ */
.compare-section {
    padding: 7rem 2rem;
    background: var(--bg);
}

.compare-inner {
    max-width: 860px;
    margin: 0 auto;
}

.compare-inner h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-bright);
    margin-bottom: 0.875rem;
}

.compare-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.comparison-matrix-wrap {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(var(--primary-rgb), 0.16);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(var(--primary-rgb), 0.08), transparent 52%),
        rgba(var(--bg-rgb), 0.45);
    box-shadow:
        0 18px 45px rgba(var(--bg-rgb), 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.comparison-matrix {
    min-width: 760px;
}

.comparison-matrix-row {
    display: grid;
    grid-template-columns: 34% 36% 30%;
    border-bottom: 1px solid var(--border);
}

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

.comparison-matrix-cell {
    min-width: 0;
    padding: 1rem 1.25rem;
    line-height: 1.45;
}

.comparison-matrix-head .comparison-matrix-cell {
    background: rgba(var(--bg-rgb), 0.72);
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.comparison-matrix-carstat {
    background:
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.075), rgba(var(--primary-rgb), 0.035));
    box-shadow:
        inset 1px 0 0 rgba(var(--primary-rgb), 0.24),
        inset -1px 0 0 rgba(var(--primary-rgb), 0.24);
}

.comparison-matrix-head .comparison-matrix-carstat {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(var(--primary-rgb), 0.2), transparent 70%),
        rgba(var(--primary-rgb), 0.09);
}

.comparison-matrix-row:not(.comparison-matrix-head):hover .comparison-matrix-cell {
    background: rgba(var(--primary-rgb), 0.025);
}

.comparison-matrix-row:not(.comparison-matrix-head):hover .comparison-matrix-carstat {
    background: rgba(var(--primary-rgb), 0.07);
}

.compare-table-wrap {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(var(--primary-rgb), 0.16);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(var(--primary-rgb), 0.08), transparent 52%),
        rgba(var(--bg-rgb), 0.45);
    box-shadow:
        0 18px 45px rgba(var(--bg-rgb), 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
}

.compare-table th,
.compare-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.45;
}

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

.compare-table thead tr th {
    background: rgba(var(--bg-rgb), 0.72);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-soft);
}

.col-feature { width: 34%; }

.col-carstat {
    width: 36%;
    background:
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.075), rgba(var(--primary-rgb), 0.035));
    box-shadow:
        inset 1px 0 0 rgba(var(--primary-rgb), 0.24),
        inset -1px 0 0 rgba(var(--primary-rgb), 0.24);
}

.col-other { width: 30%; }

.compare-table thead .col-carstat {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(var(--primary-rgb), 0.2), transparent 70%),
        rgba(var(--primary-rgb), 0.09);
}

.compare-table tbody tr:hover td {
    background: rgba(var(--primary-rgb), 0.025);
}

.compare-table tbody tr:hover .col-carstat {
    background: rgba(var(--primary-rgb), 0.07);
}

.carstat-header {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.carstat-logo-text {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-transform: none;
}

.carstat-tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.26rem 0.48rem;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-name {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.feature-name span:first-child {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.feature-note {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

.col-carstat.check {
    font-weight: 700;
    color: var(--success);
    font-size: 0.92rem;
}

.matrix-affirmative {
    color: var(--success);
    font-weight: 700;
    font-size: 0.92rem;
}

.matrix-strong {
    color: var(--text-bright);
    font-weight: 700;
    font-size: 0.92rem;
}

.matrix-qualified {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

.matrix-muted {
    color: var(--text-subtle);
    font-weight: 600;
}

.col-other.check {
    color: var(--success);
    font-weight: 600;
    font-size: 0.92rem;
}

.col-other.cross {
    color: var(--text-subtle);
    font-weight: 600;
    font-size: 0.92rem;
}

.col-other.partial {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   USE CASES
   ═══════════════════════════════════════════════════════════ */
.use-cases {
    padding: 7rem 2rem;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.use-cases-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.use-cases-inner h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-bright);
    margin-bottom: 3rem;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .use-case-grid { grid-template-columns: 1fr; }
}

.use-case-card {
    background: rgba(var(--bg-rgb), 0.58);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
    min-width: 0;
}

.use-case-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--bg-rgb), 0.8);
    transform: translateY(-3px);
}

.use-case-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.use-case-icon svg { width: 22px; height: 22px; }

.uc-ai         { background: rgba(var(--primary-rgb), 0.1); color: var(--primary-light); }
.uc-dev        { background: rgba(var(--primary-rgb), 0.1); color: var(--primary-light); }
.uc-fleet      { background: rgba(var(--success-rgb), 0.1); color: var(--success); }
.uc-safety     { background: rgba(var(--accent-rgb), 0.1);  color: var(--warning); }
.uc-marketplace{ background: rgba(var(--accent-rgb), 0.1);  color: var(--accent); }
.uc-recall     { background: rgba(var(--danger-rgb), 0.1);  color: var(--danger); }

.use-case-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-bright);
}

.use-case-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.use-case-code {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.use-case-code code {
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.73rem;
    color: var(--primary-subtle);
    background: rgba(var(--primary-rgb), 0.07);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Data section styles moved to data_depth.css */

/* ═══════════════════════════════════════════════════════════
   EXPLORE DATA GRID
   ═══════════════════════════════════════════════════════════ */
.explore-section {
    padding: 7rem 2rem;
    background: var(--bg-deep);
}

.explore-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.explore-inner h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-bright);
    margin-bottom: 3rem;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.explore-card {
    background: rgba(var(--bg-rgb), 0.62);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Per-card top accent stripe — always visible, signals interactivity */
.explore-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    transition: opacity 0.25s;
    opacity: 0.5;
}

.explore-card:has(.explore-specs)::before   { background: var(--primary); }
.explore-card:has(.explore-safety)::before  { background: var(--success); }
.explore-card:has(.explore-recalls)::before { background: var(--accent); }

/* Subtle color wash per card — makes each feel distinct */
.explore-card:has(.explore-specs)   { background: linear-gradient(160deg, rgba(var(--primary-rgb), 0.07) 0%, rgba(var(--bg-rgb), 0.72) 55%); }
.explore-card:has(.explore-safety)  { background: linear-gradient(160deg, rgba(var(--success-rgb), 0.07) 0%, rgba(var(--bg-rgb), 0.72) 55%); }
.explore-card:has(.explore-recalls) { background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.07) 0%, rgba(var(--bg-rgb), 0.72) 55%); }

.explore-card:hover {
    transform: translateY(-4px);
}

.explore-card:hover::before { opacity: 1; }

.explore-card:has(.explore-specs):hover   { border-color: rgba(var(--primary-rgb), 0.55); box-shadow: 0 16px 40px rgba(var(--bg-rgb), 0.35), 0 0 0 1px rgba(var(--primary-rgb), 0.15); }
.explore-card:has(.explore-safety):hover  { border-color: rgba(var(--success-rgb), 0.55); box-shadow: 0 16px 40px rgba(var(--bg-rgb), 0.35), 0 0 0 1px rgba(var(--success-rgb), 0.15); }
.explore-card:has(.explore-recalls):hover { border-color: rgba(var(--accent-rgb), 0.55);  box-shadow: 0 16px 40px rgba(var(--bg-rgb), 0.35), 0 0 0 1px rgba(var(--accent-rgb), 0.15); }

.explore-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.explore-card-icon svg { width: 22px; height: 22px; }

.explore-specs   { background: rgba(var(--primary-rgb), 0.1); color: var(--primary-light); }
.explore-safety  { background: rgba(var(--success-rgb), 0.1); color: var(--success); }
.explore-recalls { background: rgba(var(--accent-rgb), 0.1);  color: var(--accent); }

.explore-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-bright);
}

.explore-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 100px;
    padding: 0.35rem 0.85rem 0.35rem 0.75rem;
    transition: gap 0.15s, background 0.2s, border-color 0.2s;
    margin-top: auto;
}

.explore-card:has(.explore-safety)  .explore-link { color: var(--success); background: rgba(var(--success-rgb), 0.08); border-color: rgba(var(--success-rgb), 0.2); }
.explore-card:has(.explore-recalls) .explore-link { color: var(--accent); background: rgba(var(--accent-rgb), 0.08); border-color: rgba(var(--accent-rgb), 0.2); }

.explore-card:hover .explore-link                              { gap: 0.65rem; }
.explore-card:has(.explore-specs):hover   .explore-link { background: rgba(var(--primary-rgb), 0.18); border-color: rgba(var(--primary-rgb), 0.4); }
.explore-card:has(.explore-safety):hover  .explore-link { background: rgba(var(--success-rgb), 0.15); border-color: rgba(var(--success-rgb), 0.4); }
.explore-card:has(.explore-recalls):hover .explore-link { background: rgba(var(--accent-rgb), 0.15);  border-color: rgba(var(--accent-rgb), 0.4); }

/* ═══════════════════════════════════════════════════════════
   QUERY FLOW
   ═══════════════════════════════════════════════════════════ */
.endpoints {
    padding: 7rem 2rem;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
}

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

.endpoints-inner h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

.endpoints-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 3rem;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.flow-card {
    background: rgba(var(--bg-rgb), 0.58);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.flow-card-header {
    padding: 0.85rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.flow-card-specs   { background: rgba(var(--primary-rgb), 0.12); color: var(--primary-light); }
.flow-card-recalls { background: rgba(var(--accent-rgb), 0.12);  color: var(--accent); }
.flow-card-safety  { background: rgba(var(--success-rgb), 0.1); color: var(--success); }

.flow-card-steps {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.flow-step-row {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.flow-step-num {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.15rem;
    font-family: 'JetBrains Mono', monospace;
}

.flow-step-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.flow-step-path {
    font-family: 'JetBrains Mono', 'Monaco', monospace;
    font-size: 0.72rem;
    color: var(--text-bright);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flow-step-method {
    color: var(--success);
    margin-right: 0.35rem;
}

.flow-step-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.flow-connector {
    width: 1px;
    height: 1.25rem;
    background: var(--border);
    margin: 0.35rem 0 0.35rem 0.74rem;
}

.endpoints-footer { margin-top: 0.5rem; }

.endpoints-docs-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.15s;
}

.endpoints-docs-link:hover { gap: 0.65rem; }

/* ═══════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════ */
.cta {
    padding: 8rem 2rem;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(var(--primary-rgb), 0.08), transparent 48%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    text-align: center;
}

.cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-family: 'JetBrains Mono', 'Monaco', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

.cta p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.cta-form-wrap {
    display: contents;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.faq {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
}

.faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.faq h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-bright);
    margin-bottom: 3rem;
    line-height: 1.1;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-top: 1px solid var(--border);
    padding: 0;
}

.faq-item:last-child {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    color: var(--text-bright);
}

.faq-item p {
    padding: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

.faq-item p code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875em;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}

.faq-item p a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ═══════════════════════════════════════════════════════════
   HERO ENTRY ANIMATION
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation: fadeInUp 0.5s ease-out 0.1s both; }
.hero-left h1 { animation: fadeInUp 0.5s ease-out 0.2s both; }
.hero-sub      { animation: fadeInUp 0.5s ease-out 0.3s both; }
.hero-actions  { animation: fadeInUp 0.5s ease-out 0.4s both; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero { padding: 7rem 1.25rem 4rem; }

    .agent-skill-banner {
        padding: 0 1.25rem 1.5rem;
        margin-top: -1.25rem;
    }

    .agent-skill-inner {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        padding: 1.1rem;
    }

    .agent-skill-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .agent-skill-url,
    .agent-skill-link {
        white-space: normal;
    }

    .mcp-section,
    .compare-section,
    .use-cases,
    .explore-section,
    .data-section,
    .endpoints,
    .cta,
    .faq { padding: 5rem 1.25rem; }

    .flow-grid { grid-template-columns: 1fr; }
    .flow-step-path { font-size: 0.68rem; }

    .trust-bar { padding: 1rem 1.25rem; }
    .trust-item { padding: 0 0.75rem; }

    .compare-table th,
    .compare-table td { padding: 0.75rem 0.875rem; }

    .comparison-matrix-cell { padding: 0.75rem 0.875rem; }

    .col-feature { font-size: 0.82rem; }

    .mcp-tool-item { flex-wrap: wrap; }
    .mcp-tool-item code { min-width: 0; flex-shrink: 1; }

    .use-case-grid { grid-template-columns: 1fr; }

    .terminal-body { height: 520px; }

    .chat-avatar-ai {
        width: 36px;
        height: 36px;
        padding: 5px;
    }
}
