:root {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #0e1b2d;
  --surface-2: #13243a;
  --line: #263d58;
  --text: #eef6ff;
  --muted: #9fb2c7;
  --blue: #36a3ff;
  --blue-strong: #0077e6;
  --gold: #f0bd4f;
  --green: #37d69a;
  --red: #ff6b7a;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(0, 0, 0, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 12% -5%, #17375b 0, transparent 34%), var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #7bc4ff; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; padding: .7rem 1rem; background: #fff; color: #000; z-index: 99; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(7,17,31,.92); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), #164caa); color: #fff; font-weight: 800; box-shadow: 0 0 28px rgba(54,163,255,.35); }
.brand strong { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.main-nav a { padding: .55rem .7rem; border-radius: 10px; color: var(--muted); font-size: .93rem; }
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(54,163,255,.12); }
.nav-actions, .lang-switch { display: flex; align-items: center; gap: .45rem; }
.lang-switch { font-size: .78rem; }
.lang-switch a { color: var(--muted); }
.lang-switch a.active { color: var(--gold); font-weight: 800; }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 1.2rem; }
.page-shell { min-height: 70vh; padding-block: 2.2rem 4rem; }
.page-intro { max-width: 820px; margin-bottom: 1.6rem; }
.page-intro h1, .hero h1 { margin: .2rem 0 .6rem; font-size: clamp(2rem, 6vw, 4.25rem); line-height: 1.08; letter-spacing: -.04em; }
.page-intro p, .hero p { color: var(--muted); font-size: 1.07rem; }
.eyebrow { margin: 0; color: var(--gold) !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem !important; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2.5rem; padding: 4rem 0; }
.hero h1 span { color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.orbital-card { position: relative; min-height: 410px; display: grid; place-items: center; overflow: hidden; }
.orbit { position: absolute; border: 1px solid rgba(54,163,255,.38); border-radius: 50%; animation: rotate 28s linear infinite; }
.orbit.one { width: 320px; height: 320px; }
.orbit.two { width: 230px; height: 230px; animation-direction: reverse; }
.orbit::before { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); top: 15%; left: 12%; box-shadow: 0 0 22px var(--gold); }
.orbital-core { z-index: 1; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, #1b4c7c, #091525); border: 1px solid var(--line); box-shadow: var(--shadow); }
@keyframes rotate { to { transform: rotate(360deg); } }
.grid { display: grid; gap: 1rem; }
.grid > *, .card { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card, .info-box, .stat-card { background: linear-gradient(145deg, rgba(19,36,58,.96), rgba(10,23,39,.96)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.card h2, .info-box h2 { margin-top: 0; }
.feature-card { min-height: 190px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(54,163,255,.13); color: var(--blue); font-weight: 900; }
.stat-card span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.stat-card strong { display: block; margin-top: .35rem; font-size: 1.75rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-block: 1.5rem; }
.info-box { border-left: 3px solid var(--blue); }
.info-box-gold { border-left-color: var(--gold); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; border-radius: 12px; padding: .72rem 1rem; background: linear-gradient(135deg, var(--blue), var(--blue-strong)); color: #fff; font-weight: 750; cursor: pointer; }
.button:hover { color: #fff; filter: brightness(1.1); }
.button-secondary { background: linear-gradient(135deg, #d9a532, #9a6b13); }
.button-danger { background: linear-gradient(135deg, #e94d5d, #9c2433); }
.button-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.button-small { padding: .48rem .7rem; font-size: .85rem; }
form.card { margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field-wide { grid-column: 1 / -1; }
label { color: #c8d9e9; font-weight: 650; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: .75rem .85rem; background: #091625; color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(54,163,255,.35); border-color: var(--blue); }
.help { color: var(--muted); font-size: .85rem; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10,23,39,.88); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: .82rem 1rem; border-bottom: 1px solid rgba(38,61,88,.72); text-align: left; }
th { color: #c8d9e9; background: rgba(19,36,58,.94); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
tbody tr:hover { background: rgba(54,163,255,.06); }
.positive { color: var(--green); }
.negative { color: var(--red); }
.badge { display: inline-flex; padding: .22rem .55rem; border-radius: 999px; background: rgba(54,163,255,.13); color: #90ceff; font-size: .78rem; }
.badge-gold { background: rgba(240,189,79,.14); color: #ffd87e; }
.alert { margin-bottom: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.alert-success { border-color: rgba(55,214,154,.45); color: #9cf0cf; }
.alert-warning { border-color: rgba(240,189,79,.5); color: #ffe09a; }
.alert-danger { border-color: rgba(255,107,122,.5); color: #ffb0b8; }
.circle-stage { width: 100%; min-height: 540px; display: grid; place-items: center; overflow: hidden; }
.circle-stage svg { width: 100%; height: auto; }
.cycle-chart { display: flex; min-height: 150px; align-items: end; gap: 1rem; }
.cycle-bar { flex: 1; min-width: 80px; border-radius: 14px 14px 4px 4px; background: linear-gradient(var(--blue), #154a7a); text-align: center; padding: .7rem; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 2.1rem; }
.prose p, .prose li { color: #bfd0e0; }
.site-footer { border-top: 1px solid var(--line); background: #050c15; color: var(--muted); padding: 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.footer-grid a { display: block; margin-bottom: .35rem; }
.legal-strip { border-top: 1px solid rgba(255,255,255,.07); margin-top: 1rem; padding-top: 1rem; font-size: .82rem; }
.empty { padding: 2rem; text-align: center; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 1rem; right: 1rem; flex-direction: column; align-items: stretch; padding: .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
  .main-nav.open { display: flex; }
  .nav-actions .button-ghost { display: none; }
  .hero { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .form-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 660px) {
  .container { width: min(100% - 1.1rem, 1180px); }
  .brand > span:last-child { display: none; }
  .nav-actions { margin-left: 0; }
  .nav-actions .lang-switch { display: none; }
  .hero { padding: 2rem 0; }
  .orbital-card { min-height: 320px; }
  .orbit.one { width: 270px; height: 270px; }
  .grid-2, .grid-3, .grid-4, .info-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .circle-stage { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; } }
