:root {
  --primary: #1078D8;
  --primary-dark: #0B5FA8;
  --primary-tint: #E8F2FC;
  --accent: #F86808;
  --accent-tint: #FEEBDC;
  --text: #0F2438;
  --muted: #5B7083;
  --muted-light: #91A2B1;
  --background: #F6F9FC;
  --surface: #FFFFFF;
  --border: #E1E9F0;
  --success: #16A34A;
  --success-tint: #E9F9EF;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Inter', Georgia, serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15,36,56,0.06), 0 1px 1px rgba(15,36,56,0.04);
  --shadow-md: 0 8px 24px rgba(15,36,56,0.08);
  --shadow-lg: 0 24px 64px rgba(15,36,56,0.16);

  --container-w: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.icon { flex-shrink: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100%; left: var(--space-4);
  background: var(--text); color: #fff; padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm); z-index: 1000; transition: top 0.15s ease;
}
.skip-link:focus { top: var(--space-4); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section { padding: var(--space-8) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.section-sub { color: var(--muted); font-size: 1rem; margin-top: var(--space-2); }
.section-head.center .section-sub { margin-top: var(--space-3); max-width: 44ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(16,120,216,0.28);
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(248,104,8,0.3);
}
.btn-accent:hover { filter: brightness(1.05); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--primary);
  padding: 10px 4px;
}
.link-arrow:hover { color: var(--primary-dark); }
.link-arrow .icon { transition: transform 0.15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  color: var(--text);
  transition: background 0.15s ease;
}
.icon-btn:hover { background: var(--background); }

.chip-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s ease;
}
.chip-link:hover { text-decoration-color: var(--primary); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  height: 64px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: var(--space-6);
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding: var(--space-2) 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.15s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.hamburger { display: none; }

.mobile-nav-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 420px);
  height: 100vh;
  background: var(--surface);
  z-index: 400;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.mobile-nav-panel.is-open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding-top: var(--space-4);
  padding-bottom: var(--space-6);
}
.mobile-nav-links a {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-display);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,36,56,0.4);
  z-index: 390;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-nav-backdrop.is-open { opacity: 1; }

.hero {
  padding: var(--space-9) 0 var(--space-8);
  background:
    radial-gradient(600px 300px at 85% -10%, var(--primary-tint) 0%, transparent 70%),
    var(--background);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-8);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  color: var(--text);
  margin-bottom: var(--space-5);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: var(--space-6);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
  flex-wrap: wrap;
}

.hero-search-wrap { position: relative; max-width: 560px; }

.hero-search-form {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-5);
  box-shadow: var(--shadow-md);
  color: var(--muted-light);
}
.hero-search-form input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--text);
}
.hero-search-form .btn { flex-shrink: 0; }

.hero-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
  z-index: 20;
}
.suggestions-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  margin-bottom: var(--space-3);
}
.suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.suggestion-pill {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--background);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.suggestion-pill:hover { border-color: var(--primary); color: var(--primary); }

.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-frame {
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  overflow: hidden;
}
.app-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.app-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.app-frame-url {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--muted-light);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
}
.app-frame-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.app-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 10px 10px 16px;
  color: var(--muted-light);
}
.app-search-row span:first-of-type {
  flex: 1;
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
}
.app-search-btn {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.app-coupon-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.app-row-text { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 1px; }
.app-row-text strong { font-size: 0.85rem; font-weight: 600; }
.app-row-text small { font-size: 0.72rem; color: var(--muted); }
.app-row-badge {
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.floating-percent {
  position: absolute;
  top: -4%;
  right: -2%;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), #C24E00);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.1;
  box-shadow: 0 16px 36px rgba(248,104,8,0.35);
  animation: floatY 5s ease-in-out infinite;
}
.floating-percent small {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  opacity: 0.9;
}

.floating-badge {
  position: absolute;
  bottom: 8%;
  left: -6%;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-md);
  animation: floatY 5s ease-in-out infinite 1.4s;
}
.floating-badge .icon { color: var(--success); }

