/* ============================================================
   SeedPay — premium fintech for India payments · T0 settlement
   Palette: navy #0A1F44 · electric #2D6BFF · mint #00D4AA
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (data)
   Photography: Unsplash (local, license-free)
   ============================================================ */

:root {
  --navy: #0A1F44;
  --navy-deep: #060f28;
  --navy-soft: #0E2B5C;
  --indigo: #142a63;
  --electric: #2D6BFF;
  --electric-dark: #1F54D6;
  --mint: #00D4AA;
  --gray: #F5F7FA;
  --ink: #16233B;
  --ink-soft: #55637c;
  --line: rgba(10, 31, 68, .1);
  --line-dark: rgba(255, 255, 255, .1);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 50px rgba(10, 31, 68, .1);
  --shadow-deep: 0 40px 90px rgba(4, 10, 30, .55);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--electric); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 960px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.18rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--electric);
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--electric); }
.on-dark .eyebrow, .section-dark .eyebrow { color: var(--mint); }
.on-dark .eyebrow::before, .section-dark .eyebrow::before { background: var(--mint); }

.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 46rem; }
.on-dark .lead, .section-dark .lead { color: rgba(255,255,255,.74); }

.grad-text {
  background: linear-gradient(100deg, #6ea0ff 0%, #2D6BFF 40%, #00D4AA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.t0-mark { font-family: var(--font-mono); color: var(--mint); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 500; font-size: .96rem;
  padding: 14px 28px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #3d78ff, #2D6BFF);
  color: #fff; box-shadow: 0 10px 26px rgba(45,107,255,.4);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(45,107,255,.5); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.1); }
.btn-outline { border-color: var(--electric); color: var(--electric); background: transparent; }
.btn-outline:hover { background: rgba(45,107,255,.07); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* ---------- Header / Nav ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background:
    radial-gradient(60rem 34rem at 82% 90%, rgba(45,107,255,.30), transparent 58%),
    var(--navy);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  color: #fff; letter-spacing: -.02em; display: inline-flex; align-items: center;
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--electric); }
.logo .mark {
  width: 26px; height: 26px; border-radius: 8px; margin-right: 10px;
  background: linear-gradient(135deg, var(--electric), var(--mint));
  display: inline-block; position: relative; box-shadow: 0 4px 14px rgba(45,107,255,.5);
  flex: 0 0 auto;
}
.logo .mark::after {
  content: ""; position: absolute; inset: 6px 6px auto 6px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.9); box-shadow: 0 6px 0 rgba(255,255,255,.55);
}
.nav-links { display: flex; gap: 4px; list-style: none; margin-left: 8px; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 9px;
  color: rgba(255,255,255,.78); font-size: .92rem; font-weight: 500;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(45,107,255,.3); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex; border: 1px solid var(--line-dark); border-radius: 9px;
  overflow: hidden; font-family: var(--font-mono); font-size: .75rem;
}
.lang-switch button {
  background: transparent; border: 0; color: rgba(255,255,255,.6);
  padding: 7px 12px; cursor: pointer; font: inherit;
}
.lang-switch button.active { background: rgba(255,255,255,.14); color: #fff; }
.nav .btn { padding: 10px 20px; font-size: .88rem; }
.nav-toggle {
  display: none; margin-left: auto; background: transparent;
  border: 1px solid var(--line-dark); border-radius: 9px; color: #fff;
  width: 44px; height: 40px; cursor: pointer; font-size: 1.05rem;
}

/* ---------- Aurora dark backdrop (shared) ---------- */
.aurora {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(60rem 34rem at 82% -10%, rgba(45,107,255,.34), transparent 58%),
    radial-gradient(46rem 30rem at 5% 6%, rgba(0,212,170,.16), transparent 60%),
    radial-gradient(50rem 40rem at 50% 120%, rgba(45,107,255,.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.aurora::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(72rem 44rem at 60% 18%, #000 26%, transparent 74%);
  pointer-events: none;
}
.aurora > .container { position: relative; z-index: 2; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 104px; }
.hero .hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/hero-network.jpg") center/cover no-repeat;
  opacity: .16; mix-blend-mode: screen;
  mask-image: radial-gradient(60rem 40rem at 72% 34%, #000 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.hero h1 { margin: 0 0 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-family: var(--font-mono); font-size: .78rem; color: rgba(255,255,255,.55);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust b { color: var(--mint); font-weight: 500; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

/* ---------- Signature: merchant console mockup ---------- */
.console {
  position: relative;
  background: linear-gradient(165deg, rgba(20,42,99,.78), rgba(6,15,40,.9));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  overflow: hidden; backdrop-filter: blur(8px);
}
.console::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
}
.console-top {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 20px; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.console-top .dots { display: flex; gap: 6px; margin-right: 6px; }
.console-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.console-top .live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--mint); }
.console-top .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 0 rgba(0,212,170,.5); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(0,212,170,0); } 100% { box-shadow: 0 0 0 0 rgba(0,212,170,0); } }

.console-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); }
.console-stats .cell { background: rgba(6,15,40,.5); padding: 18px 20px; }
.console-stats .k { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.console-stats .v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-top: 4px; }
.console-stats .v em { font-style: normal; color: var(--mint); }
.console-spark {
  padding: 16px 20px 20px; border-bottom: 1px solid var(--line-dark);
  display: flex; align-items: flex-end; gap: 5px; height: 78px;
}
.console-spark i {
  flex: 1; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--electric), rgba(45,107,255,.25));
}
.console-spark i:last-child { background: linear-gradient(180deg, var(--mint), rgba(0,212,170,.3)); }

