:root {
  --bg: #120a24;
  --bg-2: #1b1135;
  --panel: #241845;
  --panel-2: #2e2058;
  --line: rgba(255, 255, 255, .09);
  --text: #f2eefc;
  --muted: #a99fc6;
  --yellow: #ffc81e;
  --yellow-2: #ffdd55;
  --orange: #ff9f1a;
  --violet: #8b5cf6;
  --ink: #17102a;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* ---------- top bars ---------- */
.promo-bar {
  background: linear-gradient(90deg, #3a1786, #6c2bd9 50%, #3a1786);
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 8px 16px;
}
.promo-bar strong { color: var(--yellow); }

.site-header { background: var(--yellow); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; gap: 20px; height: 58px; }
.logo { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 900; font-size: 24px; letter-spacing: -.5px; color: var(--ink); font-style: italic; }
.logo:hover { text-decoration: none; }
.logo .mark { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; border-radius: 8px; background: var(--ink); color: var(--yellow); font-size: 18px; font-style: normal; align-self: center; }
.logo small { font-size: 12px; font-weight: 700; font-style: normal; opacity: .7; margin-left: 3px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 6px 14px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav-links a:hover { background: rgba(0,0,0,.08); text-decoration: none; }
.nav-links a.active { background: var(--ink); color: var(--yellow); }
.nav-right { margin-left: auto; display: flex; gap: 10px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; color: var(--ink); cursor: pointer; }

.cat-strip { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.cat-strip .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.cat-strip a { white-space: nowrap; color: var(--muted); font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.cat-strip a:hover { color: #fff; background: var(--panel); text-decoration: none; }
.cat-strip a.all { background: var(--panel-2); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--yellow); color: var(--ink);
  font-weight: 700; font-size: 15px;
  padding: 11px 22px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 4px 0 #c08f00;
  transition: transform .12s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); background: var(--yellow-2); }
.btn-dark { background: var(--ink); color: var(--yellow); box-shadow: none; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.3); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: 7px 14px; font-size: 13px; box-shadow: 0 3px 0 #c08f00; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(255,159,26,.35), transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(139,92,246,.45), transparent 45%),
    linear-gradient(180deg, #24104f, #120a24);
  padding: 56px 0 44px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 46px; font-weight: 900; letter-spacing: -1px; }
.hero h1 span { color: var(--yellow); }
.hero .lead { color: #d8d0ef; font-size: 18px; max-width: 620px; }
.search {
  display: flex; align-items: center; gap: 8px; margin: 24px 0 16px;
  background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; max-width: 640px;
  box-shadow: 0 0 0 4px rgba(255,200,30,.35);
}
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 16px; color: var(--ink); background: transparent; }
.tool-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-pills a { border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.tool-pills a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; transform: rotate(-3deg); }
.hero-art img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; border: 3px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.hero-art img:nth-child(2) { transform: translateY(24px); }
.hero-art img:nth-child(4) { transform: translateY(24px); }

/* ---------- strips & cards ---------- */
.notice { display: flex; align-items: center; gap: 10px; margin: 18px 0; padding: 10px 16px; background: var(--bg-2); border-radius: 10px; font-size: 14px; color: var(--muted); }
.notice .more { margin-left: auto; white-space: nowrap; }
.why-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin: 26px 0 18px; }
.why-strip h2 { margin: 0; font-size: 24px; color: var(--violet); background: linear-gradient(90deg, #b794ff, var(--yellow)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.why-strip span { font-weight: 600; color: #e3dcf7; font-size: 15px; }
.why-strip span::before { content: "✓ "; color: var(--yellow); }

.promo-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promo-card { position: relative; display: block; border-radius: var(--radius); padding: 20px; min-height: 130px; color: var(--ink); overflow: hidden; }
.promo-card:hover { text-decoration: none; transform: translateY(-2px); }
.promo-card h3 { font-size: 20px; font-weight: 900; margin: 0 0 4px; }
.promo-card p { margin: 0; font-size: 14px; max-width: 75%; }
.promo-card .icon { position: absolute; right: 14px; bottom: 8px; font-size: 44px; }
.pc-1 { background: linear-gradient(135deg, #ffe46b, #ffb21e); }
.pc-2 { background: linear-gradient(135deg, #ffd166, #ff8a3d); }
.pc-3 { background: linear-gradient(135deg, #c4b5fd, #8b5cf6); color: #fff; }
.pc-4 { background: linear-gradient(135deg, #6d28d9, #2e1065); color: #fff; }
.pc-4 .btn-mini, .pc-3 .btn-mini { background: var(--yellow); color: var(--ink); }
.btn-mini { display: inline-block; margin-top: 10px; background: var(--ink); color: var(--yellow); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }

section { padding: 48px 0; }
section.alt { background: var(--bg-2); }
.section-title { font-size: 30px; font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 760px; margin: 0 auto 26px; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tab { background: var(--panel); color: var(--muted); border: 0; border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 600; cursor: pointer; }
.tab:hover { color: #fff; }
.tab.active { background: var(--panel-2); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,200,30,.6); }

.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.card { display: block; color: var(--text); border-radius: 12px; overflow: hidden; background: transparent; transition: transform .15s; }
.card:hover { text-decoration: none; transform: translateY(-3px); }
.card .thumb { aspect-ratio: 1; background: #fff; border-radius: 12px; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 10px 2px 4px; }
.card h3 { font-size: 14px; font-weight: 500; color: #ddd6f3; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card .price { color: var(--orange); font-weight: 800; font-size: 17px; }
.card .cat-label { font-size: 12px; color: var(--muted); }

.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; text-align: center; }
.service { padding: 18px 10px; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.service .si { font-size: 30px; }
.service h3 { font-size: 15px; margin: 10px 0 6px; }
.service p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- prose ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.3em; color: var(--yellow); }
.prose p, .prose li { color: #d9d2ee; }
.prose strong { color: #fff; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table, .data-table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.prose th, .prose td, .data-table th, .data-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: middle; }
.prose th, .data-table th { color: var(--yellow); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.two-col .prose { margin: 0; }
.callout { background: rgba(255,200,30,.08); border-left: 4px solid var(--yellow); padding: 14px 18px; border-radius: 8px; margin: 1.4em 0; color: #eee6ff; }
.callout.warn { background: rgba(255,120,60,.1); border-color: var(--orange); }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-row li { counter-increment: s; background: var(--panel); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.steps-row li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 900; margin-bottom: 12px; }
.steps-row h3 { font-size: 17px; }
.steps-row p { font-size: 14px; color: var(--muted); margin: 0; }

.faq details { background: var(--panel); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--yellow); font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 16px; color: #d4cce9; }

/* ---------- inner pages ---------- */
.page-hero { background: linear-gradient(180deg, #2a1360, var(--bg)); padding: 40px 0 34px; }
.page-hero h1 { font-size: 38px; font-weight: 900; }
.page-hero h1 span { color: var(--yellow); }
.page-hero p { color: #d8d0ef; max-width: 780px; font-size: 17px; margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.filter-bar input { flex: 1; min-width: 220px; background: var(--panel); border: 1px solid var(--line); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 15px; outline: 0; }
.filter-bar input:focus { border-color: var(--yellow); }
.chip { background: var(--panel); color: var(--muted); border: 0; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.chip.active { background: var(--yellow); color: var(--ink); }
.sheet-wrap { overflow-x: auto; background: var(--bg-2); border-radius: var(--radius); border: 1px solid var(--line); }
.sheet { min-width: 760px; }
.sheet img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; background: #fff; }
.sheet .p { color: var(--orange); font-weight: 800; white-space: nowrap; }
.note { color: var(--muted); font-size: 13px; }

.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pd-img { background: #fff; border-radius: 18px; overflow: hidden; }
.pd-info h1 { font-size: 32px; font-weight: 800; }
.pd-price { font-size: 30px; font-weight: 900; color: var(--orange); margin: 6px 0 14px; }
.pd-price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.specs div { background: var(--panel); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.specs b { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 10px; }

/* ---------- footer ---------- */
.site-footer { background: #0b0617; border-top: 1px solid var(--line); padding: 46px 0 0; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.6fr; gap: 26px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--yellow); }
.site-footer .logo { color: var(--yellow); }
.site-footer .logo .mark { background: var(--yellow); color: var(--ink); }
.disclaimer-mini { font-size: 12px; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.copyright { text-align: center; font-size: 12px; padding: 18px 0; margin-top: 18px; border-top: 1px solid var(--line); }

.float-bar { position: fixed; right: 14px; bottom: 24px; display: flex; flex-direction: column; gap: 8px; z-index: 40; }
.float-bar a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--panel-2); font-size: 18px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.float-bar a:hover { background: var(--yellow); text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .services { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-right { display: none; }
  .nav-links { display: none; position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; background: var(--yellow); padding: 10px 16px 16px; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
  .nav-links.open { display: flex; }
  .hero-grid, .two-col, .pd { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-art { display: none; }
  .promo-cards { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 30px; }
}
.hero-grid > *, .two-col > *, .pd > *, .grid > * { min-width: 0; }
@media (max-width: 520px) {
  .hero h1 { font-size: 28px; }
  .notice { flex-wrap: wrap; }
  .notice .more { margin-left: 0; }
  .promo-cards, .steps-row { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .search { padding-left: 16px; }
  .search .btn { padding: 10px 16px; }
  .float-bar { display: none; }
}
