/* =============================================================
   GyroMind website — self-contained modern design system.
   No Bootstrap / INSPINIA / jQuery. Only this file + Font Awesome
   (open-licensed) for icons. Works in 10 languages incl. RTL.
   ============================================================= */

:root {
    --brand: #5b6ee1;
    --brand-2: #8b5cf6;
    --brand-3: #22d3ee;
    --grad: linear-gradient(120deg, #5b6ee1 0%, #8b5cf6 55%, #a855f7 100%);
    --ink: #0a0e1a;          /* darkest bg */
    --ink-2: #111726;        /* dark section */
    --ink-3: #1a2036;
    --text: #1b2230;         /* body text on light */
    --muted: #5c6678;        /* secondary text on light */
    --bg: #ffffff;
    --bg-soft: #f6f7fb;
    --border: #e7e9f1;
    --card: #ffffff;
    --d-text: #eef1fb;
    --d-muted: #9aa6c6;
    --d-border: rgba(255, 255, 255, .12);
    --d-card: rgba(255, 255, 255, .045);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 30px rgba(16, 24, 40, .06);
    --shadow-lg: 0 24px 60px rgba(28, 34, 80, .16);
    --maxw: 1140px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue",
            "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Noto Sans", Arial, sans-serif;
    --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
    line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand-2); }
