/* IOXOR landing page — self-contained, brand-matched to the app theme. */
:root {
  --violet: #8B5CF6;
  --indigo: #6366F1;
  --blue:   #3B82F6;
  --cyan:   #22D3EE;
  --teal:   #14B8A6;
  --pink:   #EC4899;
  --gradient: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 50%, #22D3EE 100%);
  --bg-deep: #07070D;
  --bg-base: #0B0D17;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #F4F6FF;
  --text-muted: #A4A8BE;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Ambient background orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.orb-1 { width: 520px; height: 520px; background: rgba(139, 92, 246, 0.55);
         top: -160px; left: -120px; animation: float1 18s ease-in-out infinite; }
.orb-2 { width: 460px; height: 460px; background: rgba(34, 211, 238, 0.40);
         top: 20%; right: -140px; animation: float2 22s ease-in-out infinite; }
.orb-3 { width: 400px; height: 400px; background: rgba(99, 102, 241, 0.35);
         bottom: -160px; left: 30%; animation: float1 26s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-30px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px,40px); } }

/* ---------- Live crypto ticker (sits directly below the nav) ---------- */
.ticker {
  position: sticky; top: 68px; z-index: 49; height: 40px; overflow: hidden;
  background: rgba(7, 7, 13, 0.85); backdrop-filter: blur(12px);
  border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border);
}
.ticker[hidden] { display: none; }
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-base), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--bg-base), transparent); }
.ticker-track {
  display: flex; align-items: center; height: 100%; width: max-content;
  animation: ticker-scroll 60s linear infinite; will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tik {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 22px;
  white-space: nowrap; font-size: 0.86rem; border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.tik .sym { font-weight: 700; letter-spacing: 0.02em; }
.tik .px { font-variant-numeric: tabular-nums; color: var(--text); transition: color 0.25s; }
.tik .chg { font-variant-numeric: tabular-nums; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.tik.up .chg { color: #22C55E; }
.tik.down .chg { color: #EF4444; }
.tik.flash-up .px { color: #22C55E; }
.tik.flash-down .px { color: #EF4444; }
.tik .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); }
.tik.up .dot { background: #22C55E; }
.tik.down .dot { background: #EF4444; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 23, 0.55);
  border-bottom: 1px solid var(--surface-border);
}
.nav .container { display: flex; align-items: center; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.brand img { height: 44px; width: auto; display: block; }
.nav-spacer { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--surface-border); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; border-radius: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.hero-copy { text-align: left; }
.hero-copy .hero-cta { justify-content: flex-start; }
.hero-copy p.lead { margin-left: 0; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-copy .hero-cta { justify-content: center; }
  .hero-copy p.lead { margin: 0 auto 36px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  color: #C4B5FD; background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.32);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: 1.08; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 22px;
}
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--text-muted); max-width: 640px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Stats strip ---------- */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; padding: 8px 0 8px; }
.stat { text-align: center; }
.stat .num { font-size: 1.8rem; font-weight: 700; }
.stat .label { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Features ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--surface-border); border-radius: 18px;
  padding: 28px; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.4); }
.card .icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 18px; background: rgba(139, 92, 246, 0.16); color: #C4B5FD;
}
.card h3 { font-size: 1.2rem; margin-bottom: 9px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { position: relative; padding: 26px 24px; border: 1px solid var(--surface-border); border-radius: 18px; background: var(--surface); }
.step .n { font-size: 2rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h3 { margin: 6px 0 8px; font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 0.93rem; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 60px 32px; border-radius: 26px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(99,102,241,0.28), rgba(11,13,23,0.1) 60%);
  border: 1px solid var(--surface-border);
}
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); margin-bottom: 28px; }

/* ---------- Risk band ---------- */
.risk {
  margin-top: 56px; padding: 18px 22px; border-radius: 14px;
  background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.28);
  color: #FCD9A0; font-size: 0.88rem; display: flex; gap: 12px; align-items: flex-start;
}
.risk i { font-size: 1.1rem; margin-top: 1px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--surface-border); padding: 44px 0 26px; margin-top: 40px; }
.footer .muted { color: var(--text-muted); font-size: 0.85rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 30px;
}
.footer-brand p { margin-top: 12px; max-width: 320px; font-size: 0.9rem; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 12px; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-muted); font-size: 0.92rem; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--surface-border); padding-top: 20px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Nav links ---------- */
.nav-link { color: var(--text-muted); font-size: 0.93rem; font-weight: 500; padding: 8px 10px; transition: color .15s; }
.nav-link:hover { color: var(--text); }