.stream-body { padding: 6px 0; min-height: 214px; }
.feed-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 20px;
  font-family: var(--font-mono); font-size: .78rem;
  border-bottom: 1px dashed rgba(255,255,255,.06); animation: feed-in .4s ease both;
}
@keyframes feed-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.feed-type { font-size: .62rem; letter-spacing: .1em; padding: 3px 8px; border-radius: 5px; background: rgba(45,107,255,.2); color: #9db9ff; }
.feed-type.out { background: rgba(255,255,255,.1); color: rgba(255,255,255,.72); }
.feed-meta { color: rgba(255,255,255,.82); }
.feed-amt { color: #fff; }
.feed-status { margin-left: auto; font-size: .64rem; letter-spacing: .08em; color: rgba(255,255,255,.45); }
.feed-status.settled { color: var(--mint); }
.console-foot {
  padding: 13px 20px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: .7rem; color: rgba(255,255,255,.5);
}
.console-foot b { color: var(--mint); font-weight: 500; }

/* ---------- Stats bar ---------- */
.stats { background: var(--navy-deep); border-top: 1px solid var(--line-dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.stat { border-left: 1px solid var(--line-dark); padding-left: 24px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; }
.stat .num em { color: var(--mint); font-style: normal; }
.stat .lbl { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--gray); }
.section-dark { position: relative; color: #fff; }
.section-head { max-width: 48rem; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.section-dark .section-head p { color: rgba(255,255,255,.72); }

/* ---------- Layout helpers ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-2.wide-left { grid-template-columns: 1.15fr .85fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.center-wrap { display: flex; flex-direction: column; align-items: center; }

/* ---------- Cards (elevated, hairline gradient border) ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 30px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(45,107,255,.4); box-shadow: var(--shadow-soft); }
.card h3 { margin: 18px 0 9px; }
.card p { font-size: .95rem; color: var(--ink-soft); }
.card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; }

/* glass card on dark */
.section-dark .card, .card-glass {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
}
.section-dark .card h3, .card-glass h3 { color: #fff; }
.section-dark .card p, .card-glass p { color: rgba(255,255,255,.66); }
.section-dark .card:hover, .card-glass:hover { border-color: rgba(0,212,170,.4); box-shadow: 0 24px 50px rgba(4,10,30,.4); }

.icon-tile {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(45,107,255,.22), rgba(45,107,255,.08));
  color: #7ba3ff; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(45,107,255,.25);
}
.icon-tile.mint {
  background: linear-gradient(135deg, rgba(0,212,170,.22), rgba(0,212,170,.06));
  color: var(--mint); border-color: rgba(0,212,170,.3);
}
.card:not(.card-glass):not(.section-dark .card) .icon-tile { color: var(--electric); }
.icon-tile svg { width: 24px; height: 24px; }

.product-card { border-top: 3px solid var(--electric); }
.product-card.payout { border-top-color: var(--mint); }

/* ---------- Solution cards (image header + overlapping badge) ---------- */
.solution-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.solution-media { position: relative; height: 200px; overflow: hidden; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.solution-card:hover .solution-media img { transform: scale(1.05); }
.solution-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,15,40,0) 42%, rgba(6,15,40,.42) 100%);
}
.solution-badge {
  position: absolute; left: 28px; bottom: -27px; z-index: 3;
  width: 56px; height: 56px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(10,31,68,.2);
  display: flex; align-items: center; justify-content: center; color: var(--electric);
}
.solution-badge.mint { color: #009e80; }
.solution-badge svg { width: 27px; height: 27px; }
.solution-body { padding: 44px 32px 34px; }
.solution-body h3 { margin: 0 0 10px; }
.solution-body p { font-size: .96rem; color: var(--ink-soft); }
.solution-body .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; }

/* ---------- Image bands & framed media ---------- */
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.tall { min-height: 420px; }
.media-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(6,15,40,.72); backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 12px 16px; color: #fff; font-family: var(--font-mono); font-size: .78rem;
}
.media-badge b { color: var(--mint); font-weight: 500; }

.img-band {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy-deep);
}
.img-band .bg { position: absolute; inset: 0; z-index: 0; }
.img-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.img-band .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,15,40,.94) 0%, rgba(6,15,40,.8) 42%, rgba(6,15,40,.5) 100%);
}
.img-band .container { position: relative; z-index: 2; padding: 100px 24px; }
.img-band.center .bg::after { background: linear-gradient(180deg, rgba(6,15,40,.82), rgba(6,15,40,.9)); }

