:root {
  --bg: #07111f;
  --bg-2: #0b1728;
  --card: rgba(255, 255, 255, 0.075);
  --card-2: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.14);
  --text: #eef6ff;
  --muted: #9fb0c7;
  --primary: #4dd5ff;
  --primary-2: #7c5cff;
  --success: #37e8a3;
  --warning: #ffcf5a;
  --danger: #ff677d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body::selection { background: rgba(77, 213, 255, 0.28); }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 10%, rgba(77, 213, 255, 0.20), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(124, 92, 255, 0.28), transparent 36%),
    radial-gradient(circle at 60% 92%, rgba(55, 232, 163, 0.12), transparent 35%),
    linear-gradient(135deg, #06101d 0%, #07111f 45%, #0d1328 100%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.78), transparent 82%);
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.72; }
img { width: 100%; display: block; }
code { color: var(--primary); }

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #03101c;
  box-shadow: 0 12px 32px rgba(77, 213, 255, 0.28);
}
.brand strong { display: block; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand small { display: block; color: var(--muted); font-size: .72rem; margin-top: 1px; }

.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a:not(.btn) {
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: .92rem;
}
.nav-menu a:hover { color: var(--text); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 1.25rem;
}

.section-pad {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.055em; }
h1 {
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: .92;
  max-width: 900px;
}
h2 { font-size: clamp(2.1rem, 4.7vw, 4.2rem); line-height: 1.02; }
h3 { font-size: 1.32rem; }
.lead { font-size: 1.16rem; max-width: 680px; margin: 26px 0 0; }

.hero-actions, .cta-actions, .project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #04101d;
  font-weight: 900;
  box-shadow: 0 14px 42px rgba(77, 213, 255, 0.22);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(124, 92, 255, 0.32); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.trust-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-row span, .tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: #c8d6e8;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 700;
  font-size: .82rem;
}

.hero-visual { perspective: 1000px; }
.glass-panel, .card, .project-card, .mini-project, .proof-card, .step, .cta-box {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.dashboard-card {
  padding: 22px;
  min-height: 520px;
  transform: rotateY(-7deg) rotateX(4deg);
  position: relative;
  overflow: hidden;
}
.dashboard-card::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(77,213,255,.32), transparent 68%);
  right: -120px;
  top: -90px;
}
.panel-top { display: flex; gap: 8px; position: relative; z-index: 2; }
.panel-top span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.34); }
.metric-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0;
}
.metric-grid div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
}
.metric-grid small { display: block; color: var(--muted); margin-bottom: 8px; }
.metric-grid strong { font-size: 1.45rem; }
.chart-bars {
  height: 220px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.08);
}
.chart-bars i {
  flex: 1;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 30px rgba(77,213,255,.18);
}
.system-list { margin-top: 20px; }
.system-list p {
  margin: 9px 0;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
}
.system-list b {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 8px;
}
.system-list span { color: var(--success); font-weight: 800; }

.logos {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
  color: #c9d6e8;
  background: rgba(255,255,255,.05);
  font-weight: 800;
}

