/* The 1% Trading Circle — landing page. Same colours and fonts as the app. */
:root {
  --bg: #0B0B0E;
  --bg-deep: #07070A;
  --card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --text: #F7F3EA;
  --muted: #8A857D;
  --gold: #D4AF5A;
  --gold-hi: #F1D58C;
  --gold-lo: #A9852F;
  --gold-soft: rgba(212, 175, 90, 0.12);
  --radius: 18px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Chakra Petch", "Outfit", sans-serif; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 700; }
h2 span { color: var(--gold); }
h3 { font-size: 19px; font-weight: 600; }
section { padding: 96px max(20px, calc((100vw - var(--wrap)) / 2)); position: relative; scroll-margin-top: 64px; }
.tag {
  margin: 0 0 12px;
  font: 600 13px/1 "Chakra Petch", sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px;
  font: 600 16px/1 "Outfit", sans-serif;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-gold {
  color: #16120A;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 8px 28px rgba(212, 175, 90, .25);
}
.btn-gold:hover { box-shadow: 0 10px 36px rgba(212, 175, 90, .4); }
.btn-line { border: 1px solid rgba(255, 255, 255, .22); }
.btn-line:hover { background: rgba(255, 255, 255, .05); }
.btn-dark { background: var(--bg); color: var(--gold); }
.btn-dark:hover { background: #000; }

/* ---------- Top bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: rgba(11, 11, 14, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img {
  width: 42px; height: 42px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(212, 175, 90, .7), 0 0 18px rgba(212, 175, 90, .25);
}
.brand span { font: 700 17px/1 "Chakra Petch", sans-serif; letter-spacing: .5px; }
.brand b {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand small {
  display: block; margin-top: 5px;
  font: 600 9.5px/1 "Chakra Petch", sans-serif; letter-spacing: 3.2px;
  color: rgba(212, 175, 90, .75);
}
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; white-space: nowrap; transition: color .2s; }
@media (max-width: 980px) and (min-width: 761px) {
  .nav { gap: 18px; }
  .links { gap: 16px; }
  .links a { font-size: 14px; }
  .nav .brand small { display: none; }
}
.links a:hover { color: var(--text); }
.nav-cta { min-height: 42px; padding: 0 20px; font-size: 15px; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding-top: 72px; padding-bottom: 88px; overflow: hidden; }
.chart {
  /* A quiet background only: thin, faint and faded at every edge. */
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 46%;
  pointer-events: none;
  opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.chart polygon { opacity: .35; }
.chart .candles line { stroke: rgba(212, 175, 90, .26); stroke-width: 1; }
.chart .up { fill: rgba(212, 175, 90, .22); }
.chart .dn { fill: none; stroke: rgba(212, 175, 90, .24); stroke-width: 1; }
.chart .trend {
  fill: none; stroke: rgba(212, 175, 90, .55); stroke-width: 1.4; stroke-linejoin: round;
  stroke-dasharray: 3000; stroke-dashoffset: 3000;
  animation: draw 3.2s ease-out .3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
/* Live feel, kept cheap: only transform and opacity move (the GPU does it),
   and it all stops while the hero is off screen (see script.js). */
.chart .c {
  transform-box: fill-box; transform-origin: center;
  animation-name: tick; animation-timing-function: ease-in-out;
  animation-iteration-count: infinite; animation-direction: alternate;
  will-change: transform;
}
@keyframes tick {
  from { transform: translateY(5px) scaleY(.88); }
  to   { transform: translateY(-5px) scaleY(1.1); }
}
.chart .live { animation-name: live; animation-duration: 1.6s !important; }
.chart .live .up, .chart .live .dn { fill: rgba(212, 175, 90, .5); stroke: none; }
@keyframes live {
  from { transform: translateY(3px) scaleY(.75); }
  to   { transform: translateY(-6px) scaleY(1.25); }
}
.chart .dot { fill: var(--gold); opacity: 0; animation: show .4s 3.3s forwards; }
.chart .pulse {
  fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: ping 2.2s 3.5s ease-out infinite;
}
@keyframes show { to { opacity: 1; } }
@keyframes ping {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(4); opacity: 0; }
}
.hero.paused .chart * { animation-play-state: paused; }
.glow {
  position: absolute; left: 50%; top: 170px; width: 520px; height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(212, 175, 90, .22), transparent 70%);
  animation: breathe 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: .8; }
}
.hero-logo {
  position: relative;
  width: 220px; height: 220px; margin: 0 auto 26px;
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(212, 175, 90, .25);
}
.kicker {
  position: relative; margin: 0 0 14px;
  font: 600 13px/1 "Chakra Petch", sans-serif; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
}
.hero h1 { position: relative; font-size: clamp(38px, 7vw, 72px); font-weight: 700; }
.hero h1 .line1 { display: block; }
.hero h1 .line2 {
  display: block;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Typing effect: both lines keep their size while typing, so nothing below
   jumps. The blinking caret is gold. */
.hero h1.typing .line1, .hero h1.typing .line2 { min-height: 1.12em; }
.caret {
  display: inline-block; width: .07em; height: .9em; margin-left: .06em;
  vertical-align: -.08em; background: var(--gold);
  animation: blink .9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.lede { position: relative; text-shadow: 0 1px 12px #0B0B0E, 0 0 2px #0B0B0E; max-width: 600px; margin: 20px auto 32px; color: #D6CFC1; font-size: 18px; }
.actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { position: relative; margin: 18px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- App screens (store-listing style) ---------- */
.screens { background: var(--bg-deep); border-block: 1px solid var(--line); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.arrows { display: flex; gap: 10px; }
.arrows button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-size: 26px; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s;
}
.arrows button:hover { border-color: var(--gold); color: var(--gold); }
.strip {
  list-style: none; margin: 0; padding: 4px 2px 20px;
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: 0 0 236px; scroll-snap-align: start; }
.strip figure { margin: 0; }
.phone {
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2A2A31, #111115);
  box-shadow: 0 0 0 1px rgba(212, 175, 90, .18), 0 24px 50px rgba(0, 0, 0, .55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.phone img { border-radius: 27px; width: 100%; height: auto; }
.strip li:hover .phone { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(212, 175, 90, .5), 0 30px 60px rgba(0, 0, 0, .6); }
figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
figcaption b { display: block; color: var(--text); font: 600 16px/1.3 "Chakra Petch", sans-serif; margin-bottom: 2px; }

/* ---------- Social links (footer) ---------- */
.social { list-style: none; margin: 0 auto 22px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.social a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  color: var(--text); text-decoration: none; font-size: 14px;
  transition: border-color .2s, color .2s;
}
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* ---------- 99% vs 1% ---------- */
.why h2 { max-width: 760px; }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 44px; }
.side { border-radius: var(--radius); padding: 30px 30px 26px; }
.side-99 { background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.side-1 {
  border: 1px solid var(--gold);
  background: radial-gradient(120% 90% at 100% 0%, rgba(212, 175, 90, .16), transparent 60%), var(--card);
  box-shadow: 0 0 60px rgba(212, 175, 90, .08);
}
.big { margin: 0 0 18px; font: 700 58px/1 "Chakra Petch", sans-serif; }
.side-99 .big { color: #4A4740; }
.side-1 .big { color: var(--gold); }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.side li { padding-left: 32px; position: relative; }
.side-99 li::before, .side-1 li::before {
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 600;
}
.side-99 li::before { content: "✕"; background: rgba(255, 255, 255, .06); color: #6E6A62; }
.side-1 li { color: var(--text); }
.side-1 li::before { content: "✓"; background: var(--gold); color: #16120A; }
.vs { align-self: center; font: 700 18px/1 "Chakra Petch", sans-serif; color: var(--muted); letter-spacing: 2px; }

/* ---------- Your path ---------- */
.path { background: var(--bg-deep); border-block: 1px solid var(--line); }
.steps {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: none; position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 175, 90, .15));
}
.steps li { position: relative; }
.steps span {
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--gold); color: var(--gold);
  font: 700 18px/1 "Chakra Petch", sans-serif;
  margin-bottom: 22px; position: relative;
}
.steps li:first-child span { background: var(--gold); color: #16120A; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- What you get ---------- */
.cards { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards li {
  padding: 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.cards li:hover { border-color: rgba(212, 175, 90, .5); transform: translateY(-4px); }
.cards svg {
  width: 48px; height: 48px; padding: 11px; margin-bottom: 18px;
  border-radius: 14px; background: var(--gold-soft);
  fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.cards p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Download ---------- */
.download {
  text-align: center; color: #16120A;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
}
.download img { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.download p { margin: 14px auto 28px; max-width: 520px; font-size: 18px; }
.tips { max-width: 520px; margin: 26px auto 0; text-align: left; background: rgba(11, 11, 14, .1); border-radius: 14px; padding: 14px 20px; }
.tips summary { cursor: pointer; font-weight: 600; }
.tips ul { margin: 10px 0 0; padding-left: 20px; font-size: 15px; }

/* ---------- Footer ---------- */
.foot { padding: 48px max(20px, calc((100vw - var(--wrap)) / 2)) 36px; text-align: center; color: var(--muted); font-size: 15px; }
.foot .brand { flex-direction: column; gap: 14px; margin-bottom: 26px; color: var(--text); }
.foot .brand img { width: 72px; height: 72px; box-shadow: 0 0 0 2px rgba(212, 175, 90, .7), 0 0 36px rgba(212, 175, 90, .3); }
.foot .brand span { font-size: 22px; letter-spacing: 1px; }
.foot .brand small { margin-top: 8px; font-size: 11px; letter-spacing: 5px; }
.foot a { color: var(--gold); }
.risk { font-size: 13px; max-width: 560px; margin: 14px auto; }
.copy { font-size: 13px; margin: 0; }

/* ---------- Fade in on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .glow { animation: none; }
  .chart .trend { animation: none; stroke-dashoffset: 0; }
  .chart .c, .chart .pulse { animation: none; }
  .chart .dot { animation: none; opacity: 1; }
}

/* ---------- Tablets ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding-top: 68px; padding-bottom: 68px; }
  .links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .links.open { display: flex; }
  .links a { padding: 16px 20px; border-top: 1px solid var(--line); font-size: 16px; }
  .nav { gap: 12px; }
  .nav-cta { margin-left: auto; min-height: 38px; padding: 0 16px; font-size: 14px; }
  .burger {
    display: grid; gap: 5px; place-content: center;
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px;
    background: transparent; cursor: pointer;
  }
  .burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
  .nav .brand small { display: none; }
  .hero { padding-top: 48px; }
  .hero-logo { width: 170px; height: 170px; }
  .glow { top: 133px; width: 360px; height: 360px; }
  .chart { height: 34%; }
  .actions .btn { width: 100%; }
  .arrows { display: none; }
  .strip li { flex-basis: 64vw; max-width: 260px; }
  .versus { grid-template-columns: 1fr; gap: 12px; }
  .vs { justify-self: center; }
  .side { padding: 24px 22px; }
  .big { font-size: 46px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding-bottom: 26px; }
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; left: 26px; top: 52px; bottom: 0; width: 1px; background: rgba(212, 175, 90, .35);
  }
  .steps span { width: 52px; height: 52px; margin: 0; grid-row: span 2; font-size: 16px; }
  .steps p { margin-top: 4px; }
}
