/* ============================================================
   Rukey — main stylesheet. Part 1/3: base, layout, header, hero
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* якоря не должны уезжать под прилипшую шапку (72px) */
[id] { scroll-margin-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; position: relative; }
.section--light { background: var(--light); color: var(--ink); }
.section--tight { padding: 56px 0; }
.section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section--light .section-head p { color: var(--ink-muted); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.section--light .eyebrow { color: var(--indigo); }
.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-pill); border: 1px solid transparent;
  font-weight: 600; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(91,75,255,.5), 0 18px 46px rgba(43,179,240,.4); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--indigo); }
.btn-light { background: #fff; color: var(--ink); }
.section--light .btn-ghost { border-color: #c9d2e2; color: var(--ink); }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- pills / tags ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px;
  border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600;
  background: var(--grad-soft); border: 1px solid rgba(91,75,255,.35); color: #cdd6ee;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 7px; background: var(--grad-soft); color: #b9c4e6;
}
.status { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 7px; text-transform: uppercase; letter-spacing: .03em; }
.status--start { background: rgba(46,204,113,.15); color: #4ee08a; }
.status--wip { background: rgba(255,176,32,.15); color: #ffc457; }
.status--plan { background: rgba(139,150,172,.16); color: #aab4c8; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,18,32,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36,49,79,.6);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s ease; }
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 74px 0 90px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; z-index: 0;
}
.hero::before { width: 520px; height: 520px; background: #1f6bff; top: -180px; left: -140px; }
.hero::after { width: 460px; height: 460px; background: #5b4bff; top: 40px; right: -160px; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin-bottom: 18px; }
.hero__lead { font-size: 1.14rem; color: #b6c0d6; max-width: 34em; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__mock { position: relative; }
.hero__mock img { border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero__glow { position: absolute; inset: 8% 6% -6% 6%; background: var(--grad); filter: blur(70px); opacity: .28; z-index: -1; }

/* ---------- countdown ---------- */
.countdown { display: flex; gap: 12px; margin-top: 8px; }
.countdown__cell {
  min-width: 84px; padding: 14px 10px; text-align: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.countdown__num { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.countdown__label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.countdown__note { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* ---------- generic cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(91,75,255,.55); box-shadow: var(--shadow-soft); }
.section--light .card { background: #fff; border-color: #e2e8f3; color: var(--ink); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(91,75,255,.3); margin-bottom: 16px; font-size: 1.3rem;
}
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.section--light .card p { color: var(--ink-muted); }

/* ---------- problem list ---------- */
.problem-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.problem-list li { display: flex; gap: 14px; align-items: flex-start; }
.problem-list .dot { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,91,110,.14); color: var(--danger); font-weight: 700; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.step { position: relative; padding: 26px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1.06rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- security / anti-copy ---------- */
.security { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.security h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: #c3ccdf; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 7px; background: rgba(46,204,113,.16); color: var(--ok); font-size: .78rem; font-weight: 700;
}
.key-visual {
  background: linear-gradient(160deg, #16203a, #0d1426); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow);
}
.key-visual .usb {
  display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); margin-bottom: 16px;
}
.key-visual .usb__chip { width: 58px; height: 58px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.4rem; }
.key-visual .usb__meta { font-size: .84rem; color: var(--muted); }
.key-visual .usb__id { font-family: var(--font-mono); color: #dbe3f5; font-size: .95rem; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.mini-stats b { display: block; font-size: 1.2rem; }

/* ---------- models ---------- */
.models-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.chip {
  padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer; font-weight: 600; font-size: .9rem; transition: all .15s ease;
}
.chip:hover { color: var(--white); border-color: var(--indigo); }
.chip.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.models-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.model-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .16s ease, border-color .16s ease; }
.model-card:hover { transform: translateY(-3px); border-color: rgba(91,75,255,.5); }
.model-card__brand { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.model-card__name { font-size: 1.16rem; font-weight: 700; margin: 6px 0 4px; }
.model-card__years { color: var(--muted-2); font-size: .86rem; margin-bottom: 12px; }
.model-card__method { font-size: .84rem; color: var(--muted); margin-top: 10px; }
.models-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 30px; }
.models-note { text-align: center; color: var(--muted-2); font-size: .86rem; margin-top: 24px; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; height: 100%; }
.price-card--featured { border-color: rgba(91,75,255,.6); box-shadow: var(--glow); }
.price-card h3 { font-size: 1.1rem; }
.price-card .price { font-size: 2.1rem; font-weight: 800; margin: 6px 0 2px; }
.price-card .price small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.price-card .price-old { color: var(--muted-2); text-decoration: line-through; font-size: 1rem; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.price-card li { padding-left: 26px; position: relative; color: #c3ccdf; font-size: .95rem; }
.price-card li::before { content: "\2022"; position: absolute; left: 8px; color: var(--cyan); }
.price-card .spacer { flex: 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .faq__body { padding: 0 22px 20px; color: var(--muted); }

/* ---------- предзаказ: блок контактов ---------- */
.preorder-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-soft); }
.form-note { font-size: .8rem; color: var(--muted-2); margin-top: 14px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.contact-actions .btn { width: 100%; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--grad); border-radius: var(--radius-lg); padding: 48px; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 40em; margin: 0 auto 22px; }
.cta-band .btn-light { box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.site-footer { border-top: 1px solid rgba(36,49,79,.7); padding: 54px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }
.footer-grid a { color: var(--muted); display: block; margin-bottom: 8px; font-size: .94rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand .brand__logo { height: 34px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 32em; }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(36,49,79,.7); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted-2); font-size: .82rem; }
.legal-note { color: var(--muted-2); font-size: .82rem; max-width: 60em; }

/* ---------- investors page ---------- */
.inv-hero { padding: 70px 0 40px; position: relative; overflow: hidden; }
.inv-hero::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: #5b4bff; filter: blur(110px); opacity: .35; top: -220px; right: -160px; }
.inv-hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); position: relative; }
.inv-hero .hero__lead { position: relative; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; }
.stat .stat__label { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.stat .stat__hint { color: var(--muted-2); font-size: .76rem; margin-top: 6px; }
.timeline { position: relative; margin-top: 10px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding: 0 0 26px 0; }
.timeline__item::before { content: ""; position: absolute; left: -25px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(91,75,255,.18); }
.timeline__item h4 { margin: 0 0 4px; font-size: 1.02rem; }
.timeline__item .when { font-size: .78rem; color: var(--cyan); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.timeline__item p { color: var(--muted); margin: 6px 0 0; font-size: .95rem; }
.data-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table th, .data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.data-table th { background: var(--panel); color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.data-table tr:last-child td { border-bottom: none; }
.data-table td:last-child { color: #cdd6ee; }
.moat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.inv-cta { background: var(--card); border: 1px solid rgba(91,75,255,.5); border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; box-shadow: var(--glow); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__mock { order: -1; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .models-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .security, .preorder-wrap, .inv-cta { grid-template-columns: 1fr; }
  .moat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 62px 0; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 22px;
    background: var(--navy-2); border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { padding: 11px 18px; font-size: .92rem; }
  .grid--2, .grid--3, .grid--4, .steps, .moat-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown { flex-wrap: wrap; }
  .countdown__cell { min-width: 68px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band, .inv-cta { padding: 30px; }
  .table-scroll { overflow-x: auto; }
  .data-table { min-width: 520px; }
}
@media (max-width: 420px) {
  .models-grid { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr; }
}






