/* ============================================
   DEAL.FO — Design System
   "Commerce Intelligence, Beautifully Simple"
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,700;0,9..144,900;1,9..144,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* --- Design Tokens --- */
:root {
  /* Colors — Light Mode */
  --bg-primary: #FAFAF7;
  --bg-secondary: #F2F1EC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FEFEFE;
  --bg-nav: rgba(250, 250, 247, 0.92);
  --bg-footer: #0A1628;
  --bg-hero: linear-gradient(135deg, #0A1628 0%, #152238 50%, #1A2F4A 100%);
  --bg-ad: #F7F6F1;
  --bg-badge: #FF6B4A;
  --bg-badge-weekly: #F5A623;
  --bg-badge-lowest: #22C55E;
  --bg-code: #F4F3EE;
  --bg-input: #FFFFFF;

  --text-primary: #1A2332;
  --text-secondary: #4A5568;
  --text-muted: #8896A6;
  --text-inverse: #FAFAF7;
  --text-accent: #FF6B4A;
  --text-link: #3B6BDB;
  --text-price: #FF6B4A;
  --text-price-original: #8896A6;
  --text-success: #16A34A;

  --border-light: #E8E6E1;
  --border-medium: #D4D1CA;
  --border-card: #EBE9E4;
  --border-ad: #D4D1CA;
  --border-focus: #3B6BDB;

  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.06);
  --shadow-lg: 0 8px 30px rgba(10, 22, 40, 0.08);
  --shadow-card: 0 2px 8px rgba(10, 22, 40, 0.04);
  --shadow-card-hover: 0 8px 25px rgba(10, 22, 40, 0.1);

  --accent-coral: #FF6B4A;
  --accent-coral-hover: #E8593A;
  --accent-amber: #F5A623;
  --accent-green: #22C55E;
  --accent-navy: #0A1628;
  --accent-blue: #3B6BDB;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;

  --leading-tight: 1.15;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.06em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --nav-height: 72px;
  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-base: 1;
  --z-card: 10;
  --z-nav: 100;
  --z-modal: 1000;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --bg-primary: #0D1117;
  --bg-secondary: #161B22;
  --bg-card: #1C2128;
  --bg-card-hover: #21262D;
  --bg-nav: rgba(13, 17, 23, 0.92);
  --bg-footer: #010409;
  --bg-hero: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #1C2128 100%);
  --bg-ad: #161B22;
  --bg-code: #1C2128;
  --bg-input: #1C2128;

  --text-primary: #E6EDF3;
  --text-secondary: #A8B8C8;
  --text-muted: #6B7D8E;
  --text-inverse: #0D1117;
  --text-link: #6BA3F7;

  --border-light: #21262D;
  --border-medium: #30363D;
  --border-card: #21262D;
  --border-ad: #30363D;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* ============================================
   BASE STYLES
   ============================================ */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

h1 { font-size: var(--text-4xl); font-weight: 700; }
h2 { font-size: var(--text-3xl); font-weight: 700; }
h3 { font-size: var(--text-2xl); font-weight: 500; }
h4 { font-size: var(--text-xl); font-weight: 500; }

p { margin-bottom: var(--space-4); color: var(--text-secondary); }
strong { font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow { max-width: var(--max-width-narrow); }
.container--wide { max-width: var(--max-width-wide); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: var(--z-nav);
  transition: box-shadow var(--transition-base);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}

.nav__logo-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent-coral);
  border-radius: var(--border-radius-full);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.nav__theme-toggle:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Mobile Nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  padding: var(--space-8) var(--space-6);
  z-index: var(--z-nav);
}

.nav__mobile.open { display: flex; flex-direction: column; gap: var(--space-4); }

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--text-primary);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: var(--bg-hero);
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 107, 74, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 107, 219, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 107, 74, 0.12);
  border: 1px solid rgba(255, 107, 74, 0.25);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-coral);
  margin-bottom: var(--space-6);
  letter-spacing: var(--tracking-wide);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-coral);
  border-radius: var(--border-radius-full);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  font-size: var(--text-5xl);
  font-weight: 900;
  color: var(--text-inverse);
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}

