:root {
  --bg: #0a0b14; --bg-2: #10121f; --card: rgba(255, 255, 255, .045); --card-2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --text: #f4f5fb; --text-2: #b7bbd0; --text-3: #7d8299;
  --sun-1: #ffb347; --sun-2: #ff6b6b; --sun-3: #c147e9; --accent: #ff7a59;
  --sea: #38bdf8; --ok: #34d399; --bad: #fb7185; --info: #60a5fa;
  --sunset: linear-gradient(100deg, var(--sun-1), var(--sun-2) 45%, var(--sun-3));
  --radius: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.tabs:empty { display: none; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .brand b { font-family: 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.02em; }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* sunset sky */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(1200px 600px at 50% -10%, #1d1633 0%, transparent 70%), var(--bg); }
.sky i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: drift 22s ease-in-out infinite alternate; }
.sky i:nth-child(1) { width: 520px; height: 520px; left: -120px; top: -160px; background: var(--sun-3); }
.sky i:nth-child(2) { width: 460px; height: 460px; right: -140px; top: 40px; background: var(--sun-2); animation-delay: -7s; opacity: .32; }
.sky i:nth-child(3) { width: 380px; height: 380px; left: 35%; top: 360px; background: var(--sun-1); animation-delay: -13s; opacity: .14; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .sky i, .card { animation: none !important; } }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(16px, calc((100vw - 1160px) / 2)); background: rgba(10, 11, 20, .65); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand b { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { color: var(--text-3); font-size: 12px; }
.logo { height: 50px; width: auto; flex: none; filter: drop-shadow(0 4px 14px rgba(56, 189, 248, .25)); transition: transform .25s; }
.brand:hover .logo { transform: rotate(-3deg) scale(1.04); }
.top-actions { display: flex; gap: 8px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); font: 600 14px Inter, sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .12); }
.btn:focus-visible { outline: 2px solid var(--sun-1); outline-offset: 2px; }
.btn.primary { border: 0; background: var(--sunset); color: #1a0d14; box-shadow: 0 8px 28px rgba(255, 107, 107, .35); }
.btn.primary:hover { box-shadow: 0 10px 34px rgba(255, 107, 107, .5); }
.btn.ghost { background: transparent; }
.btn.big { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 14px; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; }

main { width: min(1160px, 100% - 32px); margin: 0 auto; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 48px; padding: 72px 0 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--text-2); font-size: 13px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.hero h1 { margin: 0; font-size: clamp(38px, 7vw, 72px); line-height: 1.03; font-weight: 800; }
.sunset { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 560px; margin: 22px 0 0; color: var(--text-2); font-size: clamp(15px, 2vw, 18px); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--text-3); font-size: 13.5px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; fill: none; stroke: var(--sea); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* notices */
.notice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 28px; padding: 14px 18px; border-radius: 14px; border: 1px solid; background: var(--card); }
.notice span { color: var(--text-2); flex: 1; min-width: 200px; }
.notice button { margin-left: auto; background: none; border: 0; color: var(--text-3); font-size: 22px; cursor: pointer; line-height: 1; }
.notice.ok { border-color: rgba(52, 211, 153, .4); } .notice.ok b { color: var(--ok); }
.notice.bad { border-color: rgba(251, 113, 133, .4); } .notice.bad b { color: var(--bad); }
.notice.info { border-color: rgba(96, 165, 250, .4); } .notice.info b { color: var(--info); }

/* shop */
.shop { scroll-margin-top: 90px; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); }
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); overflow-x: auto; max-width: 100%; }
.tabs button { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); font: 600 13.5px Inter, sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.tabs button:hover { color: var(--text); }
.tabs button.on { background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.cat-desc { margin: 10px 0 0; color: var(--text-2); white-space: pre-line; }
.cat-desc:empty { display: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 22px; }
.card { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; animation: rise .5s both; animation-delay: var(--d, 0ms); }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.pic { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(135deg, rgba(193, 71, 233, .25), rgba(255, 107, 107, .2) 55%, rgba(255, 179, 71, .18)); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic svg { width: 54px; height: 54px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .92; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); transition: transform .35s; }
.card:hover .pic svg { transform: scale(1.12) rotate(-6deg); }
.pic::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .22), transparent 55%); pointer-events: none; }
.card:nth-child(4n+2) .pic { background: linear-gradient(135deg, rgba(56, 189, 248, .32), rgba(99, 102, 241, .22) 55%, rgba(193, 71, 233, .2)); }
.card:nth-child(4n+3) .pic { background: linear-gradient(135deg, rgba(255, 179, 71, .34), rgba(255, 107, 107, .24) 60%, rgba(193, 71, 233, .16)); }
.card:nth-child(4n+4) .pic { background: linear-gradient(135deg, rgba(52, 211, 153, .28), rgba(56, 189, 248, .22) 60%, rgba(99, 102, 241, .18)); }
.pic .save { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 999px; background: var(--sunset); color: #1a0d14; font: 700 11.5px Inter, sans-serif; box-shadow: 0 6px 16px rgba(255, 107, 107, .4); }
.pic em { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(10, 11, 20, .75); font: 600 11.5px Inter, sans-serif; font-style: normal; color: var(--sun-1); }
.body { padding: 16px 18px 6px; flex: 1; }
.body h3 { margin: 0 0 6px; font-size: 18px; }
.body p { margin: 0; color: var(--text-2); font-size: 14px; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 18px; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 800 22px 'Plus Jakarta Sans', sans-serif; }
.price s { color: var(--text-3); font-size: 14px; }
.acts { display: flex; gap: 8px; margin-left: auto; }
.skel { min-height: 330px; background: linear-gradient(100deg, var(--card) 30%, var(--card-2) 50%, var(--card) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; border-radius: var(--radius); border: 1px dashed var(--line-2); background: var(--card); }
.empty b { display: block; font: 700 20px 'Plus Jakarta Sans', sans-serif; }
.empty p { margin: 8px auto 18px; max-width: 460px; color: var(--text-2); }

/* steps + faq */
.steps, .faq { margin-top: 84px; }
.steps ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 22px 0 0; padding: 0; list-style: none; }
.steps li { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.steps li span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 10px; background: var(--sunset); color: #1a0d14; font: 800 15px 'Plus Jakarta Sans', sans-serif; }
.steps li b { font-size: 16px; }
.steps li p { margin: 6px 0 0; color: var(--text-2); font-size: 14px; }
.faq details { margin-top: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.faq details:first-of-type { margin-top: 22px; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--text-3); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-2); }

.foot { width: min(1160px, 100% - 32px); margin: 90px auto 0; padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; text-align: center; }
.foot p { margin: 4px 0; }
.foot .fine { font-size: 12px; opacity: .8; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(4, 5, 10, .72); backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.sheet { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.sheet .x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 20px; cursor: pointer; }
.m-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 16px; }
.sheet h3 { margin: 0 40px 8px 0; font-size: 22px; }
.m-desc { color: var(--text-2); white-space: pre-line; }
.sheet .buy { padding: 12px 0 0; }

@media (max-width: 560px) {
  .brand small, #joinTop { display: none; }
  .hero { padding-top: 56px; }
  .btn.big { width: 100%; }
}

/* ═══════════ polish pass ═══════════ */
.top { transition: background .3s, box-shadow .3s, padding .3s; }
.top.scrolled { background: rgba(10, 11, 20, .86); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--sun-1), var(--sun-2), var(--sun-3), transparent); opacity: .55; }

