/* ============================================================
   Coleccio Landing
   Dark, vivid app aesthetic. Mobile-first.
   ============================================================ */

:root {
  --brand: #0A5BFF;
  --brand-2: #2C7BFF;
  --mint: #18C97A;
  --gold: #E0B23A;
  --orange: #FF8A2B;
  --coral: #FF5E6C;

  --bg: #07070D;
  --bg-2: #0B0C16;
  --ink: #0A0B14;

  --text: #F2F4F8;
  --muted: #9AA3B6;
  --muted-2: #6C7488;

  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.06);
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.055);

  --r-s: 12px;
  --r-m: 18px;
  --r-l: 24px;
  --r-xl: 32px;

  --pad: clamp(20px, 5vw, 32px);
  --maxw: 1180px;

  --font-display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

.section { padding-block: clamp(64px, 11vw, 128px); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 6vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 5.2vw, 50px);
  margin-block: 16px 18px;
}
.section-head p {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  padding: 15px 22px;
  border-radius: var(--r-m);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  min-height: 52px;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--text);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(242, 244, 248, 0.14);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(242,244,248,0.2); }
.btn-ghost {
  background: var(--card);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--card-2); border-color: rgba(255,255,255,0.18); }

/* ---------- Store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 16px;
  border-radius: 16px;
  background: var(--text);
  color: var(--ink);
  min-height: 58px;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  box-shadow: 0 14px 34px rgba(0,0,0,0.4);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(10,91,255,0.25); }
.store .ico { width: 26px; height: 30px; flex: none; }
.store .store-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store .store-txt .small { font-size: 11px; font-weight: 600; opacity: 0.7; letter-spacing: 0.02em; }
.store .store-txt .big { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,7,13,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.logo-img {
  width: 36px; height: 36px; border-radius: 9px; flex: none;
  box-shadow: 0 6px 18px rgba(10,91,255,0.35), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.nav-links { display: none; gap: 30px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 600; transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 9vw, 88px); padding-bottom: clamp(56px, 9vw, 96px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(560px 420px at 18% 6%, rgba(10,91,255,0.34), transparent 62%),
    radial-gradient(620px 440px at 88% 30%, rgba(24,201,122,0.20), transparent 60%),
    radial-gradient(420px 360px at 60% 88%, rgba(255,138,43,0.14), transparent 64%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(40px, 7vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 {
  font-size: clamp(40px, 8.5vw, 76px);
  font-weight: 900;
  background: linear-gradient(180deg, #FFFFFF 30%, #AEBBD6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--mint), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: var(--muted); font-size: clamp(17px, 2.5vw, 21px); max-width: 520px; }
.hero .ratings { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }

/* ---------- Phone frame ---------- */
.phone-stage { position: relative; z-index: 1; display: grid; place-items: center; }
.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 300 / 620;
  border-radius: 46px;
  background: linear-gradient(160deg, #1b1d2b, #0d0e18);
  padding: 11px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1.5px rgba(255,255,255,0.07), inset 0 0 0 2px rgba(0,0,0,0.6);
}
.phone::after {
  content: "";
  position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; border-radius: 999px; background: #05050a; z-index: 5;
}
.screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg-2);
}
.screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.float-badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 15px;
  border-radius: 14px;
  background: rgba(11,12,22,0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  font-size: 13px; font-weight: 700;
  z-index: 3;
}
.float-badge .fb-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.ic { width: 26px; height: 26px; display: block; }
.bg-blue { background: rgba(10,91,255,0.16); color: #7DA8FF; }
.bg-mint { background: rgba(24,201,122,0.16); color: var(--mint); }
.bg-gold { background: rgba(224,178,58,0.16); color: var(--gold); }
.bg-orange { background: rgba(255,138,43,0.16); color: var(--orange); }
.bg-coral { background: rgba(255,94,108,0.16); color: var(--coral); }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line-2); background: var(--bg-2); }
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line-2);
}
.trust-cell { background: var(--bg-2); padding: 26px 18px; text-align: center; }
.trust-cell .num { font-family: var(--font-display); font-size: clamp(28px, 6vw, 40px); font-weight: 900; letter-spacing: -0.02em; }
.trust-cell .num.c-mint { color: var(--mint); }
.trust-cell .num.c-blue { color: var(--brand-2); }
.trust-cell .num.c-gold { color: var(--gold); }
.trust-cell .num.c-orange { color: var(--orange); }
.trust-cell .lbl { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 5px; }

