/* New World Tweaks - website. Same palette as the app: near-black, with the
   logo's cyan -> blue -> violet as the only colour. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #07070b;
  --bg-alt: #0a0a10;
  --surface: #0d0d14;
  --raised: #13131d;
  --line: #1f1f2b;
  --line-hi: #2b2b3b;
  --text: #f4f4f9;
  --sub: #a3a3b8;
  --faint: #6b6b82;
  --cyan: #18caff;
  --blue: #2a62ff;
  --indigo: #4b3dfe;
  --violet: #7361f8;
  --violet-hi: #8f80ff;
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --grad: linear-gradient(135deg, var(--blue), var(--indigo) 45%, var(--violet) 75%, #7f35fd);
  --grad-text: linear-gradient(100deg, var(--cyan), var(--blue) 40%, #8b5cff 85%);
  --inset: inset 0 1px 0 rgba(255, 255, 255, .05);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01", "ss03";
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
::selection { background: rgba(115, 97, 248, .35); }
:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 3px; border-radius: 8px; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.wrap-narrow { width: min(820px, 100% - 48px); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Background light: two soft blobs drifting slowly behind everything. */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(10px); }
.aurora i:nth-child(1) { width: 1000px; height: 700px; left: -300px; top: -380px;
  background: radial-gradient(closest-side, rgba(42, 98, 255, .16), transparent); animation: drift 28s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 900px; height: 700px; right: -320px; top: -240px;
  background: radial-gradient(closest-side, rgba(115, 97, 248, .14), transparent); animation: drift 34s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(120px, 80px) scale(1.12); } }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 650;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, filter .2s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; padding: 13px 18px; font-size: 15px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(75, 61, 254, .38), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 12px 40px rgba(75, 61, 254, .5), inset 0 1px 0 rgba(255, 255, 255, .22); transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--line-hi); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: #3b3b52; background: rgba(255, 255, 255, .05); }
.btn-subtle { color: var(--text); background: var(--raised); border-color: var(--line-hi); box-shadow: var(--inset); }
.btn-subtle:hover { background: #191926; border-color: #3b3b52; }

/* ── Navigation ── */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 7, 11, .72); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--violet); }
.brand img { border-radius: 8px; box-shadow: 0 0 20px rgba(75, 61, 254, .35); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 9px; font-size: 14.5px; color: var(--sub); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-hi); color: var(--text);
  border-radius: 10px; padding: 8px; cursor: pointer; }

/* ── Hero ── */
.hero { padding: 72px 0 40px; text-align: center; }
.hero-copy { max-width: 820px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-hi); margin-bottom: 18px; }
.hero .eyebrow { padding: 6px 13px; border-radius: 30px; background: rgba(115, 97, 248, .1); border: 1px solid rgba(115, 97, 248, .28); }
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 760; letter-spacing: -.035em; margin-bottom: 22px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--sub); max-width: 650px; margin: 0 auto 34px; line-height: 1.55; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  font-size: 14px; color: var(--sub); }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points svg { width: 16px; height: 16px; color: var(--green); stroke-width: 2.6; }

.hero-shot { position: relative; margin: 64px auto 0; max-width: 1080px; perspective: 1600px; }
.shot-glow { position: absolute; inset: 8% 6% -4%; border-radius: 40px; filter: blur(70px); opacity: .55;
  background: linear-gradient(120deg, var(--cyan), var(--blue) 40%, var(--violet)); z-index: -1; }

/* A Windows-style window frame around every screenshot. */
.window { margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface);
  border: 1px solid #2a2a3c; box-shadow: 0 40px 100px rgba(0, 0, 0, .6), var(--inset); }