/* ---------- Payment logo wall ---------- */
.logo-wall { display: flex; flex-wrap: wrap; gap: 14px; }
.pay-chip {
  font-family: var(--font-mono); font-size: .85rem; font-weight: 500; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 24px; display: inline-flex; align-items: center; gap: 9px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pay-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.pay-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--electric); }
.pay-chip:nth-child(even)::before { background: var(--mint); }
.on-dark .pay-chip, .section-dark .pay-chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 0 26px 0 0; }
.step + .step { padding-left: 30px; border-left: 1px dashed var(--line); }
.section-dark .step + .step { border-color: var(--line-dark); }
.step .n {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 22px; isolation: isolate;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--electric);
  background: #fff; box-shadow: 0 10px 24px rgba(45,107,255,.16);
}
.step .n::before { /* gradient ring */
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; z-index: -2;
  background: linear-gradient(140deg, var(--electric), var(--mint));
}
.step .n::after { /* inner disc so only the ring shows */
  content: ""; position: absolute; inset: 1.5px; border-radius: 50%; z-index: -1;
  background: #fff;
}
.section-alt .step .n::after { background: var(--gray); }
.section-dark .step .n { color: #0b1f45; background: transparent; box-shadow: 0 10px 24px rgba(0,212,170,.2); }
.section-dark .step .n::after { background: linear-gradient(140deg, var(--electric), var(--mint)); }
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { font-size: .92rem; color: var(--ink-soft); }
.section-dark .step p { color: rgba(255,255,255,.66); }

/* ---------- Flow diagram ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.flow-node {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  border-radius: 14px; padding: 22px 20px; position: relative; font-size: .9rem;
  backdrop-filter: blur(6px);
}
.flow-node .k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); display: block; margin-bottom: 8px; }
.flow-node strong { color: #fff; font-family: var(--font-display); font-weight: 500; }
.flow-node.final { border-color: rgba(0,212,170,.5); background: rgba(0,212,170,.08); }
.flow-node.final strong { color: var(--mint); }
.flow-node:not(:last-child)::after {
  content: "→"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%);
  color: var(--mint); font-size: .95rem; z-index: 1;
}

/* ---------- Checklist ---------- */
.check-list { list-style: none; display: grid; gap: 15px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 1rem; }
.check-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: rgba(0,212,170,.14); color: #00775f; font-size: .74rem;
  display: flex; align-items: center; justify-content: center;
}
.on-dark .check-list .tick, .section-dark .check-list .tick { color: var(--mint); }
.on-dark .check-list li, .section-dark .check-list li { color: rgba(255,255,255,.82); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 16px 22px; font-size: .93rem; }
thead th {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--navy); color: rgba(255,255,255,.85); white-space: nowrap;
}
tbody tr { border-top: 1px solid var(--line); }
tbody tr:hover { background: rgba(45,107,255,.04); }
td .method { font-family: var(--font-display); font-weight: 500; color: var(--navy); }
.tag { display: inline-block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag.in { background: rgba(45,107,255,.1); color: var(--electric-dark); }
.tag.out { background: rgba(10,31,68,.08); color: var(--navy); }
.tag.t0 { background: rgba(0,212,170,.13); color: #00775f; font-weight: 500; }

/* ---------- Quotes ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s ease, box-shadow .2s ease; }
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.quote p { font-size: .98rem; }
.quote .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--ink-soft); }
.quote .who b { color: var(--navy); font-weight: 500; }
.quote .ava {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--electric), var(--mint));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.quote::before { content: "“"; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--electric); display: block; margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40rem 22rem at 80% 120%, rgba(0,212,170,.3), transparent 60%),
    radial-gradient(44rem 26rem at 12% -20%, rgba(45,107,255,.4), transparent 60%),
    linear-gradient(180deg, rgba(6,15,40,.86), rgba(6,15,40,.94));
}
.cta-band .container { position: relative; z-index: 2; padding: 100px 24px; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.76); margin-bottom: 34px; font-size: 1.08rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 84px 0 76px; }
.page-hero h1 { max-width: 44rem; margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { margin-bottom: 30px; }

/* ---------- Forms ---------- */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .94rem; padding: 12px 15px;
  border: 1px solid rgba(10,31,68,.18); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--electric); box-shadow: 0 0 0 3px rgba(45,107,255,.16); }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 14px; }
