/* ─── Design Tokens ─── */
:root {
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-tint: #f5f8ff;
    --surface: #ffffff;
    --surface-muted: #f8f9fa;
    --line: #e9ecef;
    --line-strong: #dde3ea;
    --text: #111827;
    --text-soft: #374151;
    --muted: #6c757d;
    --muted-soft: #94a3b8;
    --accent: #165dff;
    --accent-strong: #0f4fe0;
    --accent-soft: #eef4ff;
    --accent-green: #07c160;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 18px 42px rgba(15, 23, 42, 0.08);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --container-max: 1440px;
    --container-gutter: 56px;
    --section-gap: 112px;
    --section-gap-mobile: 72px;
    --section-inner-gap: 28px;
    --container: min(var(--container-max), calc(100% - (var(--container-gutter) * 2)));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    margin: 0; min-width: 320px;
    color: var(--text); background: var(--bg);
    font-family: Inter, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
ul, ol, dl { margin: 0; padding: 0; }
p, h1, h2, h3, h4 { margin: 0; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

/* ─── Skip Link ─── */
.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 100;
    padding: 12px 16px; border-radius: var(--radius);
    background: var(--accent); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ─── Layout ─── */
.container { width: var(--container); margin: 0 auto; }
.section { padding: var(--section-gap) 0; }
.section-soft { background: var(--bg-soft); }

/* ─── Section Heading ─── */
.section-heading { max-width: 680px; margin: 0 auto var(--section-inner-gap); text-align: center; }
.section-heading h2 {
    margin-top: 0; font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2; font-weight: 800; letter-spacing: -0.03em;
    color: var(--text);
}
.section-heading p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.section-heading-line { width: 40px; height: 3px; margin: 20px auto 0; background: var(--accent); border-radius: 999px; }
.section-actions { display: flex; justify-content: center; margin-top: 28px; gap: 12px; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 22px;
    border: 1px solid transparent; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; line-height: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 14px 30px rgba(22,93,255,0.18);
}
.btn-primary:hover { background: var(--accent-strong); }
.btn-secondary {
    background: var(--surface); border-color: var(--accent); color: var(--accent);
}
.btn-secondary:hover { background: var(--accent-soft); }
.btn-tertiary {
    background: var(--surface-muted); border-color: var(--line); color: var(--text);
}
.btn-tertiary:hover { background: var(--line); }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { min-height: 50px; padding: 0 28px; font-size: 15px; }
.text-link {
    color: var(--accent); font-weight: 600; font-size: 14px;
    text-decoration: underline; text-decoration-color: rgba(22,93,255,0.3);
    text-underline-offset: 3px; transition: color 0.2s;
}
.text-link:hover { color: var(--accent-strong); }

/* ─── Header ─── */
.site-header {
    position: sticky; top: 0; z-index: 30;
    padding: 16px 0 12px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: padding 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { padding: 10px 0; box-shadow: 0 8px 24px rgba(15,23,42,0.15); }
.header-bar { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12);
    flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brand-text strong { font-size: 15px; line-height: 1.2; color: #fff; }
.brand-text span { color: rgba(255,255,255,0.5); font-size: 12px; line-height: 1.2; }
.menu-toggle {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08);
    color: #fff; cursor: pointer; margin-left: auto;
}
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-list a { color: rgba(255,255,255,0.65); font-size: 14px; transition: color 0.25s; }
.nav-list a:hover { color: #fff; }
.header-bar > .btn { background: rgba(22,93,255,0.8); border-color: transparent; color: #fff; box-shadow: none; }
.header-bar > .btn:hover { background: var(--accent); }

/* ─── Hero ─── */
.hero {
    padding-top: 72px;
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 60%);
}
.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line);
    font-size: 13px; font-weight: 500; color: var(--text-soft); width: fit-content;
}
.hero-badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(7,193,96,0.18);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(7,193,96,0.18); }
    50% { box-shadow: 0 0 0 6px rgba(7,193,96,0.06); }
}
.hero-copy h1 {
    max-width: 11ch; font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.06; font-weight: 800; letter-spacing: -0.05em;
}
.text-accent { color: var(--accent); }
.hero-sub {
    max-width: 42ch; font-size: 15px; line-height: 1.75; color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-model-strip {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding-top: 8px;
}
.hero-model-label {
    font-size: 12px; font-weight: 700;
    color: var(--muted-soft); letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-model-pill {
    padding: 5px 12px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line);
    font-size: 12px; font-weight: 600; color: var(--text-soft);
}
.hero-model-more {
    font-size: 12px; font-weight: 600; color: var(--accent);
    transition: opacity 0.2s;
}
.hero-model-more:hover { opacity: 0.75; }

/* Hero Visual */
.hero-visual { min-width: 0; }
.hero-shell {
    padding: 24px; border-radius: 22px;
    background: var(--surface); box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
}
.hero-shell-top {
    display: flex; justify-content: space-between; align-items: center;
}
.hero-shell-title { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: 0.06em; text-transform: uppercase; }
.hero-shell-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: var(--accent-green);
}
.hero-shell-status::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(7,193,96,0.18);
}
.hero-console {
    display: grid; grid-template-columns: 148px 1fr;
    gap: 18px; padding: 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    margin-top: 16px;
}
.hero-console-sidebar { padding-right: 16px; border-right: 1px solid var(--line); }
.hero-console-brand { font-size: 13px; font-weight: 700; color: var(--text); }
.hero-console-nav { display: grid; gap: 6px; margin-top: 12px; }
.hero-console-nav span {
    padding: 7px 10px; border-radius: 8px;
    color: var(--muted); font-size: 12px; background: rgba(255,255,255,0.8);
}
.hero-console-nav span.is-active {
    color: var(--accent); background: var(--accent-soft); font-weight: 600;
}
.hero-console-head strong { display: block; font-size: 15px; line-height: 1.3; }
.hero-console-head span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.hero-flow { display: grid; gap: 10px; margin-top: 14px; }
.hero-flow-card {
    padding: 14px 16px; border-radius: 12px;
    background: var(--surface-muted);
}
.hero-flow-card strong { display: block; font-size: 14px; line-height: 1.3; }
.hero-flow-card span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.hero-flow-row { display: flex; align-items: center; gap: 8px; }
.hero-flow-row-item {
    flex: 1; padding: 8px 6px; border-radius: 8px;
    background: var(--surface-muted); font-size: 11px; color: var(--muted);
    text-align: center; font-weight: 500;
}
.hero-flow-row-arrow { font-size: 14px; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.hero-model-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hero-model-badge {
    padding: 4px 10px; border-radius: 6px;
    background: var(--accent-soft); color: var(--accent);
    font-size: 11px; font-weight: 700;
}

/* ─── Value Grid ─── */
.value-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.value-item {
    display: flex; flex-direction: column; gap: 16px;
    padding: 28px 22px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line);
    transition: transform 0.25s, box-shadow 0.25s;
}
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
    display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--accent-soft); color: var(--accent); flex-shrink: 0;
}
.value-item h3 { font-size: 17px; font-weight: 700; }
.value-item p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─── Trust Strip ─── */
.trust-strip {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px; margin-bottom: 32px;
}
.trust-strip span {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 34px; padding: 0 14px; border-radius: 999px;
    background: var(--surface-muted); color: var(--text-soft);
    font-size: 13px; font-weight: 500;
}