.window-bar { height: 34px; display: flex; justify-content: flex-end; align-items: center; gap: 22px; padding: 0 18px;
  background: #08080d; border-bottom: 1px solid var(--line); }
.window-bar span { width: 10px; height: 10px; border: 1.5px solid #5e5e74; }
.window-bar span:nth-child(1) { height: 0; border-width: 1.5px 0 0; }
.window-bar span:nth-child(3) { border: none; position: relative; }
.window-bar span:nth-child(3)::before, .window-bar span:nth-child(3)::after { content: ""; position: absolute; left: -1px; top: 4px;
  width: 13px; height: 1.5px; background: #5e5e74; transform: rotate(45deg); }
.window-bar span:nth-child(3)::after { transform: rotate(-45deg); }
.hero-shot .window { transform: rotateX(6deg); transform-origin: 50% 0; transition: transform 1.2s var(--ease); }
.hero-shot.in .window { transform: rotateX(0); }

/* ── Facts ── */
.facts { padding: 36px 0 20px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(13, 13, 20, .6); box-shadow: var(--inset); }
.facts-grid > div { padding: 26px 24px; text-align: center; }
.facts-grid > div + div { border-left: 1px solid var(--line); }
.facts-grid strong { display: block; font-size: 30px; font-weight: 750; letter-spacing: -.02em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts-grid span { font-size: 14px; color: var(--sub); }

/* ── Sections ── */
.section { padding: 110px 0; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-alt) 12%, var(--bg-alt) 88%, transparent); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 740; letter-spacing: -.03em; }
.section-lede { color: var(--sub); font-size: 18px; margin-top: 18px; }

/* ── Features ── */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.feature.flip .feature-copy { order: 2; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 720; margin: 16px 0 16px; }
.feature p { color: var(--sub); font-size: 17px; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px;
  border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-hi); color: var(--sub); }
.chip-core { color: #7cc0ff; background: rgba(96, 165, 250, .08); border-color: rgba(96, 165, 250, .3); }
.chip-ultimate { color: var(--violet-hi); background: rgba(115, 97, 248, .1); border-color: rgba(115, 97, 248, .35); }
.tag { font-size: .82em; font-weight: 650; padding: 1px 7px; border-radius: 6px; white-space: nowrap; }
.tag.safe { color: var(--green); background: rgba(74, 222, 128, .1); }
.tag.note { color: var(--amber); background: rgba(251, 191, 36, .1); }
.tag.care { color: var(--red); background: rgba(248, 113, 113, .1); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--sub); font-size: 15.5px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(115, 97, 248, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f80ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.feature-shot { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.feature-shot:hover { transform: translateY(-4px); box-shadow: 0 50px 110px rgba(0, 0, 0, .65), 0 0 0 1px rgba(115, 97, 248, .25); }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini, .card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--inset); transition: border-color .3s, transform .3s var(--ease); }
.mini:hover, .card:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.mini svg { width: 24px; height: 24px; color: var(--violet-hi); margin-bottom: 18px; }
.mini h4, .card h4 { font-size: 18px; margin-bottom: 8px; }
.mini p, .card p { color: var(--sub); font-size: 15px; }

/* ── Safety ── */
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.icon-tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 20px;
  background: linear-gradient(145deg, rgba(42, 98, 255, .22), rgba(115, 97, 248, .1)); border: 1px solid rgba(115, 97, 248, .3); }
.icon-tile svg { width: 21px; height: 21px; color: var(--violet-hi); }

/* ── Plans ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--inset); }
.plan h3 { font-size: 19px; font-weight: 650; }
.price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.price span { font-size: 46px; font-weight: 760; letter-spacing: -.04em; }
.price small { color: var(--faint); font-size: 16px; }
.plan-line { color: var(--sub); font-size: 15px; }
.plan .ticks { margin: 24px 0 30px; flex: 1; align-content: start; }
.plan-best { background: linear-gradient(160deg, rgba(42, 98, 255, .14), rgba(115, 97, 248, .07) 45%, var(--surface) 80%);
  border-color: rgba(115, 97, 248, .45); box-shadow: 0 30px 80px rgba(75, 61, 254, .18), var(--inset); }
.badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--grad); padding: 5px 11px; border-radius: 20px; box-shadow: 0 4px 16px rgba(75, 61, 254, .4); }
.fine { text-align: center; color: var(--faint); font-size: 14px; margin-top: 30px; }

/* ── FAQ ── */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--inset);
  transition: border-color .25s; }
.faq details[open] { border-color: var(--line-hi); }
.faq summary { list-style: none; cursor: pointer; padding: 21px 60px 21px 26px; font-weight: 620; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 26px 22px; color: var(--sub); font-size: 15.5px; }

/* ── Call to action ── */
.cta-card { text-align: center; padding: 70px 30px; border-radius: 28px; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, rgba(42, 98, 255, .2), transparent 70%), var(--surface);
  border: 1px solid rgba(115, 97, 248, .3); box-shadow: 0 40px 100px rgba(0, 0, 0, .4), var(--inset); }
.cta-card img { margin: 0 auto 28px; border-radius: 22px; box-shadow: 0 18px 50px rgba(75, 61, 254, .4); }
.cta-card h2 { margin-bottom: 16px; }
.cta-card p { color: var(--sub); font-size: 18px; max-width: 520px; margin: 0 auto 32px; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer-grid a:not(.brand) { display: block; color: var(--sub); font-size: 15px; margin-bottom: 10px; transition: color .2s; }
.footer-grid a:not(.brand):hover { color: var(--text); }
.footer-blurb { color: var(--faint); font-size: 15px; margin-top: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }

/* ── Legal pages (privacy, terms, refunds) ── */
.legal { padding: 64px 0 100px; }
.legal .wrap { width: min(760px, 100% - 48px); }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin: 10px 0 10px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 40px; }
.legal .summary { padding: 22px 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--inset); margin-bottom: 40px; }
.legal .summary h2 { font-size: 18px; margin-bottom: 12px; letter-spacing: -.01em; }
.legal h2 { font-size: 24px; margin: 44px 0 14px; letter-spacing: -.02em; }
.legal h3 { font-size: 17px; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--sub); font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.legal a { color: var(--violet-hi); text-decoration: underline; text-underline-offset: 3px; }
.legal b, .legal strong { color: var(--text); }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.legal-nav a { text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 9px; border: 1px solid var(--line-hi); color: var(--sub); }
.legal-nav a[aria-current="page"] { color: var(--text); background: rgba(115, 97, 248, .14); border-color: rgba(115, 97, 248, .4); }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-shot .window { transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Smaller screens ── */
@media (max-width: 960px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; margin-bottom: 80px; }
  .feature.flip .feature-copy { order: 0; }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div:nth-child(3) { border-left: none; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px 24px 18px;
    background: rgba(7, 7, 11, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .hero { padding-top: 48px; }
  h1 br, h2 br { display: none; }
  .section { padding: 80px 0; }
  .mini-grid, .safety-grid { grid-template-columns: 1fr; }
  .window-bar { height: 24px; }
}
@media (max-width: 480px) {
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div + div { border-left: none; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}