.form-success { display: none; margin-top: 18px; padding: 15px 18px; border-radius: 11px; background: rgba(0,212,170,.12); border: 1px solid rgba(0,212,170,.4); color: #00614e; font-size: .93rem; }
.form-success.show { display: block; }
.contact-side { display: grid; gap: 20px; align-content: start; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow-soft); }
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.contact-card .btn { width: 100%; }
.contact-card .mono { font-family: var(--font-mono); font-size: .86rem; color: var(--navy); }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 72px 0 36px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 46px; border-bottom: 1px solid var(--line-dark); }
.site-foot .logo { font-size: 1.25rem; }
.foot-tag { margin-top: 14px; font-size: .86rem; max-width: 18rem; line-height: 1.7; }
.foot-col h4 { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.foot-col ul { list-style: none; display: grid; gap: 11px; }
.foot-col a { color: rgba(255,255,255,.72); }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 28px; font-size: .8rem; color: rgba(255,255,255,.42); }
.foot-bottom .spacer { margin-left: auto; }
.foot-bottom .lang-switch { border-color: rgba(255,255,255,.15); }

/* ---------- Telegram support FAB (floating, prominent) ---------- */
.tg-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px 13px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .96rem;
  box-shadow: 0 16px 38px rgba(34,158,217,.5);
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.tg-fab:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(34,158,217,.62); text-decoration: none; color: #fff; }
.tg-fab .ic { position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; }
.tg-fab .ic svg { width: 20px; height: 20px; margin-left: -1px; }
.tg-fab .ic::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(42,171,238,.6); animation: tgpulse 2.2s infinite;
}
.tg-fab .label { line-height: 1.15; }
.tg-fab .label small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .66rem; opacity: .82; letter-spacing: .02em; }
@keyframes tgpulse { 70% { box-shadow: 0 0 0 14px rgba(42,171,238,0); } 100% { box-shadow: 0 0 0 0 rgba(42,171,238,0); } }
@media (max-width: 560px) {
  .tg-fab { right: 16px; bottom: 16px; padding: 12px; gap: 0; }
  .tg-fab .label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tg-fab .ic::before { animation: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 66px 0 78px; }
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .grid-2, .grid-2.wide-left, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 38px; }
  .step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .flow-node:nth-child(2)::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -24px; transform: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .img-band .container { padding: 76px 24px; }
  .cta-band .container { padding: 80px 24px; }
}