/* hero art: the logo floating over a setting sun */
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(34px, 4.5vw, 56px); }
@media (min-width: 901px) { .hero h1 .sunset { white-space: nowrap; } }
.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1.12; }
.hero-art img { position: relative; width: min(100%, 500px); height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 34px 50px rgba(0, 0, 0, .55)) drop-shadow(0 0 60px rgba(56, 189, 248, .18)); }
.hero-art .sun { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 96, .85), rgba(255, 107, 107, .5) 40%, rgba(193, 71, 233, .22) 60%, transparent 72%); filter: blur(22px); animation: glow 6s ease-in-out infinite; }
.hero-art .ring { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .13); animation: spin 80s linear infinite; }
.hero-art .ring.r2 { width: 104%; border-style: solid; border-color: rgba(255, 255, 255, .05); animation-duration: 120s; animation-direction: reverse; }
.hero-art .ring::before { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--sun-1); box-shadow: 0 0 16px var(--sun-1); }
.hero-art .ring.r2::before { background: var(--sea); box-shadow: 0 0 16px var(--sea); }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.2deg); } }
@keyframes glow { 50% { transform: scale(1.08); opacity: .82; } }
@keyframes spin { to { transform: rotate(360deg); } }
.eyebrow .dot { animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }

/* buttons: light sweep on the main call to action */
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn.primary:hover::after { left: 130%; }
.btn:active { transform: translateY(0) scale(.97); }

/* section headings */
.kicker { margin: 0 0 6px; font: 700 12px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.powers { margin-top: 96px; }
.steps, .faq { margin-top: 96px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 22px; }
.tiles article { position: relative; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tiles article:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .4); }
.tiles article::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--sunset); opacity: 0; transition: opacity .25s; }
.tiles article:hover::before { opacity: 1; }
.tiles span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 13px; background: linear-gradient(135deg, rgba(56, 189, 248, .2), rgba(193, 71, 233, .16)); border: 1px solid var(--line-2); }
.tiles svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tiles b { font: 700 16.5px 'Plus Jakarta Sans', sans-serif; }
.tiles p { margin: 6px 0 0; color: var(--text-2); font-size: 14px; }
.steps li { transition: transform .25s, border-color .25s; }
.steps li:hover { transform: translateY(-3px); border-color: var(--line-2); }
.faq details { transition: border-color .2s, background .2s; }
.faq details[open], .faq details:hover { border-color: var(--line-2); background: var(--card-2); }

/* cards */
.card { position: relative; }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--sunset); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::before { opacity: .9; }
.card.skel::before { display: none; }

.foot img { width: auto; height: 60px; margin: 0 auto 14px; opacity: .9; }

/* scroll-in (only when the script is running) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 12px; padding: 40px 0 48px; text-align: center; }
  .hero-art { order: -1; width: min(300px, 78%); margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust { justify-content: center; }
  .kicker { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art img, .hero-art .sun, .hero-art .ring, .eyebrow .dot { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
