:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e5e7eb;
  --brand: #5b42f3;
  --brand-dark: #432cc7;
  --accent: #f7c948;
  --dark: #151b2c;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 18px 45px rgba(16, 24, 40, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: auto; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: white; padding: 10px 14px; border-radius: 8px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247,248,252,.9); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(229,231,235,.8); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: white; background: linear-gradient(135deg, var(--brand), #8e66ff); font-size: .75rem; font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 24px; color: #475467; font-size: .93rem; }
.main-nav a:hover { color: var(--brand); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; }

.hero { overflow: hidden; background: radial-gradient(circle at 85% 15%, rgba(91,66,243,.2), transparent 30%), linear-gradient(135deg, #151b2c, #202b49); color: white; padding: 78px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.14fr .86fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--brand); letter-spacing: .11em; font-size: .75rem; font-weight: 800; }
.hero .eyebrow { color: #c3b7ff; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; max-width: 680px; font-size: clamp(2.5rem, 5vw, 4.65rem); line-height: 1.03; letter-spacing: -.06em; }
.hero-text { max-width: 590px; margin-bottom: 28px; color: #d0d5dd; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: white; }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { background: transparent; color: inherit; border-color: currentColor; }
.hero .button-secondary { color: white; border-color: rgba(255,255,255,.38); }
.affiliate-note { max-width: 510px; margin: 18px 0 0; color: #98a2b3; font-size: .78rem; }
.hero-card { padding: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); background: rgba(255,255,255,.08); box-shadow: 0 20px 40px rgba(0,0,0,.15); transform: rotate(2deg); }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; font-size: .7rem; letter-spacing: .1em; font-weight: 800; color: #d6ccff; }
.pulse-dot { width: 10px; height: 10px; background: #77e6a1; border-radius: 100%; box-shadow: 0 0 0 6px rgba(119,230,161,.12); }
.hero-card-body { margin-top: 16px; padding: 24px; border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); }
.featured-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--accent); color: #3c2e00; font-size: 1.7rem; }
.hero-card h2 { margin: 22px 0 8px; font-size: 1.5rem; line-height: 1.1; }
.hero-card p { color: #d0d5dd; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mini-tags span { padding: 6px 10px; border-radius: 999px; color: #e7e2ff; background: rgba(255,255,255,.1); font-size: .78rem; }

.category-strip, .offers-section, .how-it-works, .cta-section { padding: 78px 0; }
.category-strip { background: var(--surface); }
.section-heading { margin-bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading.compact { display: block; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.1; letter-spacing: -.04em; }
.categories { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.category-button { min-height: 128px; padding: 18px; text-align: left; cursor: pointer; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.category-button:hover, .category-button.active { transform: translateY(-3px); border-color: #b5aaff; box-shadow: 0 10px 25px rgba(91,66,243,.11); }
.category-button .category-emoji { font-size: 1.6rem; display: block; margin-bottom: 13px; }
.category-button .category-name { font-size: .92rem; font-weight: 800; }

.search-box { min-width: 235px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.search-box input { width: 100%; min-height: 43px; outline: none; border: 0; color: var(--ink); background: transparent; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.filter-button { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: #475467; border-radius: 999px; padding: 8px 12px; cursor: pointer; font-size: .84rem; font-weight: 700; }
.filter-button.active, .filter-button:hover { color: white; background: var(--brand); border-color: var(--brand); }
.results-count { margin: 22px 0 14px; color: var(--muted); font-size: .86rem; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 1px 1px rgba(16,24,40,.02); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-visual { position: relative; min-height: 155px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #e8e5ff, #f7f8fc); }
.product-visual::after { content: ""; position: absolute; width: 156px; height: 156px; right: -25px; bottom: -42px; border-radius: 50%; background: rgba(91,66,243,.1); }
.product-emoji { position: relative; z-index: 1; font-size: 4.1rem; filter: drop-shadow(0 8px 8px rgba(16,24,40,.16)); }
.product-category { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.85); color: #4338ca; font-size: .7rem; font-weight: 800; }
.product-info { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.product-title { margin: 0 0 9px; font-size: 1.08rem; line-height: 1.22; letter-spacing: -.02em; }
.product-description { margin-bottom: 17px; color: var(--muted); font-size: .88rem; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; margin-bottom: 16px; font-size: .75rem; }
.product-tag { color: #245b42; background: #e9f9ef; border-radius: 999px; padding: 5px 8px; font-weight: 800; }
.product-rating { color: #a15c00; font-weight: 800; }
.product-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; color: white; border-radius: 11px; background: var(--brand); font-size: .9rem; font-weight: 800; }
.product-link:hover { background: var(--brand-dark); }
.empty-state { padding: 50px 20px; text-align: center; border: 1px dashed #cfd4dc; border-radius: var(--radius-md); background: #fff; color: var(--muted); }
.empty-state div { font-size: 2.2rem; }
.empty-state h3 { color: var(--ink); }

.how-it-works { background: #eef0ff; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step-card { padding: 24px; border: 1px solid #dedaff; border-radius: var(--radius-md); background: rgba(255,255,255,.75); }
.step-number { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 10px; color: #fff; background: var(--brand); font-size: .82rem; font-weight: 800; }
.step-card h3 { margin-bottom: 7px; font-size: 1.1rem; }
.step-card p { margin-bottom: 0; color: var(--muted); }

.cta-section { background: var(--dark); color: white; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 38px; border-radius: var(--radius-lg); background: radial-gradient(circle at 90% 5%, rgba(91,66,243,.56), transparent 35%), #222d4c; }
.cta-box .eyebrow { color: #c3b7ff; }
.cta-box h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.045em; }
.cta-box p:not(.eyebrow) { margin-bottom: 0; color: #cbd5e1; }
.social-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-box .button-secondary { border-color: rgba(255,255,255,.45); color: white; }

.site-footer { padding: 50px 0 18px; background: #0c1120; color: #d0d5dd; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.footer-brand { color: white; margin-bottom: 16px; }
.site-footer h3 { margin-bottom: 10px; color: white; font-size: .95rem; }
.site-footer p { max-width: 470px; margin-bottom: 0; color: #98a2b3; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 36px; padding-top: 18px; border-top: 1px solid #27314c; color: #98a2b3; font-size: .76rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { max-width: 500px; transform: none; }
  .categories { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .site-header { backdrop-filter: none; }
  .nav-wrap { min-height: 64px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 16px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 20px rgba(16,24,40,.06); }
  .main-nav.open { display: flex; }
  .hero { padding: 56px 0 62px; }
  h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .category-strip, .offers-section, .how-it-works, .cta-section { padding: 55px 0; }
  .section-heading { display: block; }
  .search-box { min-width: 0; width: 100%; margin-top: 20px; }
  .categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .products-grid, .steps-grid { grid-template-columns: 1fr; }
  .cta-box, .footer-grid, .footer-bottom { display: block; }
  .social-actions { margin-top: 22px; }
  .footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom span { display: block; margin-top: 8px; }
}
