/* ====================== TOKENS ====================== */
:root {
  --bg:        #0f1217;
  --card:      #181c23;
  --card-2:    #1f242d;
  --text:      #e9ecef;
  --muted:     #8b94a0;
  --gold:      #c8a14e;
  --gold-br:   #dcb867;
  --green:     #5cc46a;
  --red:       #e0584c;

  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.12);
  --shadow: 0 24px 60px -20px rgba(0,0,0,.65);
  --radius: 16px;
  --radius-sm: 10px;

  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

  --header-h: 70px;
  --maxw: 1160px;
}

/* ====================== RESET ====================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ====================== LAYOUT ====================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
.container--narrow { max-width: 800px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg), #0c0f14); }

.section__head { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.section__title {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* float-wear gradient strip — signature motif */
.wear-bar {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold-br) 45%, var(--gold) 60%, var(--red) 100%);
  opacity: .55;
}

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-br), var(--gold));
  color: #1a1408;
  box-shadow: 0 8px 24px -8px rgba(200,161,78,.6);
}
.btn--gold:hover { box-shadow: 0 12px 30px -8px rgba(220,184,103,.75); transform: translateY(-2px); }

.btn--outline {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(255,255,255,.02);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold-br); transform: translateY(-2px); }

.btn--ghost { color: var(--text); border-color: var(--line); background: var(--card); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-br); }
.icon-tg { width: 16px; height: 16px; fill: var(--gold-br); }