/* ─── Models Grid ─── */
.models-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.model-card {
    display: flex; flex-direction: column; gap: 12px;
    padding: 22px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line);
    transition: transform 0.25s, box-shadow 0.25s;
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.model-card-primary {
    background: linear-gradient(160deg, #eef4ff 0%, #ffffff 100%);
    border-color: rgba(22,93,255,0.16);
}
.model-card-icon {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent);
    font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.model-card-primary .model-card-icon { background: var(--accent); color: #fff; }
.model-card h3 { font-size: 16px; font-weight: 700; margin-top: 2px; }
.model-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.model-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 4px; }
.model-tags li {
    padding: 4px 10px; border-radius: 999px;
    background: var(--surface-muted); border: 1px solid var(--line);
    color: var(--text-soft); font-size: 12px; font-weight: 500;
}

/* ─── Use Cases ─── */
.use-cases-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.use-case-card {
    display: flex; flex-direction: column; gap: 12px;
    padding: 24px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line);
    transition: transform 0.25s, box-shadow 0.25s;
}
.use-case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.use-case-icon {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent);
    font-size: 18px;
}
.use-case-card h3 { font-size: 16px; font-weight: 700; }
.use-case-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─── Stats ─── */
.stats-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
}
.stat-item {
    display: flex; flex-direction: column; align-items: center;
    padding: 36px 24px;
    border-right: 1px solid var(--line);
    text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: clamp(32px, 4vw, 48px); font-weight: 800;
    color: var(--accent); letter-spacing: -0.04em; line-height: 1;
}
.stat-unit {
    font-size: 18px; font-weight: 700; color: var(--accent);
}
.stat-label {
    margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.5;
}

