/* ============================================================
   XpressCoupon — AliExpress Coupons
   Design system + component styles
   Edit the tokens in :root to re-theme the whole site.
   ============================================================ */

:root{
  /* ---- Brand accents (warm, AliExpress-inspired, original) ---- */
  --accent:        oklch(0.63 0.21 28);    /* coral red — primary CTA */
  --accent-hover:  oklch(0.57 0.21 28);
  --accent-2:      oklch(0.74 0.16 58);    /* warm amber/orange */
  --accent-soft:   oklch(0.95 0.05 40);    /* tinted surface */
  --accent-glow:   oklch(0.63 0.21 28 / .35);

  /* ---- Neutrals (warm) ---- */
  --bg:        oklch(0.985 0.006 60);
  --bg-2:      oklch(0.965 0.009 55);
  --surface:   oklch(1 0 0);
  --ink:       oklch(0.24 0.02 45);
  --ink-soft:  oklch(0.46 0.02 45);
  --ink-faint: oklch(0.62 0.015 45);
  --line:      oklch(0.90 0.01 50);
  --line-soft: oklch(0.94 0.008 50);

  /* ---- Status ---- */
  --green:     oklch(0.62 0.15 150);
  --green-soft:oklch(0.95 0.05 150);
  --amber:     oklch(0.72 0.16 75);

  /* ---- Type ---- */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  /* ---- Shape & depth ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.02 45 / .06), 0 2px 8px oklch(0.4 0.02 45 / .05);
  --shadow-md: 0 8px 24px oklch(0.4 0.04 45 / .10), 0 2px 6px oklch(0.4 0.04 45 / .06);
  --shadow-lg: 0 24px 60px oklch(0.4 0.06 45 / .16), 0 8px 20px oklch(0.4 0.04 45 / .08);

  --maxw: 1200px;
  --gut: clamp(18px, 4vw, 40px);
  --header-h: 70px;
}

/* ---------------------------------------------------------- reset */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 16px); -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  font-size:clamp(15px,1.6vw,17px);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; border:0; background:none; color:inherit; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:700; line-height:1.08; letter-spacing:-0.02em; margin:0; color:var(--ink); text-wrap:balance; }
p{ margin:0; text-wrap:pretty; }
:focus-visible{ outline:3px solid var(--accent); outline-offset:2px; border-radius:6px; }

/* ---------------------------------------------------------- layout */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gut); }
.section{ padding-block:clamp(56px,8vw,104px); }
.section--tint{ background:var(--bg-2); }
.sec-head{ max-width:640px; margin-bottom:clamp(28px,4vw,48px); }
.sec-head.center{ margin-inline:auto; text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-display); font-weight:600; font-size:13px;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent);
  background:var(--accent-soft); padding:6px 14px; border-radius:999px;
  margin-bottom:16px;
}
.sec-head h2{ font-size:clamp(28px,4.4vw,46px); }
.sec-head p{ color:var(--ink-soft); font-size:clamp(16px,2vw,19px); margin-top:14px; }

