/* ГИМС 2026 landing — maritime minimalism */
:root {
  --bg: #0A1428; --bg-alt: #0F1A30; --card: #121E36;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #2196F3; --accent-soft: rgba(33, 150, 243, 0.14);
  --gold: #E9C46A; --text: #FFFFFF; --muted: #8A99B4;
  --radius: 14px; --maxw: 1120px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
  -webkit-font-smoothing: antialiased; font-size: 16px;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 12px; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.15; }
h3 { font-size: 18px; }
p  { margin: 0 0 12px; color: var(--muted); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); padding: 6px 10px;
  border: 1px solid var(--accent-soft); border-radius: 999px;
  background: var(--accent-soft); margin-bottom: 14px;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 20, 40, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; letter-spacing: -0.01em; }
.brand__mark { width: 26px; height: 26px; color: var(--accent); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--muted); font-size: 14px; }
.nav__links a:hover { color: var(--text); }

/* HERO */
.hero {
  position: relative; padding: 72px 0 40px; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(33,150,243,0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 20%, rgba(33,150,243,0.08), transparent 60%),
    var(--bg);
}
.wave-decor { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; }
.wave-decor svg { width: 100%; height: 120px; display: block; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero__text .lead { color: #C3CFE3; font-size: 18px; max-width: 540px; margin: 8px 0 28px; }
.hero__accent { color: #E9C46A; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #1E86DB; transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__badges span {
  font-size: 12px; color: var(--muted); padding: 6px 12px;
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

/* MOCKUP */
.hero__mockup { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.phone {
  position: relative; width: 280px; height: 560px; border-radius: 42px;
  background: linear-gradient(180deg, #1a2a47 0%, #0d1628 100%);
  padding: 12px; border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 40px 80px rgba(0,0,0,0.55), 0 0 100px rgba(33,150,243,0.15);
}
.phone__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px; background: #050a17;
  border-radius: 0 0 14px 14px; z-index: 2;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 32px;
  background: linear-gradient(180deg, #0A1428 0%, #0E1A33 100%);
  padding: 40px 18px 22px; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
.screen__topbar { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.screen__title { color: var(--text); font-weight: 600; }
.screen__timer { color: var(--accent); font-variant-numeric: tabular-nums; }
.screen__progress { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.screen__progress span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.screen__question { background: var(--card); border-radius: 12px; padding: 12px; border: 1px solid var(--border); }
.screen__qmeta { font-size: 10px; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.08em; text-transform: uppercase; }
.screen__qtext { font-size: 12px; line-height: 1.4; color: var(--text); margin-bottom: 10px; }
.screen__signs { display: flex; justify-content: space-around; padding: 6px 0; }
.sign { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.sign--circle { border-radius: 50%; background: #fff; border: 3px solid #D33; position: relative; }
.sign--circle .sign__bar { position: absolute; width: 42px; height: 4px; background: #D33; transform: rotate(-45deg); border-radius: 2px; }
.sign--diamond { background: #E9C46A; transform: rotate(45deg); border: 2px solid #333; }
.sign--square { background: #2196F3; border: 2px solid #0A1428; }
.screen__answers { display: flex; flex-direction: column; gap: 6px; }
.ans { font-size: 11px; padding: 9px 11px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); color: var(--muted); }
.ans--correct { background: rgba(46, 204, 113, 0.18); border-color: rgba(46, 204, 113, 0.5); color: #A7E9C2; }
.compass { position: absolute; right: -30px; bottom: 20px; width: 140px; height: 140px; opacity: 0.55; pointer-events: none; }
.compass svg { width: 100%; height: 100%; }

/* SECTIONS */
.section { padding: 88px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { text-align: center; margin-bottom: 48px; }
.section__lead { color: var(--muted); max-width: 560px; margin: 0 auto; }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(33,150,243,0.5); transform: translateY(-2px); }
.feature__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature p { font-size: 14px; }

/* CATEGORIES */
.cat-group { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin: 28px 0 14px; font-weight: 500; }
.cats .cat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px;
  display: flex; flex-direction: column; gap: 6px; position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.cats .cat:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat__code { font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: 0.02em; }
.cat--alt .cat__code { color: var(--gold); }
.cat__name { font-size: 14px; color: var(--text); }

/* STEPS */
.steps .step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; position: relative;
}
.step__num { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: 0.15em; margin-bottom: 14px; }
.step p { font-size: 14px; }

/* STATS */
.stats-section { padding: 60px 0; }
.stats .stat { text-align: center; padding: 20px 10px; }
.stat__num {
  font-size: clamp(36px, 5vw, 56px); font-weight: 700; color: var(--gold);
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1;
}
.stat__label { margin-top: 8px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; }

/* FAQ */
.faq details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 12px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(33,150,243,0.4); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; font-size: 14px; line-height: 1.6; }

/* FOOTER */
.footer { background: #070F1F; border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer__tag { font-size: 13px; color: var(--muted); max-width: 320px; margin-top: 12px; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }
.footer__col a { display: block; color: var(--text); font-size: 14px; padding: 4px 0; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__mockup { min-height: auto; order: -1; }
  .compass { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 32px; }
  .nav__links { display: none; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
  h1 { font-size: 32px; }
  .phone { width: 240px; height: 480px; }
  .phone__screen { padding: 36px 14px 18px; }
}
