/* ============================================================
   Coinomize — design tokens
   ============================================================ */
:root {
  --bg: #0D0719;
  --bg-2: #110826;
  --surface: #160B2A;
  --surface-2: #1F1138;
  --surface-3: #2A1A4A;
  --border: rgba(192, 132, 252, 0.14);
  --border-strong: rgba(236, 72, 153, 0.32);

  --text: #F5EEFF;
  --text-dim: #C2B5DC;
  --text-muted: #8B7AB0;

  --violet: #8B5CF6;
  --violet-bright: #A78BFA;
  --pink: #EC4899;
  --pink-bright: #F472B6;
  --magenta: #D946EF;
  --accent: #C084FC;

  --grad: linear-gradient(135deg, #8B5CF6 0%, #D946EF 50%, #EC4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.18) 0%, rgba(236, 72, 153, 0.18) 100%);
  --grad-text: linear-gradient(120deg, #C4B5FD 0%, #F0ABFC 50%, #FBCFE8 100%);

  --shadow-violet: 0 24px 60px -20px rgba(139, 92, 246, 0.55);
  --shadow-pink: 0 24px 60px -20px rgba(236, 72, 153, 0.45);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1180px;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 1200px 700px at 12% -10%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(ellipse 900px 600px at 90% 5%, rgba(236, 72, 153, 0.18), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 50% 110%, rgba(217, 70, 239, 0.14), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--pink-bright); }

::selection { background: rgba(236, 72, 153, 0.35); color: #fff; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 .6em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-top: 2.2em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  margin-top: 1.8em;
}

p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--grad);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

code, .mono { font-family: var(--font-mono); font-size: .92em; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

section { padding: 90px 0; position: relative; }
section + section { padding-top: 0; }

.section-narrow { max-width: 820px; margin: 0 auto; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(13, 7, 25, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--pink-bright); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-pink);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px -18px rgba(236, 72, 153, 0.65);
  color: #fff;
}

.btn-ghost {
  background: rgba(192, 132, 252, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(192, 132, 252, 0.14);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 { margin-bottom: 24px; }
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Feature grid
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.feature {
  padding: 28px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .25s ease, transform .25s ease;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 0;
  mix-blend-mode: overlay;
}
.feature:hover::before { opacity: .08; }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--pink-bright);
  position: relative;
  z-index: 1;
}
.feature h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}
.feature p {
  color: var(--text-dim);
  font-size: .95rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ============================================================
   Steps (numbered)
   ============================================================ */
.steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  padding: 24px 28px 24px 88px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color .2s, background .2s;
}
.steps li:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 28px;
  top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.steps li strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.steps li span {
  color: var(--text-dim);
  font-size: .95rem;
}

/* ============================================================
   Comparison table
   ============================================================ */
.compare-wrap {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-2);
}
.compare-table thead th.featured {
  color: var(--pink-bright);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.1), transparent);
}
.compare-table td:first-child {
  color: var(--text-dim);
  font-weight: 500;
}
.compare-table td.yes {
  color: var(--violet-bright);
  font-weight: 600;
}
.compare-table td.no { color: var(--text-muted); }
.compare-table td.featured {
  background: rgba(236, 72, 153, 0.05);
  color: var(--text);
  font-weight: 600;
}
.compare-table tr:last-child td { border-bottom: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 22px 26px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s;
}
.faq-q:hover { color: var(--pink-bright); }
.faq-q .plus {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform .25s ease;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
  left: 50%; top: 50%;
}
.faq-q .plus::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-q .plus::after { width: 2px; height: 14px; transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq-item.open .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  color: var(--text-dim);
}
.faq-a-inner { padding: 0 26px 24px; }
.faq-item.open .faq-a { max-height: 500px; }

/* ============================================================
   Article / content area (for sub-pages)
   ============================================================ */
.article {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 50px;
}
.article p, .article li { color: var(--text-dim); }
.article p strong { color: var(--text); font-weight: 600; }
.article ul { padding-left: 22px; }
.article ul li { margin-bottom: .5em; }

.callout {
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout .eyebrow { margin-bottom: 10px; }

/* user-upload photo slot */
.photo-slot {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  margin: 32px 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  margin: 60px auto;
  max-width: var(--container);
  padding: 56px 48px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 600px 300px at 20% 0%, rgba(139, 92, 246, 0.35), transparent 60%),
    radial-gradient(ellipse 500px 300px at 90% 100%, rgba(236, 72, 153, 0.35), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-strong);
  text-align: center;
}
.cta-banner h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.cta-banner p {
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 28px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li { margin-bottom: 10px; }
.footer-grid a {
  color: var(--text-dim);
  font-size: 14px;
}
.footer-grid a:hover { color: var(--pink-bright); }
.footer-about {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 0;
  max-width: 320px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   Page header (sub-pages)
   ============================================================ */
.page-head {
  padding: 70px 0 30px;
  text-align: center;
}
.page-head .eyebrow { justify-content: center; display: inline-flex; }
.page-head h1 { max-width: 760px; margin: 0 auto 18px; }
.page-head p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 1.08rem;
}

/* breadcrumbs */
.crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--text-dim); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 22px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }

  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 40px 26px; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: .85rem; }
  .steps li { padding: 22px 22px 22px 74px; }
  .steps li::before { left: 22px; }
}

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