.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.cards { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card, .mini-project, .proof-card, .step { padding: 26px; }
.card .icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(77,213,255,.13);
  border: 1px solid rgba(77,213,255,.26);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 22px;
}
.card:hover, .mini-project:hover, .proof-card:hover { transform: translateY(-5px); border-color: rgba(77,213,255,.36); }
.card, .mini-project, .proof-card { transition: transform .25s ease, border-color .25s ease; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project-card.feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 34px;
  padding: 34px;
  overflow: hidden;
  position: relative;
}
.project-card.feature::before {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.26), transparent 68%);
}
.project-content { position: relative; z-index: 2; }
.project-content h3 { font-size: clamp(2.2rem, 4vw, 4rem); margin-top: 18px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li { color: #dbe8f6; }
.check-list li::before { content: "✓"; color: var(--success); font-weight: 900; margin-right: 10px; }
.project-mockup { min-height: 430px; position: relative; }
.phone {
  width: 210px;
  height: 420px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 34px;
  background: #050b14;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  position: absolute;
}
.phone-left { left: 30px; top: 20px; transform: rotate(-8deg); }
.phone-right { right: 20px; top: 70px; transform: rotate(8deg); }
.phone-top {
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  margin: 2px auto 12px;
}
.trade-screen, .chat-screen {
  height: calc(100% - 22px);
  border-radius: 24px;
  background: linear-gradient(180deg, #0c1729, #07111f);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
}
.trade-screen small, .chat-screen small { color: var(--muted); }
.trade-screen strong { display: block; margin: 14px 0; }
.profit-line {
  height: 120px;
  margin: 22px 0;
  border-radius: 20px;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(55,232,163,.75) 19% 23%, transparent 24% 44%, rgba(55,232,163,.82) 45% 50%, transparent 51%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(55,232,163,.22);
}
.trade-screen p { margin: 8px 0; font-size: .84rem; }
.trade-screen em, .chat-screen em { display: block; color: var(--warning); font-size: .72rem; margin-top: 16px; }
.bubble {
  margin: 18px 0;
  padding: 12px;
  border-radius: 16px 16px 16px 4px;
  background: rgba(255,255,255,.09);
  color: #dce9fb;
  font-size: .86rem;
}
.bubble.alt { border-radius: 16px 16px 4px 16px; background: rgba(77,213,255,.15); }
.mini-project { min-height: 170px; }

.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-card { overflow: hidden; padding: 0; }
.proof-card img { height: 270px; object-fit: cover; }
.proof-card h3, .proof-card p { padding-inline: 22px; }
.proof-card h3 { margin-top: 22px; }
.proof-card p { padding-bottom: 22px; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #06101d;
  font-weight: 900;
  margin-bottom: 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stats div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.05);
}
.stats strong { display: block; font-size: 1.45rem; margin-bottom: 8px; }
.stats span { color: var(--muted); line-height: 1.5; }

.risk .glass-panel { padding: 34px; }
.cta { padding-top: 40px; }
.cta-box {
  padding: clamp(32px, 7vw, 72px);
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(77,213,255,.18), transparent 32%),
    radial-gradient(circle at 90% 70%, rgba(124,92,255,.22), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.05));
}
.cta-box .eyebrow { justify-content: center; }
.cta-box p { max-width: 660px; margin-inline: auto; }
.cta-actions { justify-content: center; }
.cta-box small { display: block; margin-top: 24px; color: var(--muted); }

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 980px) {
  .hero, .project-card.feature { grid-template-columns: 1fr; }
  .dashboard-card { transform: none; min-height: 460px; }
  .cards-3, .proof-grid, .timeline, .stats { grid-template-columns: 1fr 1fr; }
  .project-mockup { min-height: 460px; }
}

@media (max-width: 760px) {
  .nav { top: 10px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-menu {
    position: absolute;
    inset: calc(100% + 10px) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 17, 31, 0.94);
    backdrop-filter: blur(18px);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; }
  .section-pad { padding: 72px 0; }
  .hero { gap: 28px; min-height: auto; padding-top: 72px; }
  .lead { font-size: 1rem; }
  .cards-3, .proof-grid, .timeline, .stats, .project-grid { grid-template-columns: 1fr; }
  .project-card.feature { padding: 24px; }
  .phone { width: 180px; height: 370px; }
  .phone-left { left: 0; }
  .phone-right { right: 0; }
  .proof-card img { height: 230px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 460px) {
  .metric-grid { grid-template-columns: 1fr; }
  .chart-bars { height: 170px; }
  .hero-actions .btn, .cta-actions .btn, .project-actions .btn { width: 100%; }
  .project-mockup { min-height: 770px; }
  .phone { position: relative; left: auto; right: auto; top: auto; margin: 18px auto; transform: none; width: min(250px, 100%); }
}
