/* CreatorStore - dark theme, one green accent */
:root {
  --bg: #07080c;
  --bg2: #0d0f17;
  --card: #12151e;
  --card-solid: #141722;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #eef0f6;
  --muted: #9aa1b5;
  --green: #3ddc84;
  --accent: var(--green);
  --radius: 16px;
  --wrap: 1180px;
  --head: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: ui-monospace, 'SF Mono', Consolas, monospace; font-size: .9em; background: rgba(255,255,255,.06); padding: .1em .4em; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* one soft light at the top - no grid, no second colour */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1000px 520px at 50% -18%, rgba(61,220,132,.10), transparent 65%), var(--bg); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(7,8,12,.82); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav-in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; padding-top: max(14px, env(safe-area-inset-top)); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.logo { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font: 700 15px/1 var(--head); color: #04140b; background: var(--green); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: .92rem; font-weight: 500; transition: .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }

main { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); color: var(--text);
  font: 600 .95rem/1 'Inter', system-ui, sans-serif; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s; -webkit-appearance: none; appearance: none; }
.btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-primary { border: 0; color: #04140b; background: var(--green); }
.btn-primary:hover { background: #5be59a; }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .88rem; border-radius: 10px; }
.btn-lg { min-height: 54px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-col { display: grid; gap: 10px; margin-top: 18px; }

/* hero */
.hero { text-align: center; padding: 84px 0 48px; }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); margin: 0 auto 16px; max-width: 860px; }
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.15rem); color: var(--muted); max-width: 600px; margin: 0 auto 28px; }
.search { position: relative; display: flex; gap: 8px; max-width: 560px; margin: 0 auto; }
.search-ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); display: grid; pointer-events: none; }
.search input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px 0 44px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); color: var(--text);
  font: 16px 'Inter', system-ui, sans-serif; -webkit-appearance: none; appearance: none; transition: border-color .2s; }
.search input:focus { outline: 0; border-color: var(--green); }
.search .btn { min-height: 50px; }
.hero-stats { list-style: none; display: flex; justify-content: center; gap: 12px; padding: 0; margin: 40px 0 0; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; min-width: 130px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.hero-stats b { font-family: var(--head); font-size: 1.12rem; }
.hero-stats span { color: var(--muted); font-size: .82rem; }

/* sections */
.section { padding: 44px 0; }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.section-head p { color: var(--muted); margin: 8px 0 0; }
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }

/* categories */
.cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cat { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2);
  font-size: .88rem; font-weight: 500; color: #cfd3e0; background: rgba(255,255,255,.03); transition: .2s; }