/* ---------- Features ---------- */
.feat-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 26px 24px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feat:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.16); background: var(--card-2); }
.feat .f-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feat h3 { font-size: 21px; margin-bottom: 9px; }
.feat p { color: var(--muted); font-size: 16px; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 24px; border-radius: var(--r-l);
  background: var(--card); border: 1px solid var(--line);
}
.step .n {
  counter-increment: step;
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 20px;
  background: linear-gradient(140deg, var(--brand-2), var(--brand));
  box-shadow: 0 8px 20px rgba(10,91,255,0.35);
}
.step .n::before { content: counter(step); }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Gallery (app screens) ---------- */
.gallery {
  display: flex; gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  margin-inline: calc(-1 * var(--pad));
  padding-inline: var(--pad);
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.gallery .shot { scroll-snap-align: center; flex: none; }
.shot-cap { text-align: center; margin-top: 16px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- Trading explainer (split) ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 60px); align-items: center; }
.split .s-copy h2 { font-size: clamp(28px, 4.8vw, 44px); margin-bottom: 16px; }
.split .s-copy p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.checks { display: grid; gap: 14px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; }
.check .ck { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; background: rgba(24,201,122,0.16); color: var(--mint); }
.check b { font-weight: 800; font-size: 16px; }
.check span { display: block; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--card);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.faq[open] { border-color: rgba(125,168,255,0.34); background: var(--card-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 22px; height: 22px; transition: transform .25s ease; color: var(--muted); }
.faq[open] summary .chev { transform: rotate(180deg); color: var(--brand-2); }
.faq .ans { padding: 0 22px 22px; color: var(--muted); font-size: 16px; }
.faq .ans a { color: var(--brand-2); font-weight: 600; }

/* ---------- Final CTA ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(40px, 7vw, 72px) var(--pad);
  text-align: center;
  background:
    radial-gradient(600px 300px at 30% 0%, rgba(10,91,255,0.4), transparent 65%),
    radial-gradient(600px 320px at 80% 100%, rgba(24,201,122,0.28), transparent 60%),
    linear-gradient(160deg, #11132a, #0a0b16);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(30px, 6vw, 54px); font-weight: 900; margin-bottom: 16px; }
.cta-band p { color: var(--muted); font-size: clamp(16px, 2.3vw, 19px); max-width: 520px; margin: 0 auto 30px; }
.cta-band .stores { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-2); padding-block: 48px 40px; background: var(--bg-2); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.footer .f-about { max-width: 320px; }
.footer .f-about p { color: var(--muted); font-size: 14px; margin-top: 14px; }
.footer .f-col h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.footer .f-col a { display: block; color: var(--muted); font-size: 15px; padding: 6px 0; transition: color .15s ease; }
.footer .f-col a:hover { color: var(--text); }
.footer .f-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--muted-2); font-size: 13px; }
.footer .disclaim { max-width: 720px; color: var(--muted-2); font-size: 12px; line-height: 1.6; margin-top: 18px; }

/* ---------- Sticky mobile download bar ---------- */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: rgba(7,7,13,0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(120%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.dock.show { transform: translateY(0); }
.dock .dock-info { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; }
.dock .dock-logo-img { width: 40px; height: 40px; border-radius: 11px; flex: none; box-shadow: 0 4px 12px rgba(10,91,255,0.3); }
.dock .dock-txt { min-width: 0; }
.dock .dock-txt b { font-family: var(--font-display); font-size: 15px; font-weight: 800; display: block; }
.dock .dock-txt span { color: var(--muted); font-size: 12px; }
.dock .btn { padding: 12px 20px; min-height: 46px; font-size: 15px; white-space: nowrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 720px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 940px) {
  body { font-size: 18px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip .s-visual { order: 2; }
  .dock { display: none; }
  .phone { width: min(330px, 32vw); }
}

@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition-duration: 0.01ms !important; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.bob { animation: bob 4.5s ease-in-out infinite; }
.bob-2 { animation: bob 5.2s ease-in-out infinite 0.6s; }