.hero__title em {
  font-style: italic;
  color: var(--accent-coral);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(250, 250, 247, 0.65);
  margin-bottom: var(--space-10);
  line-height: var(--leading-relaxed);
}

.hero__deal {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  text-align: left;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.hero__deal:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
}

.hero__deal-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--accent-coral);
  margin-bottom: var(--space-3);
}

.hero__deal-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: var(--space-2);
}

.hero__deal-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.hero__deal-price {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent-coral);
}

.hero__deal-original {
  font-size: var(--text-base);
  color: rgba(250, 250, 247, 0.4);
  text-decoration: line-through;
}

.hero__deal-discount {
  background: var(--accent-coral);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius-full);
}

.hero__deal-summary {
  font-size: var(--text-sm);
  color: rgba(250, 250, 247, 0.55);
  margin-bottom: var(--space-4);
}

.hero__deal-actions {
  display: flex;
  gap: var(--space-3);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
}

.btn--primary {
  background: var(--accent-coral);
  color: white;
}
.btn--primary:hover {
  background: var(--accent-coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 107, 74, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.btn--outline:hover {
  background: var(--bg-secondary);
  border-color: var(--text-primary);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
}
.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section {
  padding: var(--space-16) 0;
}

.section--alt {
  background: var(--bg-secondary);
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.section__title {
  font-size: var(--text-2xl);
  font-weight: 700;
}

.section__title-accent {
  color: var(--accent-coral);
}

.section__subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

.section__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-coral);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-fast);
}
.section__link:hover { gap: var(--space-2); }

/* ============================================
   DEAL CARDS
   ============================================ */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .deals-grid { grid-template-columns: 1fr; }
}

.deal-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-coral);
}

.deal-card__image-wrap {
  position: relative;
  width: 100%;
  padding-top: 56%;
  background: var(--bg-secondary);
  overflow: hidden;
}

/* Icon placeholder when no product image */
.deal-card__badges-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.deal-card__image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.deal-card:hover .deal-card__image {
  transform: translate(-50%, -50%) scale(1.05);
}

.deal-card__badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.deal-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
}

.deal-badge--discount {
  background: var(--bg-badge);
  color: white;
}

.deal-badge--weekly {
  background: var(--bg-badge-weekly);
  color: white;
}

.deal-badge--lowest {
  background: var(--bg-badge-lowest);
  color: white;
}

.deal-badge--verified {
  background: rgba(34, 197, 94, 0.1);
  color: var(--text-success);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.deal-card__body {
  padding: var(--space-5);
}

.deal-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.deal-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deal-card__summary {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-normal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deal-card__pricing {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.deal-card__price {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-price);
}

.deal-card__original-price {
  font-size: var(--text-sm);
  color: var(--text-price-original);
  text-decoration: line-through;
}

.deal-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.deal-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.deal-card__stars {
  color: var(--accent-amber);
}

.deal-card__actions {
  display: flex;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.deal-card__actions .btn { flex: 1; }

.deal-card__actions .btn--newtab {
  flex: 0 0 auto;
  padding: var(--space-3);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
}

.deal-card__actions .btn--newtab:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

/* ============================================
   CATEGORY PILLS / NAV
   ============================================ */
.category-nav {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding: var(--space-2) 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }

.category-pill {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.category-pill:hover,
.category-pill--active {
  background: var(--accent-navy);
  color: var(--text-inverse);
  border-color: var(--accent-navy);
}

[data-theme="dark"] .category-pill--active {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
}

.category-pill__icon {
  font-size: var(--text-base);
}

/* ============================================
   CATEGORY PAGE HEADER
   ============================================ */
.category-header {
  padding: calc(var(--nav-height) + var(--space-12)) 0 var(--space-8);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.category-header__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.category-header__desc {
  color: var(--text-secondary);
  max-width: 600px;
}

.category-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.category-header__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Weekly Best Pin */
.weekly-best {
  background: var(--bg-card);
  border: 2px solid var(--accent-amber);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
}

.weekly-best::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-coral));
}

.weekly-best__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--accent-amber);
  margin-bottom: var(--space-4);
}

.weekly-best__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (max-width: 640px) {
  .weekly-best__inner { grid-template-columns: 1fr; }
}

/* ============================================
   AD ZONES
   ============================================ */