.cat span { color: var(--muted); font-size: .78rem; }
.cat:hover { border-color: rgba(255,255,255,.3); color: var(--text); }
.cat.is-on { background: var(--green); border-color: var(--green); color: #04140b; }
.cat.is-on span { color: #0b3b20; }

/* cards */
.card { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.product { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius);
  transition: transform .25s, border-color .25s; }
.product[hidden] { display: none; }
.product:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.p-media { display: block; border-bottom: 1px solid var(--line); }
.p-media .shot { border-radius: 0; border: 0; }
.p-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.p-cat { margin: 0 0 8px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.p-body h3 { font-size: 1.35rem; }
.p-body h3 a:hover { color: var(--green); }
.p-tag { margin: 8px 0 14px; color: var(--muted); }
.hl { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.hl li { font-size: .8rem; padding: 4px 10px; border-radius: 8px; background: rgba(61,220,132,.08); color: #a7e9c4; }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.empty { padding: 20px 0; }
.empty a { color: var(--green); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.chip { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line2); color: #c6cbda; background: rgba(255,255,255,.03); }

.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-now { font-family: var(--head); font-size: 1.5rem; font-weight: 700; }
.price-now.soon { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-big { margin: 18px 0; }
.price-big .price-now { font-size: 2.3rem; }
.price-big .price-now.soon { font-size: 1.05rem; }
html[data-cur="INR"] .p-usd, html[data-cur="USD"] .p-inr { display: none; }

/* screenshots / placeholders */
.shot { margin: 0; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg2); position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-ph { display: grid; place-items: center; background: radial-gradient(120% 100% at 20% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%), #0c0f18; }
.ph-icon { font: 700 clamp(2rem, 7vw, 3.4rem)/1 var(--head); color: color-mix(in srgb, var(--accent) 80%, white); }
.ph-img { width: clamp(64px, 18%, 120px); aspect-ratio: 1; border-radius: 22%; object-fit: cover; box-shadow: 0 10px 40px rgba(0,0,0,.5); }

/* steps + faq */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.steps span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-family: var(--head); font-weight: 700; color: #04140b; background: var(--green); }
.steps h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }
#how > .small { margin-top: 16px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.faq a { color: var(--green); }

/* detail page */
.detail { padding-top: 22px; padding-bottom: 40px; }
.crumbs { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.crumbs a:hover { color: var(--text); }
.d-top { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.gallery { display: grid; gap: 12px; }
.g-thumbs { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.g-thumbs .ph-icon { font-size: 1.4rem; }
.video { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.video iframe { width: 100%; height: 100%; border: 0; }
.buy-box { padding: 26px; position: sticky; top: 86px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); }
.buy-box h1 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); margin: 0 0 10px; display: flex; align-items: center; gap: 12px; }
.buy-box > p.muted { margin: 0; }
.buy-box > .small { margin: 16px 0 0; text-align: center; }
.title-icon { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; }
.get { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.get li { position: relative; padding-left: 28px; font-size: .94rem; color: #d4d8e4; }
.get li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 6px; font-size: .7rem; font-weight: 700; color: #04140b; background: var(--green); }
.d-about { max-width: 820px; font-size: 1.07rem; color: #cfd3e0; padding-bottom: 8px; }
.d-about p { margin: 0 0 14px; }
.detail .section > h2, .two-col h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; }
.feat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.feat { padding: 22px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); transition: border-color .2s; }
.feat:hover { border-color: rgba(255,255,255,.2); }
.feat-ic { width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.3rem; border-radius: 12px; background: rgba(61,220,132,.1); margin-bottom: 14px; }
.feat h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feat p { margin: 0; font-size: .93rem; }
.two-col { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.req { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.req th, .req td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.req tr:last-child th, .req tr:last-child td { border-bottom: 0; }
.req th { color: var(--muted); font-weight: 500; width: 42%; }
.cmds, .changelog { margin: 0; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: #0a0c12; color: #cfd3e0; font: .9rem/1.8 ui-monospace, 'SF Mono', Consolas, monospace; overflow-x: auto; white-space: pre-wrap; }
.sticky-buy { display: none; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(3,4,8,.72); opacity: 0; transition: opacity .2s; }
.modal.open { opacity: 1; }
.modal-card { position: relative; width: 100%; max-width: 460px; max-height: calc(100dvh - 40px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 26px; border-radius: 20px; border: 1px solid var(--line2); background: #12151e;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); transform: translateY(12px); transition: transform .25s; }
.modal.open .modal-card { transform: none; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255,255,255,.06); color: var(--text); font-size: 1.3rem; cursor: pointer; }
.co-head { display: flex; align-items: center; gap: 14px; padding-right: 40px; margin-bottom: 18px; }
.co-icon { display: none; }
.co-head h3 { font-size: 1.2rem; }
.co-head p { margin: 2px 0 0; }
.co-price { margin-left: auto; font-family: var(--head); font-weight: 700; font-size: 1.4rem; }
.notice { font-size: .88rem; padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; color: #fde68a; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.3); }
.notice.ok { color: #bbf7d0; background: rgba(61,220,132,.08); border-color: rgba(61,220,132,.35); }
.notice.err { color: #fecaca; background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.35); }
.co-form { display: grid; gap: 14px; }
.co-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.co-form input:not([type=checkbox]) { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: #0a0c12; color: var(--text);
  font: 16px 'Inter', system-ui, sans-serif; -webkit-appearance: none; appearance: none; transition: border-color .2s; }
.co-form input:focus { outline: 0; border-color: var(--green); }
.co-form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.co-form .check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.co-form .check a { color: var(--green); }
.co-err { margin: 0; min-height: 1em; color: #f87171; font-size: .88rem; }
.co-form .small { margin: 0; }
.result { text-align: center; padding: 10px 4px 4px; }
.result-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-size: 1.5rem; font-weight: 700; background: rgba(255,255,255,.06); }
.result h3 { margin: 10px 0 8px; font-size: 1.4rem; }

/* order / forms / legal */
.test-banner { text-align: center; font-size: .86rem; padding: 8px 16px; color: #fde68a; background: rgba(251,191,36,.1); border-bottom: 1px solid rgba(251,191,36,.3); }
.narrow { max-width: 620px; margin: 0 auto; padding: 48px 0; }
.result-card, .form-card { padding: 32px; }
.result-card { text-align: center; }
.result-card .result-ic { background: rgba(61,220,132,.12); color: var(--green); }
.result-card h1, .form-card h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 12px 0 10px; }
.result-card .btn-lg { margin: 18px 0 8px; }
.result-ic.spin { animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.tag-test { font-size: .8rem; vertical-align: middle; padding: 3px 8px; border-radius: 6px; color: #fbbf24; border: 1px dashed rgba(251,191,36,.6); }
.licence { display: grid; gap: 6px; text-align: left; margin: 22px 0 18px; padding: 18px; border-radius: 14px; background: rgba(61,220,132,.07); border: 1px solid rgba(61,220,132,.3); }
.licence > span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.licence code { font-size: 1rem; padding: 8px 10px; user-select: all; }
.licence code.key { font-size: 1.3rem; letter-spacing: .06em; color: #a7f3d0; }
.licence p { margin: 6px 0 0; }
.licence p code { font-size: .85rem; padding: 2px 6px; }
.inv { text-align: left; margin: 10px 0 16px; }
.form-card .co-form { margin-top: 18px; }
.legal { max-width: 860px; margin: 40px auto; padding: clamp(22px, 4vw, 44px); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 6px; }
.legal h2 { font-size: 1.2rem; margin: 26px 0 8px; }
.legal p, .legal li { color: #cfd3e0; }
.legal a, .form-card a, .result-card a:not(.btn) { color: var(--green); }
.legal .req { margin-top: 12px; }

/* footer */
.footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-in { max-width: var(--wrap); margin: 0 auto; padding: 34px 20px 10px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-in > div:first-child { max-width: 460px; }
.footer-in p { margin: 12px 0 0; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.footer-links a, .footer-cols a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover, .footer-cols a:hover { color: var(--text); }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-cols div { display: grid; gap: 8px; align-content: start; }
.footer-cols b { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #cfd3e0; }
.footer > .small { max-width: var(--wrap); margin: 0 auto; padding: 18px 20px calc(30px + var(--safe-b)); }

/* responsive */
@media (max-width: 900px) {
  .d-top { grid-template-columns: 1fr; }
  .buy-box { position: static; }
}
@media (max-width: 640px) {
  .nav-links a { padding: 8px 10px; font-size: .86rem; }
  .nav-links a:nth-child(2) { display: none; }
  .nav-in { padding-left: 16px; padding-right: 16px; }
  main { padding: 0 16px; }
  .hero { padding: 52px 0 32px; }
  .hero-stats li { min-width: 0; flex: 1 1 28%; padding: 12px; }
  .section { padding: 32px 0; }
  .p-foot { align-items: center; }
  .g-thumbs { gap: 8px; }
  .modal { align-items: flex-end; padding: 0; }
  .modal-card { max-width: none; border-radius: 20px 20px 0 0; max-height: 92dvh; padding-bottom: calc(26px + var(--safe-b)); transform: translateY(40px); }
  .detail { padding-bottom: calc(100px + var(--safe-b)); }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 18px calc(12px + var(--safe-b)); background: rgba(10,12,18,.95); border-top: 1px solid var(--line2); }
  .sticky-buy div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
  .sticky-buy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sticky-buy span { font-family: var(--head); font-weight: 700; font-size: 1.2rem; }
  .result-card, .form-card { padding: 24px 18px; }
  .narrow { padding: 28px 0; }
  .footer-cols { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.steps-list { margin: 14px 0; padding-left: 22px; line-height: 1.9; }