/* ─── Partners ─── */
.partners-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 32px; opacity: 0.55;
}
.partners-strip span {
    font-size: 15px; font-weight: 700; color: var(--muted);
    letter-spacing: 0.04em;
}

/* ─── Support Cards ─── */
.support-cards {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.support-card {
    display: flex; flex-direction: column; gap: 16px;
    padding: 28px 24px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line);
    transition: transform 0.25s, box-shadow 0.25s;
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.support-card-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent);
    font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
}
.support-card h3 { font-size: 18px; font-weight: 700; }
.support-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }
.support-card .btn { align-self: flex-start; }

/* ─── Integration CTA ─── */
.integration-cta {
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    border: 1px solid var(--line); overflow: hidden; margin-top: 40px;
}
.integration-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; padding: 36px 40px;
}
.integration-cta-text h3 { font-size: 20px; font-weight: 800; }
.integration-cta-text p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.integration-cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; flex-shrink: 0; }

/* ─── FAQ ─── */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
    border-radius: 16px; background: var(--surface);
    border: 1px solid var(--line); overflow: hidden;
}
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    gap: 20px; padding: 22px 26px; border: none; background: transparent;
    color: var(--text); text-align: left; cursor: pointer;
    font-size: 15px; font-weight: 600; transition: background 0.2s;
}
.faq-question:hover { background: var(--surface-muted); }
.faq-icon {
    display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0;
    border-radius: 50%; background: var(--accent-soft); color: var(--accent);
    font-size: 16px; line-height: 1; transition: transform 0.25s;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
    padding: 0 26px 22px; font-size: 14px; color: var(--text-soft); line-height: 1.75;
}
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 10px; }
.faq-answer code {
    font-family: monospace; font-size: 12px; padding: 2px 6px; border-radius: 4px;
    background: var(--accent-soft); color: var(--accent);
}
.faq-inline-link {
    color: var(--accent); font-weight: 600; font-size: 14px;
    text-decoration: underline; text-decoration-color: rgba(22,93,255,0.3);
    text-underline-offset: 3px; cursor: pointer;
}
.faq-inline-link:hover { color: var(--accent-strong); }
.faq-still-stuck {
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
    margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line);
    font-size: 14px; color: var(--muted);
}

/* ─── CTA Section ─── */
.cta-section { padding: 80px 0; }
.cta-card {
    text-align: center; padding: 64px 32px; border-radius: var(--radius-xl);
    background: linear-gradient(150deg, #1a2d6e 0%, #165dff 60%, #3d7fff 100%);
    color: #fff;
}
.cta-card h2 {
    font-size: clamp(26px, 3.5vw, 38px); font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.15;
}
.cta-card p { font-size: 15px; color: rgba(255,255,255,0.75); margin-top: 14px; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.cta-card .btn-primary {
    background: #fff; color: var(--accent);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cta-card .btn-primary:hover { background: #f0f0f0; }
.cta-card .btn-secondary {
    background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); color: #fff;
}
.cta-card .btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* ─── Footer ─── */
.site-footer { display: block; padding: 0 0 48px; }
.footer-shell {
    display: grid; grid-template-columns: 1.15fr 0.9fr 0.9fr 0.9fr;
    gap: 32px; padding-top: 48px; border-top: 1px solid var(--line);
}
.footer-column { min-width: 0; }
.footer-column > h3 { margin-top: 0; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: 36px; height: 36px; border-radius: 8px; }
.footer-logo strong { font-size: 16px; line-height: 1.3; }
.footer-brand > div { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 30ch; }
.footer-meta { font-size: 12px; color: var(--muted-soft); margin-top: 8px; }
.footer-nav { display: grid; gap: 12px; }
.footer-nav a, .footer-contact-list a { color: var(--text-soft); font-size: 13px; transition: color 0.2s; }
.footer-nav a:hover, .footer-contact-list a:hover { color: var(--accent); }
.footer-contact-list { display: grid; gap: 16px; }
.footer-label {
    display: block; color: var(--muted-soft); font-size: 11px;
    font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px;
}
.footer-link-plain {
    color: var(--text-soft); font-size: 13px; transition: color 0.2s;
    cursor: pointer; display: inline;
}
.footer-link-plain:hover { color: var(--accent); }
.footer-bottom-bar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
}
.footer-bottom-item { color: var(--muted); font-size: 12px; line-height: 1.6; }

/* ─── Support Modal ─── */
.support-modal {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    visibility: hidden; opacity: 0;
    transition: visibility 0.25s, opacity 0.25s;
}
.support-modal.is-open { visibility: visible; opacity: 1; }
.support-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(15,23,42,0.55); backdrop-filter: blur(4px);
}
.support-modal-card {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    width: min(360px, calc(100vw - 32px));
    padding: 36px 32px 32px; border-radius: var(--radius-xl);
    background: #fff; box-shadow: var(--shadow-md); text-align: center;
    transform: scale(0.95);
    transition: transform 0.25s;
}
.support-modal.is-open .support-modal-card { transform: scale(1); }
.support-modal-close {
    position: absolute; top: 14px; right: 14px;
    display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
    border: none; background: var(--surface-muted); color: var(--muted);
    cursor: pointer; transition: background 0.2s;
}
.support-modal-close:hover { background: var(--line); color: var(--text); }
.support-modal-icon {
    display: grid; place-items: center; width: 56px; height: 56px;
    border-radius: 16px; background: #e8f9ef;
}
.support-modal-title { font-size: 20px; font-weight: 800; margin-top: 4px; }
.support-modal-desc { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 26ch; }
.support-modal-qr {
    padding: 12px; border-radius: var(--radius);
    background: var(--surface-muted); border: 1px solid var(--line);
}
.support-modal-qr img { width: 180px; height: 180px; object-fit: contain; }
.qr-fallback {
    width: 180px; height: 180px; display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 13px; background: var(--line); border-radius: var(--radius);
}
.support-modal-note { font-size: 12px; color: var(--muted-soft); }
.support-modal-actions { display: flex; gap: 10px; width: 100%; }
.support-modal-actions .btn { flex: 1; }