.ad-zone {
  background: var(--bg-ad);
  border: 1px dashed var(--border-ad);
  border-radius: var(--border-radius-md);
  padding: var(--space-6);
  margin: var(--space-8) 0;
  text-align: center;
  position: relative;
}

.ad-zone__label {
  position: absolute;
  top: var(--space-2);
  right: var(--space-3);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  opacity: 0.7;
}

.ad-zone__placeholder {
  color: var(--text-muted);
  font-size: var(--text-sm);
  padding: var(--space-8) 0;
}

/* ============================================
   EMAIL CAPTURE
   ============================================ */
.email-capture {
  background: var(--accent-navy);
  border-radius: var(--border-radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.email-capture::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 107, 74, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.email-capture__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: var(--space-3);
  position: relative;
}

.email-capture__desc {
  color: rgba(250, 250, 247, 0.6);
  margin-bottom: var(--space-6);
  position: relative;
}

.email-capture__form {
  display: flex;
  gap: var(--space-3);
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}

.email-capture__input {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  color: var(--text-inverse);
  font-size: var(--text-sm);
  outline: none;
  transition: all var(--transition-fast);
}

.email-capture__input::placeholder { color: rgba(250, 250, 247, 0.35); }
.email-capture__input:focus { border-color: var(--accent-coral); background: rgba(255, 255, 255, 0.14); }

.email-capture__note {
  font-size: var(--text-xs);
  color: rgba(250, 250, 247, 0.35);
  margin-top: var(--space-3);
  position: relative;
}

@media (max-width: 480px) {
  .email-capture__form { flex-direction: column; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-footer);
  padding: var(--space-16) 0 var(--space-8);
  color: rgba(250, 250, 247, 0.5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--text-inverse);
  margin-bottom: var(--space-4);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  max-width: 280px;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(250, 250, 247, 0.3);
  margin-bottom: var(--space-4);
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: rgba(250, 250, 247, 0.5);
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}
.footer__link:hover { color: var(--text-inverse); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(250, 250, 247, 0.08);
  font-size: var(--text-xs);
}

.footer__timestamp {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(250, 250, 247, 0.3);
}

.footer__timestamp-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: var(--border-radius-full);
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
}

/* ============================================
   BLOG / ARTICLE STYLES
   ============================================ */
.article-header {
  padding: calc(var(--nav-height) + var(--space-12)) 0 var(--space-8);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.article-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.article-header__title {
  font-size: var(--text-3xl);
  max-width: 700px;
}

.article-body {
  padding: var(--space-12) 0;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.article-body p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.article-body h2 {
  font-size: var(--text-2xl);
  margin: var(--space-12) 0 var(--space-6);
}

.article-body h3 {
  font-size: var(--text-xl);
  margin: var(--space-8) 0 var(--space-4);
}

.article-body blockquote {
  border-left: 3px solid var(--accent-coral);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background: var(--bg-secondary);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-body ul, .article-body ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
}
.article-body li {
  margin-bottom: var(--space-2);
  list-style: disc;
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--accent-coral);
  margin-bottom: var(--space-3);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================
   CONTACT / FORM STYLES
   ============================================ */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 107, 219, 0.1);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-coral); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.pt-nav { padding-top: var(--nav-height); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   PAGE-SPECIFIC: LEGAL PAGES
   ============================================ */
.legal-page {
  padding: calc(var(--nav-height) + var(--space-12)) 0 var(--space-16);
}

.legal-page h1 {
  margin-bottom: var(--space-8);
}

.legal-page h2 {
  font-size: var(--text-xl);
  margin: var(--space-8) 0 var(--space-4);
}

.legal-page p, .legal-page li {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.breadcrumbs a { color: var(--text-muted); transition: color var(--transition-fast); }
.breadcrumbs a:hover { color: var(--text-primary); }
.breadcrumbs__sep { opacity: 0.4; }

/* ============================================
   LOADING / SKELETON
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--border-radius-sm);
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s var(--transition-slow) both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  .hero__title { font-size: var(--text-3xl); }
  .section { padding: var(--space-10) 0; }
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .section__header { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .email-capture { padding: var(--space-8) var(--space-5); }
}

@media (max-width: 480px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
  }
  .container { padding: 0 var(--space-4); }
}
