/* ═══════════════════════════════════════════════════════
   sipto.co — stylesheet
   Palette:
     --navy    #060B1A  (page background)
     --surface #0D1526  (card background)
     --edge    #1A2540  (borders / dividers)
     --violet  #7B4FFF  (primary accent)
     --cyan    #00E5FF  (secondary accent)
     --white   #F0F4FF  (primary text)
     --muted   #8892A4  (secondary text)
   ═══════════════════════════════════════════════════════ */

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

:root {
  --navy:    #060B1A;
  --surface: #0D1526;
  --edge:    #1A2540;
  --violet:  #7B4FFF;
  --violet2: #5A30E0;
  --cyan:    #00E5FF;
  --white:   #F0F4FF;
  --muted:   #8892A4;
  --radius:  12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s, background .2s;
  border: none;
  white-space: nowrap;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--violet);
  color: #fff;
}
.btn-primary:hover { background: var(--violet2); opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--edge);
}
.btn-ghost:hover { border-color: var(--violet); background: rgba(123,79,255,.08); opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(240,244,255,.25);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); opacity: 1; }

.btn-lg { padding: .8rem 2rem; font-size: 1rem; border-radius: 10px; }

/* ── NAV ──────────────────────────────────────────────── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,11,26,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--edge);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 32px; width: auto; }

/* Fallback if logo.svg is missing — shows text logo */
.logo-img[src="logo.svg"] {
  min-width: 80px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .9rem;
  color: var(--muted);
  transition: color .2s;
  font-family: var(--font-display);
  font-weight: 500;
}
.nav-links a:hover { color: var(--white); }

.nav-cta { display: flex; gap: .6rem; margin-left: 1.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 61px;
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--edge);
  padding: 1.5rem;
  z-index: 99;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav a { font-size: 1.05rem; font-family: var(--font-display); font-weight: 500; color: var(--muted); }
.mobile-nav a:hover { color: var(--white); }

/* ── TICKER ───────────────────────────────────────────── */
.ticker-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--edge);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  padding: 0 2rem;
  font-size: .78rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .5rem;
  border-right: 1px solid var(--edge);
}
.ticker-item .ti-sym { color: var(--white); font-weight: 600; }
.ticker-item .ti-up  { color: #22d47b; }
.ticker-item .ti-dn  { color: #ff5a7e; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 6rem 8vw 5rem;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .45;
}

.hero-content { position: relative; z-index: 2; max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(123,79,255,.15);
  border: 1px solid rgba(123,79,255,.35);
  color: #b49fff;
  padding: .35rem .9rem;
  border-radius: 999px;
  font-size: .78rem;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 1.4rem;
  letter-spacing: .02em;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.4); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero card */
.hero-card-wrap { position: relative; z-index: 2; flex-shrink: 0; }
.hero-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.75rem;
  width: 320px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.hc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .3rem;
}
.hc-label { font-size: .8rem; color: var(--muted); font-family: var(--font-display); }
.hc-currency {
  font-size: .75rem;
  background: var(--edge);
  border-radius: 5px;
  padding: .2rem .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .04em;
}
.hc-btc { background: rgba(0,229,255,.12); color: var(--cyan); }
.hc-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: .4rem;
}
.hc-receive { color: var(--cyan); }
.hc-unit { font-size: 1rem; color: var(--muted); }
.hc-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: .75rem 0;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  padding: .4rem 0;
}
.hc-swap-icon {
  font-size: 1.1rem;
  color: var(--violet);
  background: rgba(123,79,255,.15);
  border-radius: 6px;
  padding: .2rem .6rem;
}
.hc-rate {
  font-size: .75rem;
  color: var(--muted);
  font-family: var(--font-display);
  margin-top: .3rem;
}
.hc-live {
  color: #22d47b;
  font-weight: 600;
  font-size: .7rem;
}

