:root {
  --bg: #050712;
  --bg-2: #090f20;
  --card: rgba(13, 19, 37, 0.78);
  --card-2: rgba(18, 27, 51, 0.92);
  --text: #f7f9ff;
  --muted: #9ba8c9;
  --red: #ff2f5f;
  --red-2: #ff6b85;
  --cyan: #00e5ff;
  --green: #18ff9c;
  --yellow: #f6c445;
  --line: rgba(255,255,255,0.09);
  --shadow: 0 24px 80px rgba(0,0,0,0.45);
  --radius-xl: 32px;
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 47, 95, 0.24), transparent 32rem),
    radial-gradient(circle at 90% 0%, rgba(0, 229, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 75% 85%, rgba(24, 255, 156, 0.10), transparent 28rem),
    var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; font-size: 1.02rem; }
strong { color: var(--text); }

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 88%);
}

.market-line {
  position: fixed;
  inset: auto -8vw 8vh -8vw;
  height: 46vh;
  z-index: -1;
  opacity: .18;
  background:
    linear-gradient(135deg, transparent 0 10%, var(--cyan) 10% 10.35%, transparent 10.35% 21%, var(--red) 21% 21.35%, transparent 21.35% 34%, var(--cyan) 34% 34.35%, transparent 34.35% 47%, var(--red) 47% 47.35%, transparent 47.35% 61%, var(--green) 61% 61.35%, transparent 61.35% 76%, var(--cyan) 76% 76.35%, transparent 76.35%);
  transform: skewY(-9deg);
  filter: blur(.1px);
}

.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .04em; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 0 28px rgba(255,47,95,.35); }
.brand span { font-size: 1.12rem; }
.brand em { color: var(--red); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .95rem; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text);
  background: rgba(255,255,255,.05);
  box-shadow: 0 18px 52px rgba(0,0,0,.22);
  transition: transform .2s ease, border .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.08); }
.btn.primary {
  border: 0;
  background: linear-gradient(135deg, var(--red), #8a2fff 52%, var(--cyan));
  color: white;
  font-weight: 800;
}
.btn.ghost { color: var(--muted); }

.hero {
  position: relative;
  padding: 92px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr);
  gap: 54px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 20px;
}
.kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
}

h1, h2, h3 { margin: 0; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 7vw, 6.65rem); line-height: .88; max-width: 830px; }
h1 .accent { color: var(--red); text-shadow: 0 0 34px rgba(255,47,95,.44); }
h1 .cyan { color: var(--cyan); text-shadow: 0 0 34px rgba(0,229,255,.34); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.32rem); max-width: 680px; margin: 26px 0 0; color: #c0cae8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.ticker {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  overflow: hidden;
  max-width: 760px;
}
.ticker-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 12px;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  min-width: 154px;
  border-radius: 13px;
  padding: 10px 12px;
  background: rgba(255,255,255,.055);
  display: grid;
  gap: 3px;
}
.ticker-item b { font-size: .9rem; }
.ticker-item span { font-size: .84rem; color: var(--muted); }
.up { color: var(--green); }
.down { color: var(--red-2); }
@keyframes ticker { to { transform: translateX(-50%); } }

.phone-stage {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: visible;
}
.glow-orb {
  position: absolute;
  z-index: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,47,95,.32), transparent 64%);
  filter: blur(20px);
}
.phone {
  position: relative;
  z-index: 2;
  width: min(390px, 82vw);
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.045));
  box-shadow: var(--shadow), 0 0 80px rgba(255,47,95,.22);
  transform: rotate(1.5deg);
}
.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,.35), rgba(255,47,95,.42), rgba(0,229,255,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.phone picture { display: block; }
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
  image-rendering: auto;
}
.float-card {
  position: absolute;
  z-index: 5;
  max-width: min(260px, 44vw);
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(8, 12, 27, 0.78);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.float-card.one { left: -8px; top: 96px; }
.float-card.two { right: -10px; bottom: 120px; }
.float-card small { color: var(--muted); display: block; margin-bottom: 3px; }
.float-card b { font-size: 1.12rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.section { padding: 86px 0; }
.section-title { max-width: 760px; margin-bottom: 34px; }
.section-title h2 { font-size: clamp(2.1rem, 4.6vw, 4.2rem); line-height: .98; }
.section-title p { margin-top: 16px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: 0 18px 60px rgba(0,0,0,.20);
}
.card::after {
  content: "";
  position: absolute;
  inset: auto -35% -40% auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(255,47,95,.14);
  filter: blur(18px);
}
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,47,95,.13);
  color: var(--red-2);
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  backdrop-filter: blur(18px);
  padding: 30px;
  box-shadow: var(--shadow);
}
.dashboard-img { width: 100%; border-radius: 24px; border: 1px solid rgba(255,255,255,.10); display: block; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.metric {
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  padding: 16px;
}
.metric small { color: var(--muted); display: block; margin-bottom: 6px; }
.metric b { font-size: 1.35rem; }

.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.045); }
.step-num { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--red), #7d41ff); font-weight: 900; }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { margin: 0; }

.cta {
  padding: 68px 0 92px;
}
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.13);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,47,95,.34), transparent 38%),
    radial-gradient(circle at 85% 20%, rgba(0,229,255,.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  padding: clamp(32px, 6vw, 70px);
  box-shadow: var(--shadow);
}
.cta-box h2 { font-size: clamp(2.2rem, 5vw, 5rem); line-height: .95; max-width: 780px; }
.cta-box p { max-width: 680px; }

.footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 4, 12, .58);
  padding: 34px 0;
  color: var(--muted);
}
.footer-grid { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }

.legal-page { padding: 64px 0 92px; }
.legal-card {
  max-width: 920px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(10, 15, 31, 0.78);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 54px);
}
.legal-card h1 { font-size: clamp(2.4rem, 5.8vw, 5rem); margin-bottom: 18px; }
.legal-card h2 { font-size: 1.55rem; margin-top: 36px; margin-bottom: 10px; }
.legal-card h3 { font-size: 1.12rem; margin-top: 24px; }
.legal-card ul { color: var(--muted); line-height: 1.75; padding-left: 22px; }
.note {
  border: 1px solid rgba(246,196,69,.28);
  background: rgba(246,196,69,.09);
  color: #ffe4a0;
  border-radius: 18px;
  padding: 14px 16px;
}
.placeholder { color: #ffb5c4; font-weight: 700; }

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-grid { gap: 34px; }
  .phone { width: min(350px, 80vw); }
  .float-card.one { left: -4px; top: 84px; }
  .float-card.two { right: -4px; bottom: 110px; }
}

@media (max-width: 900px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .nav-links { gap: 13px; flex-wrap: wrap; }
  .hero { padding-top: 56px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .phone-stage { min-height: auto; padding: 36px 0; }
  .float-card { display: none; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 26px, var(--max)); }
  .nav-links .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .metric-grid { grid-template-columns: 1fr; }
  .footer-grid { display: grid; }
}
