/* GleeX landing — desktop-first, solid surfaces (no blur / translucent cards). */
:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0d0f14;
  --card: #14171f;
  --card-2: #1b1f29;
  --line: #262b37;
  --fg: #ffffff;
  --muted: #a7adbb;
  --accent: #2ef2a2;
  --accent-deep: #18c984;
  --accent-ink: #00170d;
  --live: #ff3b5c;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Segoe UI", system-ui, -apple-system, "Inter", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-in { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 40px; }
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; display: block; object-fit: contain; }
.nav-links { display: none; gap: 28px; flex: 1; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; gap: 10px; margin-left: auto; align-items: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #5bffbd; }
.btn-ghost { background: var(--card); color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--card-2); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 1.02rem; }
.nav-login { display: none; }

.store-badge { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 24px 0 18px; background: #fff; color: #000; border-radius: 14px; transition: transform .15s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 30px; height: 30px; }
.store-badge small { display: block; font-size: 0.66rem; letter-spacing: .08em; font-weight: 700; color: #4a4f5c; line-height: 1.1; }
.store-badge strong { display: block; font-size: 1.2rem; line-height: 1.15; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.pill b { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 2px 10px; font-size: 0.72rem; letter-spacing: .06em; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { margin-top: 24px; font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }
.hero-note a { color: var(--accent); }
.trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust div { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.trust svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ---------- Phones ---------- */
.stage { position: relative; height: 560px; display: none; }
.phone { position: absolute; width: 250px; height: 520px; border-radius: 40px; background: #0a0b0f; border: 1px solid #2b303d; padding: 9px; box-shadow: 0 40px 80px -30px #000; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; border-radius: 12px; background: #000; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #111; }
.phone-a { left: 50%; top: 20px; transform: translateX(-50%); z-index: 3; }
.phone-b { left: 0; top: 70px; transform: rotate(-7deg) scale(.92); z-index: 2; }
.phone-c { right: 0; top: 70px; transform: rotate(7deg) scale(.92); z-index: 2; }

.s-feed { background: linear-gradient(170deg, #1d2a4a 0%, #3a1d4d 55%, #5a1f3a 100%); }
.s-live { background: linear-gradient(170deg, #0f3d3a 0%, #14243f 60%, #1c1535 100%); }
.s-store { background: #0d0f14; }
.s-tabs { position: absolute; top: 44px; left: 0; right: 0; display: flex; justify-content: center; gap: 18px; font-size: .78rem; font-weight: 700; color: #cfd3dc; }
.s-tabs .on { color: #fff; border-bottom: 2px solid #fff; padding-bottom: 3px; }
.s-rail { position: absolute; right: 12px; bottom: 90px; display: grid; gap: 16px; justify-items: center; }
.s-rail i { width: 38px; height: 38px; border-radius: 50%; background: #20242f; display: grid; place-items: center; }
.s-rail svg { width: 19px; height: 19px; color: #fff; }
.s-rail i.hot svg { color: var(--live); }
.s-cap { position: absolute; left: 14px; right: 70px; bottom: 22px; }
.s-user { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; }
.s-ava { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); }
.s-line { height: 8px; border-radius: 4px; background: #ffffff55; margin-top: 8px; }
.s-line.w60 { width: 60%; }
.badge-live { position: absolute; top: 48px; left: 14px; background: var(--live); font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: 3px 9px; border-radius: 6px; }
.viewers { position: absolute; top: 48px; right: 14px; background: #00000099; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.chat { position: absolute; left: 12px; right: 12px; bottom: 20px; display: grid; gap: 7px; }
.chat span { background: #1b2230; border-radius: 12px; padding: 6px 10px; font-size: .7rem; color: #dde1ea; width: fit-content; }
.chat span b { color: var(--accent); margin-right: 5px; }
.gift { position: absolute; right: 16px; top: 46%; width: 54px; height: 54px; border-radius: 16px; background: #ffc83d; display: grid; place-items: center; font-size: 1.6rem; }
.store-top { padding: 46px 14px 10px; font-weight: 800; font-size: .95rem; display: flex; justify-content: space-between; }
.store-top span { color: var(--accent); font-size: .75rem; }
.store-grid { padding: 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.item { background: var(--card); border-radius: 14px; padding: 8px; }
.item .th { height: 100px; border-radius: 10px; }
.item .th.t1 { background: linear-gradient(135deg, #2ef2a2, #0b6b4a); }
.item .th.t2 { background: linear-gradient(135deg, #ffc83d, #b3590f); }
.item .th.t3 { background: linear-gradient(135deg, #6b8bff, #2a2f8f); }
.item .th.t4 { background: linear-gradient(135deg, #ff6b9a, #8a1f4d); }
.item .ln { height: 7px; border-radius: 4px; background: #2a2f3b; margin-top: 8px; width: 80%; }
.item .pr { height: 8px; border-radius: 4px; background: var(--accent); margin-top: 6px; width: 40%; }

.float { position: absolute; z-index: 5; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: .85rem; box-shadow: 0 20px 40px -20px #000; }
.float b { display: block; font-size: .95rem; }
.float small { color: var(--muted); }
.float .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.1rem; }
.float-1 { left: -10px; bottom: 90px; }
.float-2 { right: -6px; top: 20px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.sub { margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.head { margin-bottom: 52px; }
.head.center { text-align: center; }
.head.center .sub { margin-left: auto; margin-right: auto; }

/* bento */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; transition: border-color .15s ease, transform .15s ease; }
.tile:hover { border-color: var(--accent-deep); transform: translateY(-3px); }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--card-2); display: grid; place-items: center; color: var(--accent); margin-bottom: 22px; }
.tile .ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .98rem; }

/* split */
.split { display: grid; gap: 56px; align-items: center; }
.split .copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.split .copy li { display: flex; gap: 12px; color: var(--muted); }
.split .copy li svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.split .copy li b { color: var(--fg); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.panel-live { display: grid; gap: 14px; }
.stream { height: 260px; border-radius: 18px; background: linear-gradient(160deg, #0f3d3a, #1c1535); position: relative; }
.stream .badge-live { top: 14px; left: 14px; }
.stream .viewers { top: 14px; right: 14px; }
.row { display: flex; gap: 12px; align-items: center; background: var(--card-2); border-radius: 14px; padding: 12px 14px; font-size: .9rem; }
.row .ava { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); flex: none; }
.row .grow { flex: 1; }
.row small { color: var(--muted); display: block; }
.row .amt { font-weight: 800; color: #ffc83d; }
.panel-store { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.panel-store .item { background: var(--card-2); padding: 10px; }
.panel-store .th { height: 130px; }

/* steps */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 3rem; font-weight: 800; color: var(--accent); letter-spacing: -0.04em; display: block; line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; }
.faq summary { cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 22px; }

/* CTA */
.cta { padding: 40px 0 96px; }
.cta-box { background: var(--accent); color: var(--accent-ink); border-radius: 36px; padding: 64px 32px; text-align: center; }
.cta-box h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; }
.cta-box p { margin: 16px auto 32px; max-width: 34rem; font-size: 1.1rem; opacity: .85; }
.cta-box .row-btn { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-box .btn-dark { background: #00170d; color: var(--accent); }
.cta-box .btn-dark:hover { background: #000; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.foot-brand p { color: var(--muted); margin-top: 14px; max-width: 20rem; font-size: .95rem; }
.foot h4 { margin: 0 0 14px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.foot a.fl { display: block; color: var(--muted); font-size: .95rem; padding: 4px 0; }
.foot a.fl:hover { color: var(--accent); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: .88rem; }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-login { display: inline-flex; }
  .hero { padding: 80px 0 100px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .stage { display: block; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile.w4 { grid-column: span 4; }
  .tile.w2 { grid-column: span 2; }
  .tile.w3 { grid-column: span 3; }
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split.flip .copy { order: 2; }
  .cta-box { padding: 88px 32px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .store-badge { width: 100%; justify-content: center; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