/* ── STATS BAND ───────────────────────────────────────── */
.stats-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--surface);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  padding: 2.5rem 2rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 3rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--white), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: .8rem;
  color: var(--muted);
  font-family: var(--font-display);
  margin-top: .25rem;
  letter-spacing: .02em;
}
.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--edge);
  flex-shrink: 0;
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section { padding: 6rem 2rem; }
.section-dark {
  background: var(--surface);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.container { max-width: 1100px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: .75rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
}
.section-sub { color: var(--muted); font-size: 1rem; }

/* ── MARKETS TABLE ────────────────────────────────────── */
.markets-table {
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
}
.mt-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 120px;
  padding: .75rem 1.5rem;
  background: rgba(26,37,64,.6);
  font-size: .75rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--edge);
}
.market-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 120px;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(26,37,64,.6);
  align-items: center;
  transition: background .2s;
}
.market-row:last-child { border-bottom: none; }
.market-row:hover { background: rgba(123,79,255,.06); }

.mr-asset { display: flex; align-items: center; gap: .75rem; }
.mr-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.mr-name { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.mr-sym { font-size: .75rem; color: var(--muted); }
.mr-price { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.mr-change { font-family: var(--font-display); font-weight: 600; font-size: .9rem; }
.mr-up  { color: #22d47b; }
.mr-dn  { color: #ff5a7e; }
.mr-cap { color: var(--muted); font-size: .9rem; }
.mt-col-hide { }

.markets-footer { text-align: center; margin-top: 2rem; }

/* ── STEPS ────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(6,11,26,.5);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
}
.step-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.25rem;
  color: var(--violet);
}
.step-icon svg { width: 100%; height: 100%; }
.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .6rem;
}
.step p { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--edge);
  align-self: center;
  padding: 0 .25rem;
  flex-shrink: 0;
}

/* ── FEATURES ─────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color .25s, transform .2s;
}
.feature-card:hover {
  border-color: var(--violet);
  transform: translateY(-3px);
}
.fc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.fc-icon svg { width: 22px; height: 22px; }
.fc-violet { background: rgba(123,79,255,.15); color: var(--violet); }
.fc-cyan    { background: rgba(0,229,255,.12); color: var(--cyan); }

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: .5rem;
}
.feature-card p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ── CTA BAND ─────────────────────────────────────────── */
.cta-band {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(123,79,255,.35) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: .85rem;
}
.cta-content p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--edge);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}
.footer-brand { max-width: 220px; }
.footer-tagline { font-size: .875rem; color: var(--muted); margin-top: .75rem; line-height: 1.6; }
.footer-socials { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-link {
  width: 36px; height: 36px;
  background: var(--edge);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.social-link:hover { background: var(--violet); color: #fff; }
.social-link svg { width: 16px; height: 16px; }

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}
.fl-col {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-width: 110px;
}
.fl-col h4 {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .25rem;
}
.fl-col a, .fl-col span {
  font-size: .875rem;
  color: var(--muted);
  transition: color .2s;
  line-height: 1.5;
}
.fl-col a:hover { color: var(--white); }
.footer-addr { font-size: .875rem; color: var(--muted); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
  color: var(--muted);
}
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: var(--muted); transition: color .2s; }
.footer-legal a:hover { color: var(--white); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 4rem 1.5rem 3rem; text-align: center; min-height: auto; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-card-wrap { width: 100%; }
  .hero-card { width: 100%; max-width: 360px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .step-arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .mt-col-hide { display: none; }
  .mt-head { grid-template-columns: 1fr 1fr 1fr 120px; }
  .market-row { grid-template-columns: 1fr 1fr 1fr 120px; }
  .market-row .mr-cap { display: none; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-band { flex-direction: column; gap: 0; }
  .stat-sep { width: 60px; height: 1px; margin: .5rem 0; }
  .footer-inner { flex-direction: column; gap: 2.5rem; }
  .footer-links { justify-content: flex-start; gap: 2rem; }
  .footer-brand { max-width: 100%; }
  .mt-head { grid-template-columns: 1.2fr 1fr 1fr 100px; }
  .market-row { grid-template-columns: 1.2fr 1fr 1fr 100px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