.hv-dot { position: absolute; border-radius: 50%; background: var(--accent); }
.hv-dot-1 { width: 14px; height: 14px; top: 6%; left: 6%; }
.hv-dot-2 { width: 9px; height: 9px; bottom: 10%; right: 10%; background: var(--primary); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.store-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  flex-shrink: 0;
}
.store-mark-sm { width: 28px; height: 28px; }
.store-mark-lg { width: 52px; height: 52px; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); color: #fff; }

.trending-row {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scrollbar-width: thin;
}
.trending-row::-webkit-scrollbar { height: 6px; }
.trending-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-pill); }

.trend-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-5) var(--space-2) var(--space-2);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.trend-pill:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.trend-pill-text { display: flex; flex-direction: column; }
.trend-pill-name { font-weight: 600; font-size: 0.9rem; }
.trend-pill-count { font-size: 0.75rem; color: var(--muted); }

.spotlight-slider {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.spotlight-track {
  display: flex;
  transition: transform 0.45s ease;
}

.spotlight-slide {
  flex: 0 0 100%;
  min-width: 0;
  background: linear-gradient(120deg, #0A2038 0%, #123B66 55%, var(--primary) 100%);
  color: #fff;
  padding: var(--space-7);
  display: grid;
  grid-template-columns: 1.4fr auto 1fr;
  align-items: center;
  gap: var(--space-7);
  position: relative;
}
.spotlight-slide::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  right: -80px; top: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 70%);
  border-radius: 50%;
}

.spot-info { position: relative; z-index: 1; }
.spot-store-row { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.spot-store {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.spot-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  max-width: 22ch;
}
.spot-desc {
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-5);
  max-width: 40ch;
}
.spot-code-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.spot-code {
  border: 1.5px dashed rgba(255,255,255,0.45);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}
.spot-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.spot-divider {
  width: 1px;
  align-self: stretch;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.4) 0 8px, transparent 8px 16px);
}

.spot-discount {
  position: relative;
  z-index: 1;
  text-align: center;
}
.spot-discount-value {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  display: block;
}
.spot-discount-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: var(--space-2);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.15s ease;
}
.slider-arrow:hover { background: rgba(255,255,255,0.28); }
.slider-prev { left: var(--space-4); }
.slider-next { right: var(--space-4); }

.slider-dots {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.4);
  transition: all 0.2s ease;
}
.slider-dot.is-active { background: var(--accent); width: 22px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--space-3);
}

.category-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.category-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
}
.category-tile:hover .category-icon-wrap { background: var(--accent); color: #fff; }
.category-name { font-weight: 600; font-size: 0.9rem; font-family: var(--font-display); }

.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.filter-chip {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  transition: all 0.15s ease;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--muted);
  position: relative;
  flex-shrink: 0;
}
.sort-control select {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 9px 34px 9px 16px;
  font-weight: 600;
  color: var(--text);
}
.sort-control .icon { position: absolute; right: 12px; pointer-events: none; color: var(--muted); }

.deals-meta {
  font-size: 0.875rem;
  color: var(--muted-light);
  margin-bottom: var(--space-5);
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.deal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.deal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.deal-card-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.deal-card-head .store-mark { width: 38px; height: 38px; }
.deal-store-name { font-weight: 600; font-size: 0.95rem; }
.deal-type-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.deal-type-badge.is-coupon { background: var(--primary-tint); color: var(--primary-dark); }
.deal-type-badge.is-deal { background: var(--success-tint); color: var(--success); }

.deal-discount {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  align-self: flex-start;
}

.deal-title { font-size: 1.05rem; font-weight: 600; font-family: var(--font-display); }
.deal-desc { color: var(--muted); font-size: 0.9rem; flex: 1; }

.deal-updated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted-light);
}