/* ---------------------------------------------------------- buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--font-display); font-weight:600; font-size:16px;
  padding:14px 26px; border-radius:999px; min-height:48px;
  transition:transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; }
.btn--primary{ background:var(--accent); color:#fff; box-shadow:0 10px 24px var(--accent-glow); }
.btn--primary:hover{ background:var(--accent-hover); transform:translateY(-2px); box-shadow:0 16px 34px var(--accent-glow); }
.btn--ghost{ background:var(--surface); color:var(--ink); border:1.5px solid var(--line); box-shadow:var(--shadow-sm); }
.btn--ghost:hover{ border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }
.btn--dark{ background:var(--ink); color:#fff; }
.btn--dark:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn--block{ width:100%; }
.btn--sm{ padding:10px 18px; font-size:14px; min-height:42px; }

/* ---------------------------------------------------------- header */
.site-header{
  position:sticky; top:0; z-index:60;
  background:oklch(0.985 0.006 60 / .82);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled{ border-bottom-color:var(--line); box-shadow:var(--shadow-sm); }
.nav{ display:flex; align-items:center; gap:18px; height:var(--header-h); }
.brand{ display:inline-flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:21px; letter-spacing:-.02em; }
.brand .mark{
  width:34px; height:34px; border-radius:10px; display:grid; place-items:center;
  background:linear-gradient(135deg, var(--accent), var(--accent-2)); color:#fff;
  box-shadow:0 6px 16px var(--accent-glow); flex:none;
}
.brand .mark svg{ width:19px; height:19px; }
.brand b{ color:var(--accent); }
.nav-links{ display:flex; align-items:center; gap:4px; margin-left:14px; }
.nav-links a{
  font-weight:500; font-size:15px; color:var(--ink-soft);
  padding:9px 13px; border-radius:999px; transition:color .18s, background .18s;
}
.nav-links a:hover{ color:var(--ink); background:var(--bg-2); }
.nav-cta{ margin-left:auto; display:flex; align-items:center; gap:10px; }
.hamburger{ display:none; width:46px; height:46px; border-radius:12px; border:1.5px solid var(--line); background:var(--surface); place-items:center; }
.hamburger svg{ width:22px; height:22px; }

/* mobile nav drawer */
.mobile-nav{
  position:fixed; inset:0; z-index:70; display:none;
  background:oklch(0.24 0.02 45 / .45); backdrop-filter:blur(4px);
}
.mobile-nav.open{ display:block; }
.mobile-nav__panel{
  position:absolute; top:0; right:0; height:100%; width:min(82vw,340px);
  background:var(--surface); padding:22px; box-shadow:var(--shadow-lg);
  display:flex; flex-direction:column; gap:6px;
  transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open .mobile-nav__panel{ transform:translateX(0); }
.mobile-nav__panel a{ padding:14px 12px; border-radius:12px; font-family:var(--font-display); font-weight:600; font-size:18px; }
.mobile-nav__panel a:hover{ background:var(--bg-2); }
.mobile-nav__close{ align-self:flex-end; width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:var(--bg-2); margin-bottom:8px; }

/* ---------------------------------------------------------- hero */
.hero{ position:relative; overflow:hidden; padding-top:clamp(40px,6vw,70px); padding-bottom:clamp(56px,8vw,96px); }
.hero__bg{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.hero__bg .blob{ position:absolute; border-radius:50%; filter:blur(60px); opacity:.5; animation:drift 18s ease-in-out infinite; }
.hero__bg .b1{ width:46vw; height:46vw; top:-14vw; right:-8vw; background:radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity:.22; }
.hero__bg .b2{ width:38vw; height:38vw; bottom:-16vw; left:-10vw; background:radial-gradient(circle, var(--accent-2) 0%, transparent 70%); opacity:.20; animation-delay:-6s; }
.hero__grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(28px,5vw,64px); align-items:center; }
.hero__copy .pill{ margin-bottom:22px; }
.hero h1{ font-size:clamp(34px,6vw,62px); letter-spacing:-.03em; }
.hero h1 .grad{ background:linear-gradient(110deg, var(--accent), var(--accent-2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero__sub{ font-size:clamp(16px,2.1vw,20px); color:var(--ink-soft); margin-top:20px; max-width:33ch; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.hero__trust{ display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:30px; }
.hero__trust li{ display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:500; color:var(--ink-soft); }
.hero__trust svg{ width:17px; height:17px; color:var(--green); flex:none; }
.updated{ display:inline-flex; align-items:center; gap:8px; margin-top:24px; font-size:13.5px; color:var(--ink-faint); }
.updated .dot{ width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 0 0 var(--green); animation:pulse 2.2s infinite; }

/* floating coupon stack (hero visual) */
.hero__visual{ position:relative; perspective:1400px; min-height:340px; }
.float-card{
  position:absolute; width:min(78%,330px); background:var(--surface);
  border-radius:var(--r-lg); box-shadow:var(--shadow-lg); border:1px solid var(--line-soft);
  padding:22px; will-change:transform;
}
.float-card .tick-edge{ position:absolute; top:50%; width:18px; height:18px; border-radius:50%; background:var(--bg); transform:translateY(-50%); }
.float-card .tick-edge.l{ left:-9px; box-shadow:inset -1px 0 0 var(--line-soft); }
.float-card .tick-edge.r{ right:-9px; box-shadow:inset 1px 0 0 var(--line-soft); }
.fc-1{ top:6%; left:0; z-index:3; transform:rotate(-5deg); animation:floaty 7s ease-in-out infinite; }
.fc-2{ top:36%; right:0; z-index:2; transform:rotate(5deg); animation:floaty 8s ease-in-out infinite reverse; }
.fc-3{ bottom:2%; left:14%; z-index:1; transform:rotate(-2deg); opacity:.92; animation:floaty 9s ease-in-out infinite; }
.float-card .fc-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.float-card .fc-amt{ font-family:var(--font-display); font-weight:700; font-size:34px; color:var(--accent); line-height:1; }
.float-card .fc-amt small{ font-size:15px; color:var(--ink-soft); font-weight:600; }
.float-card .fc-cond{ font-size:13.5px; color:var(--ink-soft); }
.float-card .fc-code{
  margin-top:14px; display:flex; align-items:center; justify-content:space-between;
  border:1.5px dashed var(--line); border-radius:10px; padding:10px 14px;
  font-family:var(--font-display); font-weight:700; letter-spacing:.08em; color:var(--ink);
}
.badge-v{ display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:700; color:var(--green); background:var(--green-soft); padding:4px 9px; border-radius:999px; text-transform:uppercase; letter-spacing:.06em; }
.badge-v svg{ width:13px; height:13px; }

/* ---------------------------------------------------------- featured sale strip */
.featured-sale{ position:relative; overflow:hidden; border-radius:var(--r-xl); color:#fff;
  background:linear-gradient(120deg, oklch(0.42 0.16 28), oklch(0.55 0.19 35) 55%, oklch(0.66 0.17 55));
  box-shadow:var(--shadow-lg); padding:clamp(26px,4vw,46px); }
.featured-sale__inner{ position:relative; z-index:1; display:grid; grid-template-columns:1.4fr 1fr; gap:28px; align-items:center; }
.featured-sale .tag-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.featured-sale h3{ color:#fff; font-size:clamp(24px,3.6vw,38px); }
.featured-sale p{ color:oklch(1 0 0 / .9); margin-top:12px; max-width:46ch; }
.featured-sale .fs-cta{ margin-top:22px; display:flex; gap:12px; flex-wrap:wrap; }
.featured-sale .btn--primary{ background:#fff; color:var(--accent); box-shadow:0 12px 30px oklch(0 0 0 /.2); }
.featured-sale .btn--primary:hover{ background:#fff; color:var(--accent-hover); }
.featured-sale .btn--ghost{ background:transparent; color:#fff; border-color:oklch(1 0 0 /.5); }
.featured-sale .btn--ghost:hover{ background:oklch(1 0 0 /.12); color:#fff; border-color:#fff; }
.featured-sale .sparkle{ position:absolute; inset:0; background-image:radial-gradient(2px 2px at 20% 30%, oklch(1 0 0/.5), transparent), radial-gradient(2px 2px at 70% 60%, oklch(1 0 0/.4), transparent), radial-gradient(1.5px 1.5px at 45% 80%, oklch(1 0 0/.4), transparent); opacity:.7; }

/* countdown */
.countdown{ display:flex; gap:10px; }
.cd-unit{ background:oklch(1 0 0 / .14); border:1px solid oklch(1 0 0 / .22); border-radius:14px; padding:12px 6px; min-width:66px; text-align:center; }
.cd-unit b{ display:block; font-family:var(--font-display); font-weight:700; font-size:clamp(24px,3.4vw,34px); line-height:1; font-variant-numeric:tabular-nums; }
.cd-unit span{ font-size:11px; text-transform:uppercase; letter-spacing:.1em; opacity:.85; }
.countdown.compact .cd-unit{ background:var(--accent-soft); border-color:var(--line); color:var(--ink); padding:7px 4px; min-width:46px; }
.countdown.compact .cd-unit b{ font-size:19px; color:var(--accent); }
.countdown.compact .cd-unit span{ color:var(--ink-faint); }
.cd-done{ font-weight:600; }

/* ---------------------------------------------------------- coupon controls */
.coupon-tools{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; margin-bottom:24px; }
.search-box{ position:relative; flex:1 1 240px; max-width:340px; }
.search-box svg{ position:absolute; left:15px; top:50%; transform:translateY(-50%); width:18px; height:18px; color:var(--ink-faint); }
.search-box input{ width:100%; padding:13px 16px 13px 44px; border-radius:999px; border:1.5px solid var(--line); background:var(--surface); font:inherit; color:var(--ink); transition:border-color .2s, box-shadow .2s; }
.search-box input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-glow); }
.sort-wrap{ display:flex; align-items:center; gap:8px; font-size:14px; color:var(--ink-soft); }
.sort-wrap select{ padding:11px 36px 11px 14px; border-radius:12px; border:1.5px solid var(--line); background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; appearance:none; font:inherit; color:var(--ink); font-weight:500; }
.filter-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:26px; }
.filter-tabs button{
  font-family:var(--font-display); font-weight:600; font-size:14px;
  padding:9px 16px; border-radius:999px; border:1.5px solid var(--line);
  background:var(--surface); color:var(--ink-soft); transition:all .18s;
}
.filter-tabs button:hover{ border-color:var(--accent); color:var(--accent); }
.filter-tabs button[aria-pressed="true"]{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* ---------------------------------------------------------- coupon grid + cards */
.coupon-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(290px,1fr)); gap:22px; }
.coupon-card{
  position:relative; background:var(--surface); border:1px solid var(--line-soft);
  border-radius:var(--r-lg); padding:24px; box-shadow:var(--shadow-sm);
  transition:transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s;
  transform-style:preserve-3d; will-change:transform; overflow:hidden;
}
.coupon-card::before{ content:""; position:absolute; inset:0; border-radius:inherit; opacity:0; transition:opacity .25s; box-shadow:0 0 0 1px var(--accent), 0 24px 50px var(--accent-glow); pointer-events:none; }
.coupon-card.tilt:hover{ box-shadow:var(--shadow-lg); border-color:transparent; }
.coupon-card.tilt:hover::before{ opacity:.55; }
.coupon-card .notch{ position:absolute; left:0; right:0; top:50%; display:flex; justify-content:space-between; transform:translateY(-50%); pointer-events:none; }
.coupon-card .notch i{ width:22px; height:22px; border-radius:50%; background:var(--bg); }
.coupon-card .notch i:first-child{ margin-left:-11px; box-shadow:inset -1px 0 0 var(--line-soft); }
.coupon-card .notch i:last-child{ margin-right:-11px; box-shadow:inset 1px 0 0 var(--line-soft); }
.cc-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:14px; }
.cc-type{ font-family:var(--font-display); font-weight:600; font-size:12px; letter-spacing:.05em; text-transform:uppercase; padding:5px 11px; border-radius:999px; }
.t-global{ background:oklch(0.95 0.04 250); color:oklch(0.45 0.13 255); }
.t-usa{ background:oklch(0.95 0.04 25); color:oklch(0.5 0.16 25); }
.t-sale{ background:oklch(0.95 0.05 70); color:oklch(0.5 0.13 65); }
.t-new{ background:var(--green-soft); color:oklch(0.42 0.13 150); }
.cc-amt{ font-family:var(--font-display); font-weight:700; font-size:clamp(30px,4vw,40px); color:var(--ink); line-height:1; letter-spacing:-.02em; }
.cc-amt .off{ font-size:.5em; color:var(--accent); margin-left:4px; }
.cc-title{ font-weight:600; font-size:15px; color:var(--ink); margin-top:10px; }
.cc-cond{ font-size:14px; color:var(--ink-soft); margin-top:4px; }
.cc-meta{ display:flex; flex-wrap:wrap; gap:8px 14px; margin-top:14px; font-size:13px; color:var(--ink-faint); }
.cc-meta span{ display:inline-flex; align-items:center; gap:5px; }
.cc-meta svg{ width:14px; height:14px; }
.cc-meta .save{ color:var(--accent); font-weight:600; }
.cc-divider{ border:0; border-top:1.5px dashed var(--line); margin:18px 0; }
.cc-usage{ display:flex; align-items:center; gap:7px; font-size:12.5px; color:var(--ink-faint); margin-bottom:14px; }
.cc-usage .av{ display:flex; }
.cc-usage .av i{ width:18px; height:18px; border-radius:50%; border:2px solid var(--surface); margin-left:-6px; background:linear-gradient(135deg,var(--accent),var(--accent-2)); }
.cc-usage .av i:first-child{ margin-left:0; }
/* reveal mechanism */
.cc-reveal{ position:relative; }
.code-hidden{
  width:100%; display:flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-display); font-weight:700; font-size:16px; letter-spacing:.04em;
  border:2px solid var(--accent); color:#fff; background:var(--accent);
  border-radius:12px; padding:14px; min-height:52px; box-shadow:0 8px 20px var(--accent-glow);
  transition:transform .15s, background .2s;
}
.code-hidden:hover{ background:var(--accent-hover); transform:translateY(-1px); }
.code-hidden .arrow{ transition:transform .2s; }
.code-hidden:hover .arrow{ transform:translateX(3px); }
.code-shown{ display:none; animation:revealIn .45s cubic-bezier(.2,.8,.2,1); }
.coupon-card.revealed .code-hidden{ display:none; }
.coupon-card.revealed .code-shown{ display:block; }
.code-pill{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  border:2px dashed var(--accent); border-radius:12px; padding:10px 10px 10px 16px; background:var(--accent-soft);
}
.code-pill .code{ font-family:var(--font-display); font-weight:700; font-size:18px; letter-spacing:.08em; color:var(--accent); user-select:all; }
.copy-btn{ display:inline-flex; align-items:center; gap:7px; font-family:var(--font-display); font-weight:600; font-size:14px; background:var(--accent); color:#fff; padding:9px 14px; border-radius:9px; transition:background .2s, transform .15s; }
.copy-btn:hover{ background:var(--accent-hover); transform:translateY(-1px); }
.copy-btn.copied{ background:var(--green); }
.copy-btn svg{ width:15px; height:15px; }
.copy-msg{ display:flex; align-items:center; gap:7px; font-size:13px; color:var(--green); font-weight:600; margin-top:10px; }
.copy-msg svg{ width:15px; height:15px; }
.copy-msg.pulse{ animation:pulseText .5s ease; }

/* ---------------------------------------------------------- sales cards */
.sales-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:22px; }
.sale-card{ background:var(--surface); border:1px solid var(--line-soft); border-radius:var(--r-lg); padding:24px; box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s; display:flex; flex-direction:column; }
.sale-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.sale-card .tag-row{ display:flex; gap:7px; flex-wrap:wrap; margin-bottom:14px; }
.tag{ font-family:var(--font-display); font-weight:600; font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; padding:5px 11px; border-radius:999px; }
.tag--hot{ background:var(--accent-soft); color:var(--accent); }
.tag--best{ background:oklch(0.95 0.05 70); color:oklch(0.5 0.13 65); }
.tag--global{ background:oklch(0.95 0.04 250); color:oklch(0.45 0.13 255); }
.tag--usa{ background:oklch(0.95 0.04 25); color:oklch(0.5 0.16 25); }
.tag--new{ background:var(--green-soft); color:oklch(0.42 0.13 150); }
.tag--trend{ background:oklch(0.95 0.05 320); color:oklch(0.5 0.14 325); }
.sale-card h3{ font-size:21px; }
.sale-card .dates{ font-size:13.5px; color:var(--ink-faint); margin-top:6px; display:inline-flex; align-items:center; gap:6px; }
.sale-card .dates svg{ width:15px; height:15px; }
.sale-card p{ font-size:14.5px; color:var(--ink-soft); margin-top:12px; }
.sale-card .disc{ font-family:var(--font-display); font-weight:700; font-size:18px; color:var(--accent); margin-top:14px; }
.sale-card .cd-wrap{ margin-top:16px; }
.sale-card .btn{ margin-top:auto; }
.sale-card .sale-foot{ margin-top:18px; }

/* ---------------------------------------------------------- deals */
.deals-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:22px; }
.deal-card{ background:var(--surface); border:1px solid var(--line-soft); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s; display:flex; flex-direction:column; }
.deal-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.deal-media{ position:relative; aspect-ratio:4/3; background:var(--bg-2); }
.ph{ width:100%; height:100%; display:grid; place-items:center; background-image:repeating-linear-gradient(45deg, var(--line-soft) 0 12px, transparent 12px 24px); }
.ph span{ font-family:ui-monospace, "SFMono-Regular", Menlo, monospace; font-size:11px; color:var(--ink-faint); background:var(--surface); padding:4px 10px; border-radius:6px; box-shadow:var(--shadow-sm); }
.deal-media .disc-badge{ position:absolute; top:12px; left:12px; background:var(--accent); color:#fff; font-family:var(--font-display); font-weight:700; font-size:14px; padding:6px 12px; border-radius:999px; box-shadow:0 6px 16px var(--accent-glow); }
.deal-media .deal-tag{ position:absolute; top:12px; right:12px; }
.deal-body{ padding:18px; display:flex; flex-direction:column; flex:1; }
.deal-body h3{ font-size:16.5px; line-height:1.25; }
.deal-body .deal-desc{ font-size:13.5px; color:var(--ink-soft); margin-top:8px; }
.deal-price{ display:flex; align-items:baseline; gap:10px; margin-top:14px; }
.deal-price .now{ font-family:var(--font-display); font-weight:700; font-size:24px; color:var(--ink); }
.deal-price .was{ font-size:15px; color:var(--ink-faint); text-decoration:line-through; }
.deal-body .btn{ margin-top:16px; }

/* ---------------------------------------------------------- how it works */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; counter-reset:step; }
.step{ position:relative; background:var(--surface); border:1px solid var(--line-soft); border-radius:var(--r-lg); padding:30px 26px; box-shadow:var(--shadow-sm); }
.step .ico{ width:58px; height:58px; border-radius:16px; display:grid; place-items:center; background:var(--accent-soft); color:var(--accent); margin-bottom:18px; }
.step .ico svg{ width:28px; height:28px; }
.step .num{ position:absolute; top:22px; right:24px; font-family:var(--font-display); font-weight:700; font-size:42px; color:var(--line); line-height:1; }
.step h3{ font-size:19px; }
.step p{ font-size:14.5px; color:var(--ink-soft); margin-top:10px; }
.steps-arrow{ display:none; }

/* ---------------------------------------------------------- blog */
.blog-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:22px; }
.post-card{ background:var(--surface); border:1px solid var(--line-soft); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s; display:flex; flex-direction:column; }
.post-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.post-media{ aspect-ratio:16/9; }
.post-body{ padding:22px; display:flex; flex-direction:column; flex:1; }
.post-meta{ display:flex; align-items:center; gap:10px; font-size:12.5px; color:var(--ink-faint); margin-bottom:12px; }
.post-cat{ font-family:var(--font-display); font-weight:600; font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--accent); background:var(--accent-soft); padding:4px 10px; border-radius:999px; }
.post-card h3{ font-size:18.5px; line-height:1.25; }
.post-card .excerpt{ font-size:14px; color:var(--ink-soft); margin-top:10px; }
.read-more{ display:inline-flex; align-items:center; gap:6px; font-family:var(--font-display); font-weight:600; font-size:14px; color:var(--accent); margin-top:16px; }
.read-more svg{ width:15px; height:15px; transition:transform .2s; }
.post-card:hover .read-more svg{ transform:translateX(4px); }

/* ---------------------------------------------------------- faq */
.faq-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px 28px; align-items:start; }
.faq-item{ background:var(--surface); border:1px solid var(--line-soft); border-radius:var(--r-md); overflow:hidden; }
.faq-q{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:18px 20px; text-align:left; font-family:var(--font-display); font-weight:600; font-size:16px; }
.faq-q .pm{ width:26px; height:26px; flex:none; border-radius:50%; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; transition:transform .3s; }
.faq-q .pm svg{ width:16px; height:16px; }
.faq-item[open] .faq-q .pm, .faq-item.open .faq-q .pm{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a .inner{ padding:0 20px 20px; font-size:14.5px; color:var(--ink-soft); }
.faq-item.open .faq-a{ max-height:340px; }

/* ---------------------------------------------------------- newsletter / telegram */
.cta-band{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.cta-box{ border-radius:var(--r-xl); padding:clamp(26px,4vw,40px); box-shadow:var(--shadow-md); }
.cta-box h3{ font-size:clamp(22px,3vw,28px); }
.cta-box p{ margin-top:10px; font-size:15px; }
.cta-news{ background:var(--surface); border:1px solid var(--line-soft); }
.cta-news p{ color:var(--ink-soft); }
.news-form{ display:flex; gap:10px; margin-top:20px; flex-wrap:wrap; }
.news-form input{ flex:1 1 200px; padding:14px 18px; border-radius:999px; border:1.5px solid var(--line); font:inherit; background:var(--bg); }
.news-form input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-glow); }
.cta-news .ok{ margin-top:12px; font-size:13.5px; color:var(--green); font-weight:600; display:none; }
.cta-news.sent .ok{ display:block; }
.cta-tg{ color:#fff; background:linear-gradient(135deg, oklch(0.55 0.13 250), oklch(0.62 0.12 235)); position:relative; overflow:hidden; }
.cta-tg h3{ color:#fff; }
.cta-tg p{ color:oklch(1 0 0 /.9); }
.cta-tg .btn{ background:#fff; color:oklch(0.45 0.13 245); margin-top:20px; }
.cta-tg .btn:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.cta-tg .tg-ico{ width:54px; height:54px; border-radius:16px; background:oklch(1 0 0 /.18); display:grid; place-items:center; margin-bottom:18px; }
.cta-tg .tg-ico svg{ width:28px; height:28px; }

/* ---------------------------------------------------------- about + disclosure */
.about{ display:grid; grid-template-columns:1.3fr 1fr; gap:32px; align-items:center; }
.about p{ color:var(--ink-soft); margin-top:14px; }
.disclosure{ display:flex; gap:14px; align-items:flex-start; background:var(--accent-soft); border:1px solid oklch(0.85 0.06 40); border-radius:var(--r-md); padding:18px 20px; font-size:14px; color:oklch(0.42 0.08 40); }
.disclosure svg{ width:22px; height:22px; flex:none; color:var(--accent); margin-top:1px; }
.defs{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.def{ background:var(--surface); border:1px solid var(--line-soft); border-radius:var(--r-md); padding:18px; }
.def b{ font-family:var(--font-display); display:block; margin-bottom:6px; color:var(--ink); }
.def span{ font-size:13.5px; color:var(--ink-soft); }

/* ---------------------------------------------------------- footer */
.site-footer{ background:var(--ink); color:oklch(0.82 0.01 60); padding-block:clamp(44px,6vw,72px) 28px; }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px; }
.site-footer .brand{ color:#fff; }
.site-footer .brand b{ color:var(--accent-2); }
.foot-about{ font-size:14px; margin-top:14px; max-width:34ch; color:oklch(0.72 0.01 60); }
.foot-col h4{ color:#fff; font-size:14px; letter-spacing:.04em; text-transform:uppercase; margin-bottom:14px; }
.foot-col a{ display:block; padding:5px 0; font-size:14.5px; color:oklch(0.78 0.01 60); transition:color .15s; }
.foot-col a:hover{ color:#fff; }
.foot-disc{ border-top:1px solid oklch(0.34 0.02 50); margin-top:36px; padding-top:24px; font-size:13px; color:oklch(0.66 0.01 60); display:flex; flex-direction:column; gap:14px; }
.foot-legal{ display:flex; flex-wrap:wrap; gap:8px 22px; align-items:center; justify-content:space-between; }
.foot-legal nav{ display:flex; gap:8px 18px; flex-wrap:wrap; }

/* ---------------------------------------------------------- sticky mobile CTA */
.sticky-cta{ position:fixed; left:0; right:0; bottom:0; z-index:55; display:none; padding:10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background:oklch(1 0 0 /.9); backdrop-filter:blur(12px); border-top:1px solid var(--line); box-shadow:0 -6px 20px oklch(0.4 0.04 45 /.08); }
.sticky-cta .btn{ width:100%; }

/* ---------------------------------------------------------- toast */
.toast{ position:fixed; left:50%; bottom:24px; transform:translate(-50%, 120%); z-index:90; background:var(--ink); color:#fff; padding:13px 20px; border-radius:999px; font-weight:600; font-size:14.5px; box-shadow:var(--shadow-lg); display:flex; align-items:center; gap:9px; transition:transform .35s cubic-bezier(.2,.8,.2,1); max-width:90vw; }
.toast svg{ width:18px; height:18px; color:var(--accent-2); flex:none; }
.toast.show{ transform:translate(-50%,0); }

/* ---------------------------------------------------------- scroll reveal */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:none; }

/* confetti canvas */
#confetti{ position:fixed; inset:0; pointer-events:none; z-index:80; }

/* ---------------------------------------------------------- animations */
@keyframes floaty{ 0%,100%{ transform:translateY(0) rotate(var(--rot,0)); } 50%{ transform:translateY(-14px) rotate(var(--rot,0)); } }
.fc-1{ --rot:-5deg; } .fc-2{ --rot:5deg; } .fc-3{ --rot:-2deg; }
@keyframes drift{ 0%,100%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(2vw,3vw) scale(1.08); } }
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 var(--green); } 70%{ box-shadow:0 0 0 7px transparent; } 100%{ box-shadow:0 0 0 0 transparent; } }
@keyframes pulseText{ 0%{ transform:scale(1); } 40%{ transform:scale(1.06); } 100%{ transform:scale(1); } }
@keyframes revealIn{ 0%{ opacity:0; transform:translateY(8px) scale(.97); } 100%{ opacity:1; transform:none; } }

/* ---------------------------------------------------------- responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns:1fr; }
  .hero__visual{ min-height:300px; order:-1; }
  .featured-sale__inner{ grid-template-columns:1fr; }
  .about{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr 1fr; gap:28px; }
}
@media (max-width: 860px){
  .nav-links{ display:none; }
  .hamburger{ display:grid; }
  .nav-cta .btn--header{ display:none; }
  .steps{ grid-template-columns:1fr; }
  .faq-grid{ grid-template-columns:1fr; }
  .cta-band{ grid-template-columns:1fr; }
  .defs{ grid-template-columns:1fr; }
  .sticky-cta{ display:block; }
  body{ padding-bottom:72px; }
}
@media (max-width: 560px){
  .foot-grid{ grid-template-columns:1fr; }
  .coupon-tools{ flex-direction:column; align-items:stretch; }
  .search-box{ max-width:none; }
  .hero__visual{ min-height:340px; }
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
}