/* ─── Mobile CTA ─── */
.mobile-cta {
    position: fixed; left: 50%; bottom: 16px; z-index: 35;
    width: min(560px, calc(100% - 24px));
    transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-cta.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.mobile-cta-shell {
    padding: 10px; border-radius: 14px;
    background: rgba(17,24,39,0.92); box-shadow: var(--shadow-md);
}
.mobile-cta .btn { width: 100%; }

/* ─── Scroll Reveal ─── */
.js [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ─── 1200px ─── */
@media (max-width: 1200px) {
    :root { --container-gutter: 36px; --section-gap: 88px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-copy { align-items: center; text-align: center; }
    .hero-copy h1 { max-width: none; }
    .hero-sub { max-width: none; }
    .hero-actions { justify-content: center; }
    .hero-badge { margin: 0 auto; }
    .hero-visual { max-width: 540px; margin: 0 auto; }
    .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--line); }
    .stat-item:nth-child(2n) { border-bottom: none; }
    .use-cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-shell { grid-template-columns: 1fr 1fr; }
    .integration-cta-inner { padding: 28px 32px; }
}

/* ─── 768px ─── */
@media (max-width: 768px) {
    :root { --container-gutter: 18px; --section-gap: var(--section-gap-mobile); }
    .section { padding: var(--section-gap-mobile) 0; }
    .menu-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; top: calc(100% + 8px); left: 18px; right: 18px;
        padding: 14px; border: 1px solid var(--line); border-radius: 16px;
        background: rgba(15,23,42,0.97); opacity: 0; transform: translateY(-8px);
        pointer-events: none; transition: opacity 0.25s, transform 0.25s;
    }
    .site-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 6px; }
    .nav-list a { padding: 8px 0; }
    .header-bar > .btn { display: none; }
    .hero { padding-top: 48px; }
    .hero-copy { align-items: center; text-align: center; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-badge { margin: 0 auto; }
    .hero-shell { padding: 18px; }
    .hero-console { grid-template-columns: 1fr; }
    .hero-console-sidebar { padding-right: 0; padding-bottom: 12px; border-right: none; border-bottom: 1px solid var(--line); }
    .hero-console-nav { grid-template-columns: repeat(4, 1fr); }
    .value-grid { grid-template-columns: 1fr; }
    .models-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .use-cases-grid { grid-template-columns: 1fr; }
    .support-cards { grid-template-columns: 1fr; }
    .integration-cta-inner { flex-direction: column; padding: 24px 20px; gap: 20px; }
    .footer-shell { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom-bar { grid-template-columns: 1fr; }
    .mobile-cta { display: block; }
}
@media (min-width: 769px) { .mobile-cta { display: none; } }

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