@media (max-width: 820px) {
  .nav { flex-wrap: wrap; height: auto; min-height: 72px; padding: 16px 0; }
  .nav-toggle { display: block; }
  .nav .nav-links, .nav .nav-actions { display: none; }
  .nav.open .nav-links { display: grid; flex-basis: 100%; gap: 2px; margin: 16px 0 0; }
  .nav.open .nav-actions { display: flex; flex-basis: 100%; margin: 16px 0 4px; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 0 !important; border-left: 0 !important; }
  .flow { grid-template-columns: 1fr; }
  .flow-node:not(:last-child)::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -24px; transform: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat .num { font-size: 1.5rem; }
  .console-stats .v { font-size: 1.25rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-panel { padding: 24px; }
}

/* ================= Homepage rewards banner ================= */
.reward-banner { padding: 8px 0 0; }
.reward-banner-inner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 26px;
  padding: 30px 34px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0b1f45 0%, #14336f 52%, #0E2B5C 100%);
  border: 1px solid rgba(255,201,60,.32);
  box-shadow: var(--shadow-soft); text-decoration: none; color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.reward-banner-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 200px at 12% 0%, rgba(45,107,255,.35), transparent 70%),
              radial-gradient(420px 200px at 92% 120%, rgba(0,212,170,.28), transparent 70%);
}
.reward-banner-inner:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(4,10,30,.4); text-decoration: none; color: #fff; }