/* ---------- Pulse dot ---------- */
.pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Hero product mockup ---------- */
.hero-mock { position: relative; }
.mock-window {
  background: rgba(13, 16, 28, 0.92);
  border: 1px solid var(--surface-border); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(139, 92, 246, 0.10),
              0 20px 60px rgba(99, 102, 241, 0.18);
  animation: mock-float 7s ease-in-out infinite;
}
@keyframes mock-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mock-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  border-bottom: 1px solid var(--surface-border); background: rgba(255,255,255,0.02);
}
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar .dot.r { background: #FF5F57; } .mock-bar .dot.y { background: #FEBC2E; } .mock-bar .dot.g { background: #28C840; }
.mock-title { margin-left: 8px; font-size: 0.8rem; color: var(--text-muted); }
.mock-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: #4ADE80;
}
.mock-body { padding: 16px; }
.mock-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.mock-stat {
  flex: 1; background: rgba(255,255,255,0.03); border: 1px solid var(--surface-border);
  border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 3px;
}
.mock-stat .k { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.mock-stat .v { font-size: 1.02rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.badge-run { font-size: 0.78rem; font-weight: 700; color: #4ADE80; }
.pnl-up { color: #4ADE80; } .pnl-down { color: #F87171; }
.mock-chart {
  background: rgba(255,255,255,0.02); border: 1px solid var(--surface-border);
  border-radius: 12px; padding: 12px 12px 6px; margin-bottom: 14px;
}
.mock-chart-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: var(--text-muted); padding: 0 4px 8px;
}
.mock-chart-head .mock-price { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.mock-chart canvas { width: 100%; height: auto; display: block; }
.mock-positions { display: flex; flex-direction: column; gap: 8px; }
.mock-pos {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--surface-border);
  border-radius: 10px; padding: 9px 14px; font-size: 0.86rem; font-variant-numeric: tabular-nums;
}
.mock-pos .side { font-weight: 700; }
.mock-pos .side.up { color: #4ADE80; } .mock-pos .side.down { color: #F87171; }
.mock-pos .muted { color: var(--text-muted); }
.mock-caption { text-align: center; margin-top: 14px; font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Live stats section ---------- */
.live-section {
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: radial-gradient(90% 120% at 50% 0%, rgba(34, 211, 238, 0.06), transparent 70%);
}
.stats-4 { gap: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.stats-4 .stat {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 16px; padding: 22px 16px;
}
.stats-4 .stat .num { font-variant-numeric: tabular-nums; }
.trade-feed {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px;
}
.trade-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 0.84rem; font-variant-numeric: tabular-nums;
  background: var(--surface); border: 1px solid var(--surface-border);
}
.trade-chip .side { font-weight: 700; }
.trade-chip .side.up { color: #4ADE80; } .trade-chip .side.down { color: #F87171; }
.trade-chip .ret.pos { color: #4ADE80; font-weight: 600; }
.trade-chip .ret.neg { color: #F87171; font-weight: 600; }
.trade-chip .ago { color: var(--text-muted); font-size: 0.78rem; }
.fineprint { text-align: center; margin-top: 22px; font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Strategy cards / 2-col grid ---------- */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

/* ---------- Pricing ---------- */
.pricing { display: flex; justify-content: center; }
.price-card {
  position: relative; width: 100%; max-width: 460px; text-align: center;
  background: var(--surface); border: 1px solid rgba(139, 92, 246, 0.35); border-radius: 22px;
  padding: 40px 36px 32px;
  box-shadow: 0 24px 70px rgba(99, 102, 241, 0.16);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 18px; border-radius: 999px;
}
.price-line { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 14px 0 6px; }
.price-cur { font-size: 1.6rem; font-weight: 700; color: var(--text-muted); }
.price-num { font-size: 3.6rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-per { color: var(--text-muted); font-size: 1rem; }
.price-list { list-style: none; text-align: left; margin: 26px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 0.95rem; }
.price-list li i { color: #4ADE80; margin-top: 1px; }
.btn-block { width: 100%; justify-content: center; }
.price-note { margin-top: 14px; font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Referral band ---------- */
.referral-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 30px 34px; border-radius: 20px;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.10));
  border: 1px solid rgba(139, 92, 246, 0.30);
}
.referral-band h3 { font-size: 1.25rem; margin-bottom: 6px; }
.referral-band h3 i { color: #C4B5FD; margin-right: 6px; }
.referral-band p { color: var(--text-muted); font-size: 0.95rem; max-width: 520px; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--surface-border); border-radius: 14px;
  overflow: hidden; transition: border-color .2s;
}
.faq details[open] { border-color: rgba(139, 92, 246, 0.4); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--text-muted); transition: transform .25s; flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-window { animation: none; }
  .pulse { animation: none; }
  .orb { animation: none !important; }
  .ticker-track { animation-duration: 240s; }
}

@media (max-width: 560px) {
  .nav-links .btn-ghost.hide-sm, .nav-links .nav-link.hide-sm { display: none; }
  .hero { padding: 40px 0 48px; }
  .stats { gap: 28px; }
  .referral-band { padding: 26px 22px; }
}
