/* ============================================================
   EasyToken — marketing site
   Apple-style dark theme, brand: purple gradient + orange gauge
   ============================================================ */

:root {
  --bg: #0b0612;
  --bg-2: #120a1e;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f1f8;
  --muted: #a79fb6;
  --muted-2: #7d7590;
  --purple: #a855f7;
  --purple-2: #7c3aed;
  --magenta: #d946ef;
  --orange: #f59e0b;
  --orange-2: #fb923c;
  --maxw: 1120px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 980px;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  padding: 14px 26px;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.32);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(168, 85, 247, 0.45); filter: brightness(1.07); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 17px 34px; font-size: 17.5px; }
.btn--sm { padding: 9px 18px; font-size: 14.5px; box-shadow: 0 6px 18px rgba(168, 85, 247, 0.28); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 6, 18, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav__brand img { border-radius: 7px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav .btn--sm { margin-left: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 24px 80px; overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -10%; left: 50%;
  width: 1100px; height: 1100px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 35%, rgba(168, 85, 247, 0.32), rgba(217, 70, 239, 0.12) 32%, transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner { max-width: 940px; margin: 0 auto; text-align: center; position: relative; }
.pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 980px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero__title {
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 24px;
}
.grad {
  background: linear-gradient(120deg, var(--purple) 0%, var(--magenta) 45%, var(--orange) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(17px, 2.3vw, 21px);
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 36px;
  letter-spacing: -0.01em;
}
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__meta { color: var(--muted-2); font-size: 14px; }

/* Hero visual: menu bar + popover */
.hero__visual {
  margin-top: 72px;
  position: relative;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
/* macOS menu-bar status item */
.osbar {
  display: flex; align-items: center;
  background: rgba(22, 18, 32, 0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 13px; color: #cfc8dc;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.osbar__menus { display: flex; align-items: center; gap: 16px; font-weight: 500; }
.osbar__menus b { font-weight: 700; color: #fff; }
.osbar__tray { margin-left: auto; display: flex; align-items: center; gap: 15px; }
.mstat { display: inline-grid; grid-template-columns: auto auto; column-gap: 5px; align-items: center; }
.mstat .g { grid-row: 1 / 3; width: 15px; height: 15px; color: var(--c); }
.mstat em { grid-column: 2; grid-row: 1; font-style: normal; font-weight: 700; font-size: 11.5px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.mstat i { grid-column: 2; grid-row: 2; font-style: normal; font-size: 9px; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1.1; }
.osbar__clock { padding-left: 4px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Live popover */
.appwin {
  margin: 16px auto 0;
  max-width: 360px;
  text-align: left;
  background: linear-gradient(180deg, #1b2636, #141d29);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6);
}
.appwin__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.ptab {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  font: inherit; font-size: 12px; font-weight: 600; cursor: default;
  color: var(--muted); background: rgba(255,255,255,0.04);
  border: 1px solid transparent; border-radius: 11px; padding: 7px 4px;
}
.ptab .g { width: 13px; height: 13px; color: var(--c); }
.ptab--on { color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border-color: color-mix(in srgb, var(--c) 40%, transparent); }

.lcard { background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 12px 13px; margin-bottom: 9px; }
.lcard__top { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #e8edf4; }
.lc-ico { font-size: 13px; line-height: 1; }
.lc-pct { margin-left: auto; color: #34d399; font-weight: 700; font-variant-numeric: tabular-nums; }
.lc-pct i { font-style: normal; font-size: 11px; opacity: 0.85; }
.lc-chip { margin-left: auto; font-size: 11px; color: var(--muted); background: rgba(255,255,255,0.06); padding: 2px 8px; border-radius: 7px; font-weight: 600; }
.lbar { height: 6px; border-radius: 980px; background: rgba(255,255,255,0.09); overflow: hidden; margin: 10px 0 8px; }
.lbar__fill { height: 100%; width: var(--p); border-radius: 980px; background: linear-gradient(90deg, #22c55e, #4ade80); }
.lcard__bot { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); }
.ltag { color: #4ade80; background: rgba(74,222,128,0.13); padding: 3px 9px; border-radius: 980px; font-weight: 600; }

.lchart { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 7px; height: 72px; margin: 12px 0 6px; }
.lchart span { height: var(--h); min-height: 4px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #fbbf24, #fb7c3c); }
.lchart__x { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.lchart__x i { font-style: normal; text-align: center; font-size: 10px; color: var(--muted-2); }

.ltok { width: 100%; border-collapse: collapse; margin-top: 6px; font-variant-numeric: tabular-nums; }
.ltok th { text-align: right; font-size: 11px; font-weight: 600; color: var(--muted-2); padding: 3px 0; }
.ltok th:first-child { text-align: left; }
.ltok td { text-align: right; font-size: 11.5px; color: #dfe6ef; padding: 4px 0; }
.ltok td:first-child { text-align: left; color: var(--muted); }
.ltok tr.dim td { color: var(--muted); }

.appwin__foot { display: flex; align-items: center; gap: 7px; margin-top: 4px; padding: 6px 2px 2px; font-size: 11.5px; color: var(--muted); }
.lc-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: pulse 2s infinite; }
.appwin__icons { margin-left: auto; color: var(--muted-2); letter-spacing: 3px; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Logo strip ---------- */
.strip { padding: 40px 24px 20px; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.strip__label { color: var(--muted-2); font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px; }
.strip__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; }
.strip__item { color: var(--muted); font-weight: 600; font-size: clamp(16px, 2.4vw, 22px); letter-spacing: -0.01em; opacity: 0.85; transition: color 0.3s, opacity 0.3s; }
.strip__item:hover { color: var(--text); opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: 110px 24px; max-width: var(--maxw); margin: 0 auto; }
.section--alt { max-width: none; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { color: var(--purple); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.section__head h2 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -0.03em; line-height: 1.08; margin: 14px 0 18px; font-weight: 800; }
.lede { color: var(--muted); font-size: clamp(16px, 2vw, 19px); }

/* ---------- Value grid ---------- */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(168,85,247,0.4); background: var(--surface-2); }
.feature__icon { font-size: 28px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- Provider grid ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.pcard::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--c, var(--purple)) 22%, transparent), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c, var(--purple)) 45%, transparent); }
.pcard:hover::before { opacity: 1; }
.pcard__top { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; position: relative; }
.pdot { width: 13px; height: 13px; border-radius: 50%; background: var(--c, var(--purple)); box-shadow: 0 0 14px var(--c, var(--purple)); flex-shrink: 0; }
.pdot--ghost { background: transparent; border: 2px dashed var(--muted-2); box-shadow: none; }
.pcard__top h3 { font-size: 20px; letter-spacing: -0.02em; }
.pcard p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; position: relative; }
.pcard ul { list-style: none; display: flex; flex-direction: column; gap: 7px; position: relative; }
.pcard li { font-size: 13.5px; color: var(--muted); padding-left: 20px; position: relative; }
.pcard li::before { content: "›"; position: absolute; left: 4px; color: var(--c, var(--purple)); font-weight: 700; }
.pcard--more { border-style: dashed; background: transparent; }
.pcard__link { color: var(--purple); font-weight: 600; font-size: 14.5px; position: relative; }

/* ---------- Split (widget) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__text h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.03em; line-height: 1.08; margin: 12px 0 18px; font-weight: 800; }
.checks { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.checks li { padding-left: 34px; position: relative; color: var(--muted); font-size: 16px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}

/* Desktop widget mock — faithful product UI */
.split__visual { display: grid; place-items: center; }
.widget {
  width: 340px;
  background: linear-gradient(165deg, #20232b, #15161b);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  padding: 18px 20px 20px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6);
}
.widget__head { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.widget__bars {
  width: 15px; height: 13px; flex-shrink: 0;
  background:
    linear-gradient(var(--purple), var(--purple)) 0 100% / 3px 60% no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) 6px 100% / 3px 100% no-repeat,
    linear-gradient(var(--orange), var(--orange)) 12px 100% / 3px 42% no-repeat;
}
.widget__head b { font-weight: 700; font-size: 15px; color: #fff; }
.widget__head em { font-style: normal; font-size: 12px; color: var(--muted-2); }
.widget__gear { margin-left: auto; color: var(--muted-2); font-size: 14px; }
.widget__rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wcol { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ring {
  --deg: calc(var(--p) * 3.6deg);
  width: 100%; aspect-ratio: 1; max-width: 64px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #15161b 69%, transparent 70%),
    conic-gradient(var(--c) var(--deg), rgba(255,255,255,0.07) 0);
  display: grid; place-items: center;
}
.ring .g { width: 24px; height: 24px; color: var(--c); }
.wpill {
  width: 100%; text-align: center; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, rgba(255,255,255,0.025));
  border-radius: 9px; padding: 5px 4px;
}
.wpill--dual { display: flex; justify-content: center; gap: 9px; background: rgba(255,255,255,0.04); }
.wpill--dual i { font-style: normal; color: var(--c); display: inline-flex; align-items: center; gap: 4px; }
.wpill--dual i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }

/* ---------- Two-col tracking ---------- */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.tcard:hover { transform: translateY(-4px); border-color: rgba(168,85,247,0.4); }
.tcard__badge { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--purple); background: rgba(168,85,247,0.12); padding: 5px 12px; border-radius: 980px; margin-bottom: 16px; }
.tcard__badge--orange { color: var(--orange); background: rgba(245,158,11,0.12); }
.tcard h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.tcard p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.meter { height: 10px; border-radius: 980px; background: rgba(255,255,255,0.08); overflow: hidden; }
.meter__bar { height: 100%; width: var(--p); border-radius: 980px; background: linear-gradient(90deg, var(--purple), var(--magenta)); }
.meter__bar--orange { background: linear-gradient(90deg, var(--orange), var(--orange-2)); }
.meter__cap { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.road__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--surface);
}
.road__item--done { border-color: rgba(168,85,247,0.45); background: linear-gradient(160deg, rgba(168,85,247,0.12), transparent); }
.road__item b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--purple); margin-bottom: 10px; }
.road__item span { color: var(--muted); font-size: 15px; }

/* ---------- Final CTA ---------- */
.cta { position: relative; padding: 130px 24px; text-align: center; overflow: hidden; border-top: 1px solid var(--border); }
.cta__glow {
  position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 800px;
  background: radial-gradient(circle, rgba(217,70,239,0.22), rgba(168,85,247,0.1) 40%, transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.cta__inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta__icon { margin: 0 auto 26px; border-radius: 24px; box-shadow: 0 24px 60px rgba(168,85,247,0.35); }
.cta h2 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.03em; line-height: 1.06; font-weight: 800; margin-bottom: 16px; }
.cta p { color: var(--muted); font-size: 19px; max-width: 480px; margin: 0 auto 32px; }
.cta__meta { display: block; margin-top: 16px; color: var(--muted-2); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 24px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.footer__brand img { border-radius: 6px; }
.footer__links { display: flex; gap: 22px; margin-left: auto; }
.footer__links a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--muted-2); font-size: 13.5px; width: 100%; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .popover__live i { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .vgrid { grid-template-columns: 1fr 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__visual { order: -1; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .hero { padding-top: 130px; }
  .vgrid, .pgrid, .twocol { grid-template-columns: 1fr; }
  .section { padding: 80px 20px; }
  .osbar { font-size: 11px; padding: 6px 10px; }
  .osbar__menus { gap: 10px; }
  .osbar__tray { gap: 10px; }
  .osbar__menus span:nth-child(n+3) { display: none; }
}