.reward-banner-spark { position: relative; flex: 0 0 auto; width: 64px; height: 64px; }
.rb-wheel {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(#2D6BFF 0 90deg, #00B58C 90deg 180deg, #FFC93C 180deg 270deg, #2D6BFF 270deg 360deg);
  box-shadow: 0 0 0 3px #fff, 0 0 18px rgba(255,201,60,.6);
  animation: rb-spin 8s linear infinite;
}
.rb-wheel::after {
  content: ""; position: absolute; inset: 42%; border-radius: 50%; background: #fff;
}
@keyframes rb-spin { to { transform: rotate(360deg); } }

.reward-banner-copy { flex: 1 1 auto; position: relative; display: grid; gap: 5px; }
.reward-banner-eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #FFD766; }
.reward-banner-title { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; line-height: 1.25; }
.reward-banner-sub { font-size: .95rem; color: rgba(255,255,255,.72); }
.reward-banner-sub b { color: #FFD766; font-weight: 700; }
.reward-banner-cta { position: relative; flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 760px) {
  .reward-banner-inner { flex-direction: column; text-align: center; gap: 18px; padding: 28px 22px; }
  .reward-banner-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .rb-wheel { animation: none; } }

/* ================= Exclusive Invitation Rewards ================= */
.reward-hero { padding: 96px 0 88px; }
.reward-hero .steps.reward-steps { margin-top: 8px; }
.reward-hero-cta { margin-top: 44px; }

.reward-play { padding: 96px 0; }
.reward-layout {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}

/* --- Code gate --- */
.reward-gate { padding: 34px 34px 38px; }
.reward-gate h2 { margin: 6px 0 12px; font-size: 1.7rem; }
.reward-gate-note { font-size: .95rem; color: var(--ink-soft); margin-bottom: 22px; }
.reward-code-field { margin-bottom: 18px; }
.reward-code-field input { text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-mono); }
.reward-gate .btn { width: 100%; }
.reward-gate-msg { min-height: 1.2em; margin-top: 14px; font-size: .9rem; font-weight: 500; }
.reward-gate-msg.err { color: #c0392b; }
.reward-gate-msg.ok { color: #00614e; }

/* --- Wheel --- */
.reward-wheel-wrap { text-align: center; }
.wheel-stage { position: relative; width: min(430px, 88vw); aspect-ratio: 1; margin: 0 auto; }
.wheel-stage[data-state="locked"] { filter: saturate(.55) brightness(.92); }
/* animated glow halo behind the wheel */
.wheel-stage::before {
  content: ""; position: absolute; inset: -30px; border-radius: 50%; z-index: 0;
  background: conic-gradient(from 0deg, #2D6BFF, #00D4AA, #FFC93C, #2D6BFF);
  filter: blur(26px); opacity: .5; animation: wheel-halo 7s linear infinite;
}
.wheel-stage[data-state="ready"]::before,
.wheel-stage[data-state="spinning"]::before { opacity: .8; }
.wheel-stage[data-state="locked"]::before { opacity: .28; }
@keyframes wheel-halo { to { transform: rotate(360deg); } }
/* dotted bulb ring */
.wheel-stage::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: 3; pointer-events: none;
  background:
    radial-gradient(circle at 50% 2%, #FFE58A 0 3px, transparent 4px),
    radial-gradient(circle at 84.6% 15.4%, #FFE58A 0 3px, transparent 4px),
    radial-gradient(circle at 98% 50%, #FFE58A 0 3px, transparent 4px),
    radial-gradient(circle at 84.6% 84.6%, #FFE58A 0 3px, transparent 4px),
    radial-gradient(circle at 50% 98%, #FFE58A 0 3px, transparent 4px),
    radial-gradient(circle at 15.4% 84.6%, #FFE58A 0 3px, transparent 4px),
    radial-gradient(circle at 2% 50%, #FFE58A 0 3px, transparent 4px),
    radial-gradient(circle at 15.4% 15.4%, #FFE58A 0 3px, transparent 4px);
  filter: drop-shadow(0 0 4px rgba(255,201,60,.9));
  animation: bulb-blink 1.1s steps(1) infinite;
}
@keyframes bulb-blink { 50% { opacity: .45; } }

.wheel-pointer {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%); z-index: 6;
  width: 0; height: 0;
  border-left: 17px solid transparent; border-right: 17px solid transparent;
  border-top: 30px solid #FFC93C;
  filter: drop-shadow(0 4px 7px rgba(4,10,30,.55));
}
.wheel-pointer::after {
  content: ""; position: absolute; left: 50%; top: -34px; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, #FFC93C 70%);
  box-shadow: 0 2px 6px rgba(4,10,30,.5);
}

.wheel {
  position: relative; z-index: 1;
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  transform: rotate(0deg);
  transition: transform 4.8s cubic-bezier(.12, .78, .18, 1);
  box-shadow:
    0 0 0 8px #0b1f45,
    0 0 0 11px rgba(255,255,255,.14),
    0 0 0 15px rgba(45,107,255,.3),
    0 26px 64px rgba(4,10,30,.6);
  background: conic-gradient(from -22.5deg,
    #2D6BFF 0deg 45deg,
    #00B58C 45deg 90deg,
    #2D6BFF 90deg 135deg,
    #00B58C 135deg 180deg,
    #2D6BFF 180deg 225deg,
    #00B58C 225deg 270deg,
    #2D6BFF 270deg 315deg,
    #FFC93C 315deg 360deg);
}
/* glossy dome highlight */
.wheel::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle at 50% 32%, rgba(255,255,255,.4), rgba(255,255,255,0) 56%);
}
/* segment divider lines */
.wheel::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 2;
  background:
    repeating-conic-gradient(from -22.5deg, rgba(255,255,255,.32) 0deg 0.8deg, transparent 0.8deg 45deg);
}

.wheel-labels { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; z-index: 3; }
.wheel-labels li {
  position: absolute; top: 0; left: calc(50% - 46px); width: 92px; height: 50%;
  transform-origin: 50% 100%; transform: rotate(calc(var(--i) * 45deg));
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding-top: 18px; color: #fff; text-align: center;
  text-shadow: 0 1px 4px rgba(4,10,30,.55);
}
.wheel-labels li .amt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1; }
.wheel-labels li .cur { font-family: var(--font-mono); font-size: .54rem; letter-spacing: .12em; opacity: .85; }
/* jackpot segment (i=7) — dark text on gold, emphasised */
.wheel-labels li[style*="--i:7"] { color: #4a3400; text-shadow: 0 1px 2px rgba(255,255,255,.4); }
.wheel-labels li[style*="--i:7"] .amt { font-size: 1.12rem; }
.wheel-labels li[style*="--i:7"] .cur { opacity: 1; }

.wheel-spin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5;
  width: 104px; height: 104px; border-radius: 50%; cursor: default;
  border: 5px solid #fff; color: #fff;
  background: radial-gradient(circle at 50% 30%, #5b93ff, #1F54D6 72%);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em;
  box-shadow: 0 10px 24px rgba(4,10,30,.45), inset 0 3px 9px rgba(255,255,255,.45), inset 0 -7px 12px rgba(0,0,0,.28);
  transition: box-shadow .2s ease;
}
.wheel-spin:disabled { background: radial-gradient(circle at 50% 30%, #7c88a5, #4a5670 72%); }
.wheel-stage[data-state="ready"] .wheel-spin { animation: hub-pulse 1.3s ease-in-out infinite; }
@keyframes hub-pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(4,10,30,.45), inset 0 3px 9px rgba(255,255,255,.45), inset 0 -7px 12px rgba(0,0,0,.28), 0 0 0 0 rgba(0,212,170,.5); }
  50% { box-shadow: 0 10px 24px rgba(4,10,30,.45), inset 0 3px 9px rgba(255,255,255,.45), inset 0 -7px 12px rgba(0,0,0,.28), 0 0 0 12px rgba(0,212,170,0); }
}
.wheel-spin.spinning { cursor: progress; }

.wheel-hint { margin-top: 26px; font-size: .92rem; font-weight: 500; color: var(--ink-soft); min-height: 1.2em; }

/* --- Win modal --- */
.reward-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.reward-modal[hidden] { display: none; }
.reward-modal-backdrop { position: absolute; inset: 0; background: rgba(4,10,30,.66); backdrop-filter: blur(4px); animation: rw-fade .25s ease; }
.reward-modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 440px;
  background: #fff; border-radius: var(--radius-lg); padding: 40px 34px 34px;
  box-shadow: var(--shadow-deep); text-align: center; animation: rw-pop .3s cubic-bezier(.2,.8,.3,1.1);
}
@keyframes rw-fade { from { opacity: 0; } }
@keyframes rw-pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.reward-modal-close {
  position: absolute; top: 12px; right: 14px; border: 0; background: transparent;
  font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 4px 8px;
}
.reward-modal-close:hover { color: var(--navy); }
.reward-burst { font-size: 2.6rem; margin-bottom: 6px; }
.reward-modal-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.reward-prize { font-family: var(--font-display); margin-bottom: 14px; color: var(--navy); font-size: 1.15rem; }
.reward-prize em { font-style: normal; font-size: 2rem; font-weight: 700; color: var(--electric); }
.reward-claim-note { font-size: .92rem; color: var(--ink-soft); margin-bottom: 20px; }
.reward-claim .field { text-align: left; margin-bottom: 18px; }
.reward-claim .btn { width: 100%; }
.reward-claim-msg { min-height: 1.2em; margin-top: 12px; font-size: .88rem; font-weight: 500; color: #c0392b; }

.reward-check {
  width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%;
  background: rgba(0,212,170,.14); color: var(--mint);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700;
}
.reward-done p { font-size: .95rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; }
.reward-done p em { font-style: normal; font-weight: 700; color: var(--navy); }
.reward-done-addr { word-break: break-all; font-size: .82rem; color: var(--navy); background: var(--gray); border-radius: 10px; padding: 10px 12px; margin-bottom: 20px; }
.reward-done .btn { width: 100%; }

@media (max-width: 860px) {
  .reward-layout { grid-template-columns: 1fr; gap: 40px; }
  .reward-wheel-wrap { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .wheel { transition: transform .01s linear; }
  .wheel-stage::before, .wheel-stage::after, .wheel-spin { animation: none !important; }
}
