/* tieruptweaks.com, "Neon Arena": the same colors as the app. */
:root {
  --bg: #0B0B14;
  --side: #0F0F1C;
  --card: #15152A;
  --stroke: #26254A;
  --text: #F2F0FF;
  --dim: #A9A7CC;
  --violet: #8B5CF6;
  --cyan: #22D3EE;
  --ok: #34D399;
  --grad: linear-gradient(120deg, var(--violet), var(--cyan));
  --wrap: 1120px;
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Sora", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* One soft glow behind the hero, nothing grainy. */
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 420px at 12% 18%, rgba(139, 92, 246, .22), transparent 70%),
    radial-gradient(640px 460px at 88% 30%, rgba(34, 211, 238, .14), transparent 70%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 14px max(16px, calc((100% - var(--wrap)) / 2));
  background: rgba(11, 11, 20, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(38, 37, 74, .6);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.brand img { border-radius: 9px; }
.brand b { color: var(--cyan); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--dim); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 8px 28px -10px rgba(139, 92, 246, .8);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -10px rgba(34, 211, 238, .7); }
.btn-ghost { background: transparent; border: 1px solid var(--stroke); box-shadow: none; color: var(--text); }
.btn-ghost:hover { border-color: var(--violet); box-shadow: none; }
.btn-small { padding: 9px 16px; font-size: .9rem; }

/* Hero */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: 72px 16px 40px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center;
}
.tier-line { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--dim); font-weight: 500; margin-bottom: .2em; }
.tier {
  display: block; font-size: clamp(3.4rem, 8vw, 5.6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: .1em 0 .3em;
}
.tier.swap { animation: tier-in .45s ease-out; }
@keyframes tier-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero h1 { max-width: 16ch; }
.lead { color: var(--dim); font-size: 1.1rem; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.fine { color: var(--dim); font-size: .88rem; }
.hero-shot { margin: 0; }
.hero-shot img, .shot {
  border-radius: var(--r); border: 1px solid var(--stroke);
  box-shadow: 0 30px 80px -30px rgba(139, 92, 246, .55), 0 0 0 1px rgba(255, 255, 255, .02);
}

/* Facts strip */
.facts {
  max-width: var(--wrap); margin: 24px auto 0; padding: 0 16px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke);
}
.facts div { padding: 22px 18px; }
.facts div + div { border-left: 1px solid var(--stroke); }
.facts strong { display: block; font-size: 1.3rem; }
.facts span { color: var(--dim); font-size: .9rem; }

/* Sections */
.section { max-width: var(--wrap); margin: 0 auto; padding: 96px 16px 0; }
.row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; margin-top: 56px; }
.row.flip .row-copy { order: 2; }
.row-copy p { color: var(--dim); max-width: 52ch; }
.row-copy em { color: var(--text); font-style: normal; font-weight: 600; }

/* TierUP Now! */
.now {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start;
}
.now-copy p { color: var(--dim); }
.switch { display: inline-flex; gap: 6px; padding: 5px; background: var(--side); border: 1px solid var(--stroke); border-radius: 999px; margin-top: 8px; }
.switch button {
  font: inherit; font-size: .95rem; color: var(--dim); background: none; border: 0;
  padding: 9px 22px; border-radius: 999px; cursor: pointer;
}
.switch button[aria-selected="true"] { background: var(--grad); color: #fff; }
.now-panel {
  background: var(--card); border: 1px solid var(--violet); border-radius: var(--r);
  padding: 28px; box-shadow: 0 0 0 4px rgba(139, 92, 246, .08);
}
.now-sum { font-weight: 600; }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: #1C1B36; font-size: .88rem; }
.chips li.extra { background: rgba(34, 211, 238, .12); color: #BFF3FB; }

/* Gallery */
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.thumbs button { padding: 0; border: 1px solid var(--stroke); border-radius: 10px; overflow: hidden; background: none; cursor: zoom-in; }
.thumbs button:hover { border-color: var(--violet); }
dialog#viewer { padding: 0; border: 0; background: transparent; max-width: min(1200px, 94vw); }
dialog#viewer::backdrop { background: rgba(5, 5, 12, .85); }
dialog#viewer img { border-radius: 12px; }
dialog#viewer .close {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(11, 11, 20, .85); color: #fff; font-size: 1.4rem; cursor: pointer;
}

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--stroke); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; }
.plan.pro {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box;
}
.price { font-size: 2rem; font-weight: 700; margin-bottom: .6em; }
.price small { font-size: .95rem; font-weight: 400; color: var(--dim); }
.price .or { font-size: 1rem; font-weight: 400; color: var(--dim); margin: 0 6px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 8px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg);
}
.plan .btn { text-align: center; }

/* Safety */
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 48px; }
.checks li { padding: 16px 0 16px 40px; position: relative; color: var(--dim); border-top: 1px solid var(--stroke); }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg);
}

/* FAQ */
.faq details { border-top: 1px solid var(--stroke); max-width: 780px; }
.faq details:last-of-type { border-bottom: 1px solid var(--stroke); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; color: var(--violet); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--dim); margin: 0 0 18px; max-width: 64ch; }

/* Final + footer */
.final { max-width: var(--wrap); margin: 110px auto 0; padding: 64px 16px; text-align: center; border-top: 1px solid var(--stroke); }
.final .cta-row { justify-content: center; }
.footer { max-width: var(--wrap); margin: 0 auto; padding: 32px 16px 48px; color: var(--dim); font-size: .88rem; border-top: 1px solid var(--stroke); }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 12px; }
.foot-links a { color: var(--text); text-decoration: none; }
.foot-links a:hover { color: var(--cyan); }

/* 404 */
.missing { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 16px; }

/* Tablet and phone */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .hero, .row, .now, .plans { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 40px; }
  .row.flip .row-copy { order: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--stroke); }
  .thumbs { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
  .section { padding-top: 72px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .cta-row .btn { width: 100%; text-align: center; }
  .plan { padding: 24px; }
  .now-panel { padding: 20px; }
}