/* ====================== HEADER ====================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(15,18,23,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  color: var(--gold-br);
  background: var(--card-2);
  border: 1px solid var(--line-2);
}
.logo__mark svg { width: 19px; height: 19px; }
.logo__text { font-size: 1.12rem; letter-spacing: -0.02em; }
.logo__cs2 {
  color: var(--gold);
  margin-left: 5px;
  font-family: var(--mono);
  font-size: .85em;
  font-weight: 700;
}

.nav { display: none; gap: 30px; }
.nav a {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 2px; background: var(--gold); transition: right .25s ease;
}
.nav a:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__actions .btn--ghost { display: none; }

/* language switch */
.lang { position: relative; display: inline-block; }
.lang__toggle {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  color: var(--text);
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.lang__toggle:hover { border-color: var(--gold); }
.lang__caret {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s ease;
}
.lang.open .lang__caret { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 80;
  min-width: 178px; padding: 6px; margin: 0; list-style: none;
  display: none; flex-direction: column; gap: 2px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--card);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .5);
}
.lang.open .lang__menu { display: flex; }
.lang__opt {
  width: 100%; text-align: left;
  font-size: .9rem; font-weight: 600;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.lang__opt:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.lang__opt.is-active {
  color: #1a1408;
  background: linear-gradient(180deg, var(--gold-br), var(--gold));
}
/* mobile: dropdown expands in-flow instead of overlaying */
.lang--mobile { display: block; margin-top: 14px; }
.lang--mobile .lang__toggle { width: 100%; justify-content: space-between; }
.lang--mobile .lang__menu {
  position: static; min-width: 0; margin-top: 6px;
  box-shadow: none;
}

.nav-toggle { display: grid; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(15,18,23,.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 20px 22px;
  transform: translateY(-12px);
  opacity: 0; visibility: hidden;
  transition: .25s ease;
  z-index: 99;
}
.nav-mobile.open { transform: none; opacity: 1; visibility: visible; }
.nav-mobile a:not(.btn) { padding: 13px 6px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-mobile a:not(.btn):hover { color: var(--text); }
.nav-mobile .btn { margin-top: 12px; }

/* ====================== HERO ====================== */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: 0; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(200,161,78,.16), transparent 60%),
    radial-gradient(50% 45% at 12% 0%, rgba(220,184,103,.08), transparent 55%);
}
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 44px;
  align-items: center;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero__title {
  font-size: clamp(2.1rem, 6.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero__sub {
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__cta .btn { flex: 1 1 auto; min-width: 160px; }

.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero__pills li {
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}

/* ---- SIGNATURE: scanner ---- */
.scanner {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.scanner__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.scanner__title { font-weight: 700; font-size: .98rem; }
.scanner__live {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; color: var(--green);
}
.scanner__live i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 0 rgba(92,196,106,.5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(92,196,106,.5); }
  70% { box-shadow: 0 0 0 9px rgba(92,196,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(92,196,106,0); }
}

.scanner__body { position: relative; padding: 8px; }
.scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 64px;
  background: linear-gradient(180deg, rgba(220,184,103,.14), transparent);
  border-bottom: 1px solid rgba(220,184,103,.35);
  animation: scan 3.6s cubic-bezier(.45,0,.55,1) infinite;
  pointer-events: none;
}
@keyframes scan {
  0% { transform: translateY(-64px); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(330px); opacity: 0; }
}

.deal {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "route profit" "name profit";
  gap: 2px 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.deal + .deal { margin-top: 2px; }
.deal__route { grid-area: route; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.deal__name { grid-area: name; font-size: .9rem; color: var(--muted); }
.deal__profit {
  grid-area: profit;
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem;
  text-align: right;
}
.deal__profit.up { color: var(--green); }
.deal__profit.down { color: var(--red); font-size: .82rem; font-weight: 600; }
.tag {
  font-family: var(--mono); font-size: .74rem; font-weight: 600;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text);
}
.arrow { color: var(--gold); font-weight: 700; }
.deal--best {
  background: rgba(200,161,78,.08);
  border-color: rgba(200,161,78,.35);
}
.deal--best .deal__name { color: var(--text); }
.deal--muted { opacity: .62; }

.scanner__foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .76rem; color: var(--muted);
}
.scanner__foot b { color: var(--green); }
.scanner__foot .dot { color: var(--gold); }

/* ====================== GRID / CARDS ====================== */
.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.card__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  margin-bottom: 18px;
  color: var(--gold-br);
  background: rgba(200,161,78,.1);
  border: 1px solid rgba(200,161,78,.22);
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-size: 1.16rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.card__text { color: var(--muted); font-size: .96rem; }

/* ====================== STEPS ====================== */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: step; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.step__num {
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem;
  color: var(--gold);
  display: inline-block; margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(200,161,78,.3);
}
.step__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.step__text { color: var(--muted); font-size: .94rem; }

/* ====================== PLATFORMS ====================== */
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.platform {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s ease, transform .25s ease;
}
.platform:hover { border-color: rgba(200,161,78,.4); transform: translateY(-3px); }
.platform__logo {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 11px;
  font-family: var(--mono); font-weight: 700; font-size: 1.25rem;
  color: #1a1408;
  background: linear-gradient(180deg, var(--gold-br), var(--gold));
}
.platform__name { font-weight: 600; font-size: 1.02rem; }

/* ====================== PRICING ====================== */
.pricing { align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-4px); }
.plan--featured {
  border-color: rgba(200,161,78,.55);
  background: linear-gradient(180deg, rgba(200,161,78,.07), var(--card));
  box-shadow: 0 20px 50px -24px rgba(200,161,78,.5);
}
.plan__badge {
  position: absolute; top: -12px; right: 24px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: var(--card-2); border: 1px solid var(--line-2); color: var(--muted);
}
.plan__badge--gold {
  background: linear-gradient(180deg, var(--gold-br), var(--gold));
  color: #1a1408; border-color: transparent;
}
.plan__name { font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }
.plan__price {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 3.2rem);
  line-height: 1; letter-spacing: -0.03em;
}
.plan__cur { color: var(--gold); font-size: .55em; vertical-align: top; margin-right: 2px; }
.plan__period { color: var(--muted); font-size: .9rem; margin: 10px 0 22px; }
.plan__list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; color: var(--text); font-size: .95rem; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 9px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.pricing__note { text-align: center; color: var(--muted); margin-top: 26px; font-size: .96rem; }

/* ====================== FAQ ====================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item[open] { border-color: var(--line-2); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font-weight: 600; font-size: 1.04rem;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--mono); font-size: 1.5rem; font-weight: 400;
  color: var(--gold); line-height: 1; transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 22px 20px; color: var(--muted); }
.faq__body a { color: var(--gold-br); text-decoration: underline; text-underline-offset: 3px; }

/* ====================== DISCLAIMER ====================== */
.disclaimer {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--muted);
  border-left: 2px solid rgba(200,161,78,.4);
  padding-left: 14px;
}
.disclaimer--hero { max-width: 540px; margin-top: 4px; }

/* ====================== FOOTER ====================== */
.footer { background: #0c0f14; border-top: 1px solid var(--line); }
.footer .wear-bar { opacity: .4; }
.footer__inner {
  display: flex; flex-direction: column; gap: 24px;
  padding-top: 48px; padding-bottom: 32px;
}
.footer__tagline { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: var(--muted); font-size: .94rem; transition: color .2s; }
.footer__links a:hover { color: var(--gold-br); }
.footer__email { color: var(--muted); font-size: .94rem; }
.footer .disclaimer { margin-bottom: 20px; max-width: 720px; }
.footer__copy { color: var(--muted); font-size: .85rem; padding-bottom: 36px; }

/* ====================== REVEAL ANIMATION ====================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .07s; }
.reveal:nth-child(5) { transition-delay: .14s; }
.reveal:nth-child(6) { transition-delay: .21s; }

/* ====================== RESPONSIVE ====================== */
@media (min-width: 600px) {
  .platforms { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 760px) {
  .header__actions .btn--ghost { display: inline-flex; }
}
@media (min-width: 880px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .step__text { font-size: .88rem; }
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

/* ====================== A11Y ====================== */
:focus-visible { outline: 2px solid var(--gold-br); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .scanline { display: none; }
}
