/* geo.css — shared styles for SENSE content pages (/en/, /zh/) */

@font-face {
    font-display: swap;
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/rajdhani-v17-latin-regular.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/rajdhani-v17-latin-600.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/rajdhani-v17-latin-700.woff2') format('woff2');
}

:root {
    --bg: #0a0b10;
    --panel: #0e1119;
    --line: #1f2937;
    --primary: #00f3ff;
    --warn: #ffbf00;
    --text: #e0e6ed;
    --dim: #9fb3c8;
    --faint: #5c6b7f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Rajdhani', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

a { color: var(--primary); }

.wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 16, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 12px;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 3px;
    text-decoration: none;
}
.brand svg { flex: 0 0 auto; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.nav-links a {
    color: var(--dim);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.btn,
.nav-links a.btn:hover { color: #001418; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #001418;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { box-shadow: 0 0 18px rgba(0, 243, 255, 0.5); }
.btn.ghost { background: transparent; color: var(--primary); }

/* Hero */
.hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.eyebrow {
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
h1 {
    color: #fff;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.2;
    letter-spacing: 1px;
    margin: 0 0 18px;
}
.lead {
    font-size: 19px;
    color: var(--dim);
    max-width: 780px;
    margin: 0 0 26px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-top: 10px;
}
.fact {
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 12px 16px;
    font-size: 15px;
    color: var(--dim);
}
.fact b {
    display: block;
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

/* Sections */
section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section[id] { scroll-margin-top: 80px; }
h2 {
    color: var(--primary);
    font-size: 27px;
    letter-spacing: 1px;
    margin: 0 0 20px;
}
h3 { color: #fff; font-size: 19px; margin: 0 0 8px; }
p { margin: 0 0 15px; }
.section-intro { color: var(--dim); max-width: 820px; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}
.card {
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 22px;
}
.card p { color: var(--dim); font-size: 15.5px; margin: 0; }
.card .tag {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
ol.steps li {
    position: relative;
    padding: 0 0 24px 60px;
    color: var(--dim);
}
ol.steps li:last-child { padding-bottom: 0; }
ol.steps li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 2px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid rgba(0, 243, 255, 0.25);
    background: var(--panel);
    font-weight: 700;
}
ol.steps li strong { color: #fff; display: block; font-size: 17px; }

ul.plain { padding-left: 22px; margin: 0 0 15px; color: var(--dim); }
ul.plain li { margin-bottom: 8px; }

/* FAQ */
.faq details {
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 16px 20px;
    margin-bottom: 10px;
}
.faq summary {
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 17px;
}
.faq summary::marker { color: var(--primary); }
.faq details p { margin: 12px 0 0; color: var(--dim); font-size: 15.5px; }

/* Note / disclaimer */
.note {
    border-left: 3px solid var(--warn);
    background: rgba(255, 191, 0, 0.06);
    padding: 14px 18px;
    color: #cbb98a;
    font-size: 15.5px;
}

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}
.price-card {
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 22px;
    text-align: center;
}
.price-card .credits {
    color: var(--primary);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
}
.price-card .price { color: var(--dim); font-size: 15px; }

/* CTA */
.cta { text-align: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--dim); max-width: 620px; margin: 0 auto 26px; }
.cta .btn { margin: 6px; }

/* Footer */
footer {
    padding: 34px 0 60px;
    color: var(--faint);
    font-size: 14.5px;
}
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--primary); }
.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

/* Tables */
.table-wrap { overflow-x: auto; }
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 720px;
}
.spec-table th,
.spec-table td {
    border: 1px solid var(--line);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}
.spec-table th {
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--panel);
    white-space: nowrap;
}
.spec-table td { color: var(--dim); }
.spec-table td:first-child { color: #fff; white-space: nowrap; }

/* Inline citations */
.cite {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    margin-left: 2px;
}
.cite:hover { text-decoration: underline; }

/* Reference list */
ol.refs {
    padding-left: 26px;
    margin: 0;
    color: var(--dim);
    font-size: 15px;
}
ol.refs li {
    margin-bottom: 10px;
    scroll-margin-top: 90px;
}
ol.refs a { color: var(--primary); word-break: break-all; }

@media (max-width: 640px) {
    body { font-size: 16px; }
    .hero { padding: 48px 0 36px; }
    section { padding: 42px 0; }
    .btn { padding: 11px 18px; }
}
