:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #fbfaf8;
  --bg-alt: #f3f1ec;
  --card: #ffffff;
  --accent: #ff7a45;
  --accent-2: #ff5e62;
  --amazon: #ffb703;
  --amazon-ink: #1f1300;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, .06), 0 24px 48px rgba(15, 23, 42, .12);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 .98rem/1 var(--font); padding: .95rem 1.4rem; border-radius: 999px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform .2s ease; }
.btn:hover span { transform: translateX(3px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 24px -8px rgba(255, 94, 98, .6); }
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(255, 94, 98, .7); }
.btn-ghost { background: rgba(255,255,255,.7); border-color: var(--line); color: var(--ink); backdrop-filter: blur(6px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-small { padding: .65rem 1.1rem; font-size: .88rem; }
.btn-amazon { width: 100%; background: var(--amazon); color: var(--amazon-ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-amazon:hover { background: #ffc233; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 10px 20px -10px rgba(255, 183, 3, .9); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease; }
.nav.scrolled { background: rgba(251, 250, 248, .85); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.1rem; text-decoration: none; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--accent); transition: right .25s ease; }
.nav-links a:hover::after { right: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: -72px; padding: calc(72px + 4.5rem) 0 5rem; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: #ffd3b6; top: -160px; right: -80px; }
.b2 { width: 420px; height: 420px; background: #ffc6d0; top: 120px; right: 30%; animation-delay: -5s; }
.b3 { width: 380px; height: 380px; background: #fde68a; bottom: -180px; left: -120px; animation-delay: -10s; }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -30px) scale(1.06); } }

.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; margin: 1.4rem 0 1.2rem; background: linear-gradient(120deg, var(--ink) 30%, #9a3412 75%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-stats strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.hero-stats span { font-size: .85rem; color: var(--muted); }

.hero-visual { position: relative; height: 460px; }
.stack { position: absolute; inset: 0; }
.stack-card { position: absolute; width: 58%; aspect-ratio: 4 / 5; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 1.2rem; display: grid; place-items: center; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.stack-card img { width: 100%; height: 100%; object-fit: contain; }
.stack-card .ph { width: 100%; height: 100%; border-radius: 16px; background: linear-gradient(135deg, #fff1e6, #ffe4e6); }
.s1 { left: 4%; top: 12%; transform: rotate(-8deg); }
.s2 { right: 2%; top: 4%; transform: rotate(7deg); }
.s2 .ph { background: linear-gradient(135deg, #fef3c7, #ffedd5); }
.s3 { left: 22%; top: 22%; z-index: 2; transform: rotate(-1deg); }
.s3 .ph { background: linear-gradient(135deg, #e0f2fe, #ede9fe); }
.hero-visual:hover .s1 { transform: rotate(-12deg) translateX(-14px); }
.hero-visual:hover .s2 { transform: rotate(11deg) translateX(14px); }
.hero-visual:hover .s3 { transform: rotate(0) translateY(-10px); }
.float-pill { display: inline-flex; align-items: center; gap: .45rem; position: absolute; z-index: 3; background: #fff; padding: .7rem 1rem; border-radius: 14px; font-weight: 600; font-size: .88rem; box-shadow: var(--shadow-lg); animation: bob 5s ease-in-out infinite; }
.fp1 { left: 0; bottom: 10%; }
.fp2 { right: 0; bottom: 28%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Trust bar */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.6rem 0; }
.trust-item { display: flex; gap: .9rem; align-items: center; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { font-size: .85rem; color: var(--muted); }
.ti-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff4ed; color: var(--accent); font-size: 1.2rem; }

/* Sections */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.section h2 { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -.02em; margin: 0; }

.tools { display: flex; gap: .7rem; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 1rem; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 122, 69, .15); }
.search input { border: 0; outline: 0; background: transparent; font: 500 .95rem var(--font); padding: .8rem 0; width: 230px; color: var(--ink); }
#sort { font: 600 .9rem var(--font); padding: .8rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }

.chips { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { font: 600 .9rem var(--font); padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 1.6rem; background: #fff; border-bottom: 1px solid #f1f5f9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-media img { transform: scale(1.06); }
.img-fallback { display: grid; place-items: center; width: 100%; height: 100%; font-size: 3.4rem; color: var(--accent); border-radius: 14px; background: linear-gradient(135deg, #fff1e6, #ffe4e6); }
.badge { position: absolute; top: .9rem; left: .9rem; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; letter-spacing: .02em; box-shadow: 0 6px 14px -6px rgba(255, 94, 98, .8); }
.badge-inline { position: static; display: inline-block; align-self: flex-start; }
.card-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.card-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.card-title { font-size: 1.05rem; line-height: 1.35; margin: 0; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc { font-size: .9rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .btn-amazon { margin-top: auto; }

/* Featured */
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-media { display: grid; place-items: center; padding: 2rem; background: radial-gradient(circle at 30% 20%, #fff7ed, #fff 70%); aspect-ratio: 1 / 1; }
.feature-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.feature:hover .feature-media img { transform: scale(1.05) rotate(-1deg); }
.feature-body { min-width: 0; padding: 2rem; display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
.feature-body h3 { font-family: var(--display); font-size: 1.45rem; line-height: 1.2; margin: 0; }
.feature-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature-body .btn-amazon { width: auto; align-self: flex-start; margin-top: .4rem; white-space: normal; text-align: center; }

/* Empty state */
.empty { text-align: center; padding: 4rem 1rem; background: #fff; border-radius: 24px; border: 1px dashed #d6d3cd; }
.empty-icon { font-size: 3.2rem; color: var(--accent); margin-bottom: .5rem; animation: bob 4s ease-in-out infinite; }
.empty h3 { font-family: var(--display); font-size: 1.6rem; margin: 0 0 .4rem; }
.empty p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-copy p { color: var(--ink-2); font-size: 1.05rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { display: flex; gap: 1.1rem; align-items: flex-start; background: #fff; padding: 1.3rem 1.4rem; border-radius: 18px; box-shadow: var(--shadow); }
.steps li > span { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.steps strong { font-size: 1.02rem; }
.steps p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }

/* Footer */
.footer { background: var(--ink); color: #cbd5e1; padding: 3.5rem 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.brand-light { color: #fff; }
.disclosure { max-width: 62ch; font-size: .88rem; color: #94a3b8; margin: 1rem 0 0; }
.disclosure strong { color: #e2e8f0; }
.footer-meta { display: flex; flex-direction: column; gap: .5rem; align-items: flex-end; font-size: .9rem; }
.footer-meta a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-meta a:hover { color: var(--amazon); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2,.8,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-6px); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero-inner, .about { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; max-width: 480px; width: 100%; margin-inline: auto; }
  .featured-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(72px + 2.5rem); }
  .hero-stats { gap: 1.5rem; }
  .hero-stats strong { font-size: 1.35rem; }
  .trust-inner { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .tools, .search { width: 100%; }
  .search input { width: 100%; }
  .feature { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .card-media { padding: 1rem; }
  .card-body { padding: 1rem; }
  .card-title { font-size: .95rem; }
  .card-desc { display: none; }
  .btn-amazon { padding: .8rem .6rem; font-size: .85rem; }
  .footer-meta { align-items: flex-start; }
}