h1, h2, h3 { color: #0f1526; font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---- buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
    padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(91, 110, 225, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(91, 110, 225, .48); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.btn-dark { background: #0f1526; color: #fff; }
.btn-dark:hover { color: #fff; background: #202a44; }
.btn-white { background: #fff; color: #3b3170; }
.btn-white:hover { color: var(--brand); background: #fff; transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---- eyebrow + badge ---- */
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 700;
           color: var(--brand); margin-bottom: 14px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
    background: rgba(91, 110, 225, .1); color: #4a5bc4; border: 1px solid rgba(91, 110, 225, .28);
}
.badge-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }

/* ---- nav ---- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; letter-spacing: -.01em; }
.brand img { height: 30px; width: 30px; }
.brand:hover { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, .82); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 8px; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-gh { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; font-size: 14px;
          padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); }
.nav-gh:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 6px; }
/* scrolled state: solid light bar */
.nav.scrolled { background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(14px);
                border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(16, 24, 40, .06); }
.nav.scrolled .brand { color: #0f1526; }
.nav.scrolled .nav-links a { color: #3b4457; }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--brand); background: rgba(91, 110, 225, .1); }
.nav.scrolled .nav-gh { color: #0f1526; border-color: var(--border); }
.nav.scrolled .nav-gh:hover { background: var(--bg-soft); }
.nav.scrolled .nav-toggle { color: #0f1526; }

/* ---- hero (dark) ---- */
.hero { position: relative; background: var(--ink); color: var(--d-text); overflow: hidden;
        padding: 168px 0 96px; isolation: isolate; }
.hero::before { /* radial brand glows */
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(60% 55% at 78% 12%, rgba(139, 92, 246, .35), transparent 60%),
        radial-gradient(50% 50% at 12% 8%, rgba(91, 110, 225, .32), transparent 55%),
        radial-gradient(70% 60% at 50% 120%, rgba(34, 211, 238, .16), transparent 60%);
}
.hero::after { /* subtle grid */
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 44px 44px; mask-image: radial-gradient(75% 75% at 50% 25%, #000, transparent 78%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 62px); letter-spacing: -.03em; margin: 18px 0 20px; }
.hero .lead { color: #c3cbe4; font-size: clamp(16px, 2vw, 20px); max-width: 560px; margin-bottom: 30px; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }

/* gyroscope motif */
.gyro { width: min(360px, 80%); aspect-ratio: 1; filter: drop-shadow(0 20px 60px rgba(139, 92, 246, .45)); }
.gyro .ring { transform-origin: 256px 256px; }
.gyro .ring-o { animation: gm-spin 26s linear infinite; }
.gyro .ring-i { animation: gm-spin 16s linear infinite reverse; }
@keyframes gm-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gyro .ring { animation: none; } }

/* ---- generic sections ---- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head .lead { color: var(--muted); font-size: 18px; margin: 0; }

/* two-column narrative (what-it-is) */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.2vw, 36px); }
.split .lead { font-size: 17.5px; color: #38404f; }
.split-art { display: flex; justify-content: center; }
.split-art img { width: 230px; opacity: .96; filter: drop-shadow(0 24px 50px rgba(91, 110, 225, .28)); }

/* kernel: two feature cards */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.kcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
         padding: 34px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.kcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(91, 110, 225, .35); }
.kcard .k-eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.kcard h3 { font-size: 23px; margin: 8px 0 4px; }
.kcard .k-sub { color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.kcard ul { list-style: none; margin: 16px 0 0; padding: 0; }
.kcard li { position: relative; padding-inline-start: 26px; margin-bottom: 11px; color: #38404f; font-size: 15.5px; }
.kcard li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 9px; width: 8px; height: 8px;
                    border-radius: 3px; background: var(--grad); }

/* who-it-is grid */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mini { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
        transition: transform .2s, box-shadow .2s, border-color .2s; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(91, 110, 225, .3); }
.mini .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 20px;
            color: #fff; background: var(--grad); margin-bottom: 16px; }
.mini h3 { font-size: 18px; margin-bottom: 6px; }
.mini p { color: var(--muted); font-size: 15px; margin: 0; }

/* how-it-works steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--card);
        border: 1px solid var(--border); box-shadow: var(--shadow); }
.step .num { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff;
             font-weight: 800; font-size: 17px; display: grid; place-items: center; margin-bottom: 16px; }
.step .step-k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.step h3 { font-size: 19px; margin: 4px 0 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* CTA / open-source band */
.cta { position: relative; overflow: hidden; background: var(--ink-2); color: #fff; padding: 84px 0; text-align: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(60% 120% at 50% -10%, rgba(139, 92, 246, .5), transparent 60%),
                radial-gradient(50% 120% at 10% 120%, rgba(91, 110, 225, .4), transparent 60%); }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.cta .lead { color: #cfd6ee; max-width: 720px; margin: 0 auto 26px; font-size: 18px; }
.cta .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- features page grid ---- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
        transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(91, 110, 225, .3); }
.feat .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 21px;
            color: var(--brand); background: rgba(91, 110, 225, .1); border: 1px solid rgba(91, 110, 225, .22); margin-bottom: 16px; }
.feat h3 { font-size: 18.5px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; margin: 0; }

/* compact dark page header (features / download) */
.pagehead { position: relative; background: var(--ink); color: #fff; padding: 150px 0 66px; overflow: hidden; isolation: isolate; text-align: center; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(55% 90% at 50% -20%, rgba(139, 92, 246, .4), transparent 62%),
                radial-gradient(40% 80% at 85% 0, rgba(91, 110, 225, .32), transparent 60%); }
.pagehead h1 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); margin: 16px 0 12px; }
.pagehead .lead { color: #c3cbe4; max-width: 620px; margin: 0 auto; font-size: 18px; }

/* ---- download steps ---- */
.dl-wrap { max-width: 760px; margin: 0 auto; }
.dl-block { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.dl-block:last-child { border-bottom: 0; }
.dl-num { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff;
          font-weight: 800; display: grid; place-items: center; }
.dl-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(91, 110, 225, .1);
         color: var(--brand); font-size: 19px; display: grid; place-items: center; border: 1px solid rgba(91, 110, 225, .22); }
.dl-body { flex: 1; min-width: 0; }
.dl-body h3 { font-size: 20px; margin-bottom: 6px; }
.dl-body p { color: var(--muted); margin: 0 0 12px; }
.code { position: relative; background: #0d1220; color: #e6e9f5; border: 1px solid #1e2740;
        border-radius: var(--radius-sm); padding: 16px 18px; font-family: var(--mono); font-size: 14px; line-height: 1.7;
        overflow-x: auto; white-space: pre; }
.code .copy { position: absolute; top: 8px; inset-inline-end: 8px; background: rgba(255, 255, 255, .08);
              border: 1px solid rgba(255, 255, 255, .16); color: #cdd4ee; border-radius: 7px; padding: 4px 10px;
              font-size: 12px; font-family: var(--font); cursor: pointer; transition: background .15s; }
.code .copy:hover { background: rgba(255, 255, 255, .16); }
.dl-open { margin-top: 12px; color: var(--muted); }
.dl-open code { background: var(--bg-soft); border: 1px solid var(--border); padding: 2px 8px; border-radius: 6px;
                font-family: var(--mono); font-size: 13.5px; color: #3b4457; }

/* ---- solutions ---- */
.sol { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 32px;
       margin-bottom: 22px; box-shadow: var(--shadow); }
.sol-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sol-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
          color: #fff; background: var(--grad); flex: none; }
.sol-head h3 { font-size: 22px; margin: 0; }
.sol-tags { margin-inline-start: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.sol-tag { font-size: 12px; font-weight: 600; color: var(--brand); background: rgba(91, 110, 225, .1);
           border: 1px solid rgba(91, 110, 225, .22); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.sol-problem { color: #39414f; font-size: 16.5px; margin: 16px 0 2px; }
.sol-howt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-top: 18px; }
.sol ul { list-style: none; margin: 8px 0 0; padding: 0; }
.sol li { position: relative; padding-inline-start: 26px; margin-bottom: 9px; color: #39414f; font-size: 15.5px; }
.sol li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 9px; width: 8px; height: 8px;
                  border-radius: 3px; background: var(--grad); }
.sol-value { margin-top: 18px; padding: 13px 17px; border-inline-start: 3px solid var(--brand);
             background: rgba(91, 110, 225, .06); border-radius: 8px; font-weight: 500; color: #2a3142; }
.sol.hero-sol { border-color: rgba(91, 110, 225, .4); box-shadow: var(--shadow-lg); }
.sol-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
             color: #fff; background: var(--grad); border-radius: 6px; padding: 2px 9px; margin-inline-start: 8px; vertical-align: middle; }

/* ---- by-industry quick locate ---- */
.ind-list { max-width: 860px; margin: 0 auto; }
.ind-row { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.ind-row:last-child { border-bottom: 0; }
.ind-row .who { flex: 1; min-width: 240px; font-weight: 600; color: #17203a; font-size: 15.5px; }
.ind-row .arrow { color: var(--brand); font-weight: 700; }
.ind-row .to { color: var(--muted); font-size: 15px; }

/* ---- FAQ accordion ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
               margin-bottom: 12px; overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: rgba(91, 110, 225, .35); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16.5px;
               color: #17203a; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--brand); flex: none; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.faq .faq-a a { font-weight: 600; }

/* ---- footer ---- */
.footer { background: var(--ink); color: var(--d-muted); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid var(--d-border); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-phil { color: #aab4d4; max-width: 460px; font-size: 15px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-links .h { color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.footer-links a { color: var(--d-muted); font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.footer-bottom p { margin: 0; font-size: 14px; color: #8b95b5; }
.lang { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .06);
        border: 1px solid var(--d-border); border-radius: 999px; padding: 7px 14px; }
.lang i { color: #aab4d4; }
.lang select { background: transparent; border: 0; color: #e6ebfb; font-size: 14px; font-family: var(--font); cursor: pointer; outline: none; }
.lang select option { background: #141a2b; color: #e6ebfb; }

/* ---- cookie banner ---- */
.cookie { position: fixed; inset: auto 16px 16px 16px; z-index: 200; max-width: 560px; margin: 0 auto;
          background: #141a2b; color: #dfe4f5; border: 1px solid var(--d-border); border-radius: 14px;
          padding: 14px 18px; display: none; align-items: center; gap: 14px; box-shadow: var(--shadow-lg); font-size: 14px; }
.cookie button { flex: none; background: var(--grad); color: #fff; border: 0; border-radius: 999px; padding: 8px 20px; font-weight: 600; cursor: pointer; }

/* ---- Smart language suggestion banner ---- */
.lang-suggest { position: fixed; top: 72px; left: 0; right: 0; margin: 0 auto; width: max-content;
    max-width: calc(100% - 24px); z-index: 150; display: flex; align-items: center; gap: 12px;
    background: #141a2b; color: #dfe4f5; border: 1px solid var(--d-border); border-radius: 999px;
    padding: 8px 10px 8px 18px; box-shadow: var(--shadow-lg); font-size: 14px;
    animation: lsIn .35s ease both; }
.lang-suggest .fa-globe { color: var(--brand-3); }
.lang-suggest .ls-text { white-space: nowrap; }
.lang-suggest .ls-actions { display: flex; gap: 6px; flex: none; }
.lang-suggest .ls-switch { background: var(--grad); color: #fff; border: 0; border-radius: 999px;
    padding: 7px 16px; font-weight: 600; font-size: 13px; cursor: pointer; }
.lang-suggest .ls-stay { background: transparent; color: #9aa4bd; border: 0; border-radius: 999px;
    padding: 7px 12px; font-size: 13px; cursor: pointer; }
.lang-suggest .ls-stay:hover { color: #dfe4f5; }
.lang-suggest.hide { opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
@keyframes lsIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) {
    .lang-suggest { left: 12px; right: 12px; margin: 0; width: auto; max-width: none; border-radius: 14px; flex-wrap: wrap; }
    .lang-suggest .ls-text { white-space: normal; flex: 1 1 auto; }
}

/* ---- RTL tweaks ---- */
html[dir="rtl"] .badge .dot { box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }
html[dir="rtl"] .code, html[dir="rtl"] .dl-open code { direction: ltr; text-align: left; }

/* ---- vision contrast band ---- */
.vsband { background: var(--bg-soft); }
.vs-head { background: var(--grad); -webkit-background-clip: text; background-clip: text;
           -webkit-text-fill-color: transparent; color: var(--brand-2);
           font-size: clamp(26px, 3.6vw, 40px); line-height: 1.18; letter-spacing: -.02em; }
.vs-sub { margin-top: 18px; }
.vs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch;
           max-width: 940px; margin: 0 auto; }
.vs-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
           padding: 30px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.vs-card-accent { border-color: rgba(91, 110, 225, .38); box-shadow: var(--shadow-lg);
                  background: linear-gradient(180deg, rgba(91,110,225,.055), rgba(139,92,246,.045)); }
.vs-tag { color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase;
          letter-spacing: .1em; }
.vs-card-accent .vs-tag { color: var(--brand); }
.vs-metric { font-size: clamp(38px, 6vw, 56px); font-weight: 800; letter-spacing: -.03em;
             line-height: 1; margin: 14px 0 12px; }
.vs-card-accent .vs-metric { background: var(--grad); -webkit-background-clip: text; background-clip: text;
                             -webkit-text-fill-color: transparent; }
.vs-what { color: #38404f; font-size: 16px; line-height: 1.55; }
.vs-arrow { display: flex; align-items: center; justify-content: center; color: var(--brand-2);
            font-size: 26px; }
html[dir="rtl"] .vs-arrow .fa { transform: scaleX(-1); }

/* ---- agent-type comparison ---- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius);
            box-shadow: var(--shadow); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--card);
       font-size: 15.5px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: start; vertical-align: top;
                   border-bottom: 1px solid var(--border); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
                color: var(--muted); font-weight: 700; }
.cmp thead th.cmp-gm { color: var(--brand); }
.cmp tbody th[scope="row"] { font-weight: 700; color: var(--text); width: 26%; white-space: nowrap; }
.cmp td { color: #38404f; }
.cmp .cmp-gm { background: linear-gradient(180deg, rgba(91,110,225,.06), rgba(139,92,246,.045)); }
.cmp thead th.cmp-gm { background: linear-gradient(180deg, rgba(91,110,225,.10), rgba(139,92,246,.07)); }
.cmp td.cmp-gm { color: #2a2140; font-weight: 500; }
.cmp-note { max-width: 760px; margin: 22px auto 0; text-align: center; color: var(--muted);
            font-size: 15.5px; }
@media (max-width: 640px) { .cmp tbody th[scope="row"] { white-space: normal; } }

/* ---- essence band (人机共治) ---- */
.essband { background: var(--ink); color: var(--d-text); position: relative; overflow: hidden; }
.essband::before { content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 120% at 50% 0%, rgba(139,92,246,.20), transparent 70%); pointer-events: none; }
.ess-inner { max-width: 840px; margin: 0 auto; text-align: center; position: relative; }
.ess-eyebrow { color: var(--brand-3); }
.ess-h2 { font-size: clamp(38px, 7vw, 66px); font-weight: 800; letter-spacing: -.02em; line-height: 1.06;
    margin: 16px 0 0; text-wrap: balance;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ess-sub { color: #c3cbe4; font-size: 17px; line-height: 1.72; max-width: 660px; margin: 24px auto 0; }

/* ---- responsive ---- */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .gyro { width: 200px; }
    .split { grid-template-columns: 1fr; gap: 30px; }
    .split-art { order: -1; }
    .cards-2 { grid-template-columns: 1fr; }
    .vs-grid { grid-template-columns: 1fr; }
    .vs-arrow { transform: rotate(90deg); }
    html[dir="rtl"] .vs-arrow { transform: rotate(90deg); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .hero { padding: 132px 0 72px; }
    .nav-links, .nav-desktop-cta { display: none; }
    .nav-links.open { display: flex; position: absolute; top: 68px; inset-inline: 12px; flex-direction: column;
                      background: rgba(15, 21, 38, .96); backdrop-filter: blur(14px); border: 1px solid var(--d-border);
                      border-radius: 14px; padding: 10px; gap: 4px; }
    .nav-links.open a { color: #e6ebfb; }
    .nav-toggle { display: block; }
    .grid-4, .steps, .feat-grid { grid-template-columns: 1fr; }
    .dl-block { flex-direction: column; gap: 12px; }
}