.deal-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.copy-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1.5px dashed var(--primary);
  color: var(--primary-dark);
  background: var(--primary-tint);
}
.copy-btn:hover { background: var(--primary); color: #fff; border-style: solid; }
.copy-btn.is-copied { background: var(--success); border-color: var(--success); color: #fff; border-style: solid; }

.empty-state {
  text-align: center;
  padding: var(--space-8) 0;
}
.empty-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: var(--space-2); }
.empty-sub { color: var(--muted); }

.stats-band {
  background: var(--text);
  color: #fff;
  padding: var(--space-7) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.14);
  padding-left: var(--space-5);
}
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  color: var(--accent);
}
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  background: var(--background);
  padding-right: var(--space-4);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--space-4);
}
.step h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.step p { color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: left;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-tint);
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.feature-card p { color: var(--muted); font-size: 0.9rem; }

.newsletter-panel {
  background: linear-gradient(120deg, #0E1E30 0%, #163654 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.newsletter-copy h2 { font-size: 1.9rem; margin-bottom: var(--space-3); max-width: 18ch; }
.newsletter-copy p { color: rgba(255,255,255,0.68); max-width: 40ch; }

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  flex-shrink: 0;
}
.newsletter-input-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-5);
  color: rgba(255,255,255,0.6);
  min-width: 280px;
}
.newsletter-input-wrap input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  padding: 12px 0;
  color: #fff;
  font-size: 0.95rem;
}
.newsletter-input-wrap input::placeholder { color: rgba(255,255,255,0.45); }

.newsletter-success {
  margin-top: var(--space-4);
  font-weight: 600;
  color: var(--accent);
}

.faq-container { max-width: 800px; }

.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item h3 { font-family: var(--font-body); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  text-align: left;
  font-weight: 600;
  font-size: 1.02rem;
}
.accordion-icon { transition: transform 0.2s ease; color: var(--muted); flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); color: var(--primary); }
.accordion-panel {
  padding-bottom: var(--space-5);
  color: var(--muted);
  max-width: 68ch;
}
.accordion-panel a { color: var(--primary); font-weight: 600; }

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-minimal {
  padding: var(--space-6) var(--space-5);
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 500;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast .icon { color: var(--success); }

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 300;
  padding: 6px var(--space-2) calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(15,36,56,0.06);
}
.mb-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.mb-item.is-active { color: var(--primary); }

@media (max-width: 1024px) {
  .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight-slide { grid-template-columns: 1fr; text-align: left; padding: var(--space-6); }
  .spot-divider { display: none; }
  .spot-discount { text-align: left; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; min-height: 320px; margin-bottom: var(--space-4); }
}

@media (max-width: 767px) {
  :root { --space-8: 48px; --space-9: 56px; }
  .container { padding: 0 16px; }

  .main-nav { display: none; }
  .hamburger { display: inline-flex; }
  .brand-logo { height: 28px; }

  .hero { padding: var(--space-6) 0 var(--space-7); }
  .hero-copy h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { gap: var(--space-3); margin-bottom: var(--space-5); }
  .hero-visual { min-height: 260px; transform: scale(0.85); }

  .section { padding: var(--space-6) 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: var(--space-2); }

  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .deal-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }

  .spotlight-slide { padding: var(--space-5); gap: var(--space-5); }
  .spot-title { font-size: 1.5rem; }
  .slider-arrow { width: 36px; height: 36px; }
  .slider-prev { left: var(--space-2); }
  .slider-next { right: var(--space-2); }

  .steps { grid-template-columns: 1fr; gap: var(--space-5); }
  .steps::before { display: none; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .stat-item:nth-child(3) { border-left: 0; padding-left: 0; }

  .newsletter-panel { padding: var(--space-6); flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-input-wrap { min-width: 0; width: 100%; }
  .newsletter-form .btn { width: 100%; }

  .mobile-bottom-bar { display: flex; }
  body { padding-bottom: 76px; }

  .toast { bottom: 88px; }
}
