/* ============================================
   AI PRICE RADAR — Design System
   SaaS Minimalist, Conversion-First
   ============================================ */

:root {
  --accent: #4F46E5;
  --accent-hover: #4338CA;
  --accent-light: #EEF2FF;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  --bg: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: #FFFFFF;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.05);
  --shadow-modal: 0 24px 60px rgba(0,0,0,0.16);

  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Courier New', monospace;

  --max-w: 1200px;
  --nav-h: 64px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ---- Typography ---- */
h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 600; line-height: 1.3; }
h4 { font-size: 18px; font-weight: 600; line-height: 1.4; }
h5 { font-size: 15px; font-weight: 600; }
p { color: var(--text-secondary); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--border-light); border-color: #CBD5E1; }
.btn-success {
  background: var(--success);
  color: white;
}
.btn-success:hover { background: #059669; }
.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-full { width: 100%; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent-light); }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: #CBD5E1; }
.card-sm { padding: 16px; border-radius: var(--radius); }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.badge-accent { background: var(--accent-light); color: var(--accent); }
.badge-success { background: #ECFDF5; color: var(--success); }
.badge-warning { background: #FFFBEB; color: #D97706; }
.badge-neutral { background: var(--bg-secondary); color: var(--text-secondary); border: 1px solid var(--border); }

/* ---- Rating Stars ---- */
.stars { display: inline-flex; gap: 2px; }
.star { font-size: 14px; }
.star-filled { color: #F59E0B; }
.star-empty { color: #E2E8F0; }
.rating-value { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-left: 4px; }
.rating-count { font-size: 12px; color: var(--text-muted); margin-left: 2px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 35px;
  height: 35px;
  background: var(--accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}
.nav-logo-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.15s;
}
.nav-link:hover { background: var(--bg-secondary); color: var(--text-primary); }
.nav-link.active { color: var(--accent); font-weight: 600; }
.nav-cta { margin-left: 8px; }
.nav-mobile-toggle { display: none; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 72px 0 64px;
  text-align: center;
  background: linear-gradient(180deg, #F8FAFF 0%, var(--bg) 100%);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 16px; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-search {
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}
.hero-search input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  font-size: 16px;
  background: var(--bg);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.hero-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.10);
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
  pointer-events: none;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ============================================
   SEARCH RESULTS
   ============================================ */
#search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
  display: none;
}
#search-results.visible { display: block; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.1s;
  text-align: left;
}
.search-result-item:hover { background: var(--bg-secondary); }
.search-result-item + .search-result-item { border-top: 1px solid var(--border-light); }
.search-result-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.search-result-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.search-result-cat { font-size: 12px; color: var(--text-muted); }
.search-no-results { padding: 20px; text-align: center; color: var(--text-muted); font-size: 14px; }

/* ============================================
   TOOL CARDS (HOMEPAGE GRID)
   ============================================ */
.tools-section { background: var(--bg); }
.section-header { margin-bottom: 36px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p { font-size: 16px; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.view-all { font-size: 14px; font-weight: 600; color: var(--accent); }
.view-all:hover { text-decoration: underline; }

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.tool-card:hover { box-shadow: var(--shadow-lg); border-color: #CBD5E1; transform: translateY(-2px); }
.tool-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #818CF8);
}
.tool-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tool-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  flex-shrink: 0;
  font-size: 22px;
}
.tool-logo img { width: 100%; height: 100%; object-fit: contain; }
.tool-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.tool-name { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; display: block; text-decoration: none; transition: color 0.15s; }
.tool-name:hover { color: var(--accent); }
.tool-category { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.tool-description { font-size: 14px; color: var(--text-secondary); line-height: 1.55; flex: 1; }
.tool-card-footer { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.tool-price { font-size: 13px; color: var(--text-secondary); }
.tool-price strong { color: var(--text-primary); font-weight: 700; }

.card-coupon-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}
.card-coupon-btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow); }

/* ============================================
   CATEGORY GRID
   ============================================ */
.category-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.category-card:hover { border-color: var(--accent); box-shadow: var(--shadow); background: var(--accent-light); }
.category-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.category-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.category-count { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ============================================
   DEALS BANNER / TRENDING
   ============================================ */
.deals-strip {
  background: linear-gradient(135deg, #4F46E5, #818CF8);
  padding: 40px 0;
  color: white;
}
.deals-strip h2 { color: white; margin-bottom: 8px; }
.deals-strip p { color: rgba(255,255,255,0.8); }

/* ============================================
   TRUST INDICATORS
   ============================================ */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-items { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.trust-item-icon { font-size: 18px; }

/* ============================================
   SEO COPY SECTION
   ============================================ */
.seo-copy { max-width: 820px; margin: 0 auto; }
.seo-copy h2 { font-size: 24px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.seo-copy h3 { font-size: 17px; font-weight: 700; color: var(--text-primary); margin: 28px 0 10px; }
.seo-copy p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; font-size: 15px; }
.seo-copy strong { color: var(--text-primary); font-weight: 600; }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-wrapper { display: none; } /* hidden — re-enable by removing this line */
.newsletter-section { display: none; }
.newsletter-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  border: 1px solid var(--border);
}
.newsletter-section h3 { margin-bottom: 8px; }
.newsletter-section p { margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  background: var(--bg);
  transition: border-color 0.15s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-disclaimer { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* ============================================
   TOOL PAGE — INTENT LAYOUTS
   ============================================ */
.tool-page { padding: 40px 0 80px; }
.tool-page-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.tool-page-main { min-width: 0; }
.tool-page-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }

/* Tool hero */
.tool-hero {
  background: linear-gradient(135deg, #F8FAFF 0%, #EEF2FF 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 32px;
}
.tool-hero-top { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.tool-hero-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
  overflow: hidden;
}
.tool-hero-logo img { width: 100%; height: 100%; object-fit: contain; }
.tool-hero-meta { flex: 1; }
.tool-hero-name { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.tool-hero-tagline { font-size: 15px; color: var(--text-secondary); margin-bottom: 12px; }
.tool-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-hero-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 24px; }
.tool-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Coupon code block */
.coupon-block {
  background: white;
  border: 2px dashed #FCD34D;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.coupon-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.coupon-code {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.06em;
}
.coupon-copy-btn {
  padding: 10px 20px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
}
.coupon-copy-btn:hover { background: var(--accent-hover); }
.coupon-copy-btn.copied { background: var(--success); }

/* Sidebar CTA card */
.sidebar-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-cta-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.sidebar-cta-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.sidebar-price { margin-bottom: 20px; }
.sidebar-price-from { font-size: 12px; color: var(--text-muted); }
.sidebar-price-value { font-size: 28px; font-weight: 800; color: var(--text-primary); }
.sidebar-price-period { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.sidebar-verified { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--success); font-weight: 600; margin-top: 12px; }

/* Content sections */
.content-section { margin-bottom: 40px; }
.content-section h2 { font-size: 22px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.content-section h3 { font-size: 18px; margin-bottom: 12px; }
.content-section p { font-size: 15px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.7; }
.content-section ul { display: flex; flex-direction: column; gap: 8px; }
.content-section ul li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.content-section ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Pros/Cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros-box, .cons-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.pros-box { border-left: 3px solid var(--success); }
.cons-box { border-left: 3px solid var(--danger); }
.pros-box h4 { color: var(--success); margin-bottom: 12px; }
.cons-box h4 { color: var(--danger); margin-bottom: 12px; }
.pros-box li::before { content: '✓'; color: var(--success); }
.cons-box li::before { content: '✗'; color: var(--danger); }

/* Steps / How to redeem */
.steps-list { display: flex; flex-direction: column; gap: 16px; }
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-content { flex: 1; }
.step-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.step-desc { font-size: 14px; color: var(--text-secondary); }

/* Pricing table */
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}
.pricing-table th { font-weight: 600; color: var(--text-secondary); background: var(--bg-secondary); }
.pricing-table td { color: var(--text-secondary); }
.pricing-table td:first-child { font-weight: 600; color: var(--text-primary); }
.pricing-table tr.highlight td { background: var(--accent-light); }
.pricing-table tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  cursor: pointer;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg-secondary); }
.faq-question.open { color: var(--accent); }
.faq-icon { font-size: 18px; color: var(--text-muted); transition: transform 0.2s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.faq-answer.open { max-height: 400px; padding: 0 20px 16px; }

/* Alternatives table */
.alt-table-wrap { overflow-x: auto; }
.alt-table { width: 100%; border-collapse: collapse; }
.alt-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.alt-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.alt-table td:first-child { font-weight: 600; color: var(--text-primary); }
.alt-table tr:last-child td { border-bottom: none; }
.alt-table .highlight-row td { background: var(--accent-light); }

/* ============================================
   COUPON BLUR / REVEAL SYSTEM
   ============================================ */
.coupon-code-blurred {
  filter: blur(6px);
  user-select: none;
  transition: filter 0.35s ease;
  display: inline-block;
}
.coupon-code-blurred.revealed {
  filter: blur(0);
}

/* ============================================
   LOGO ICON VARIANTS (pick one via .logo-icon-*)
   ============================================ */
/* Shared icon container styles — icon SVG inherits currentColor (white) */

/* Disclosure */
.disclosure {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 32px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text-primary); font-weight: 500; }

/* Intent tabs (internal navigation) */
.intent-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-secondary);
  padding: 4px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.intent-tab {
  flex: 1;
  min-width: 100px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  transition: all 0.15s;
  cursor: pointer;
}
.intent-tab:hover { color: var(--text-primary); }
.intent-tab.active {
  background: var(--bg-card);
  color: var(--accent);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ============================================
   MODAL SYSTEM
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-modal);
  position: relative;
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--border); }
.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.modal-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.modal-coupon-display {
  background: var(--bg-secondary);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.modal-code {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}
.modal-copy-btn {
  padding: 8px 18px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
}
.modal-copy-btn:hover { background: var(--accent-hover); }
.modal-copy-btn.copied { background: var(--success); }
.modal-note {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-deal-icon { font-size: 40px; margin-bottom: 12px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { max-width: 260px; }
.footer-logo { margin-bottom: 10px; }
.footer-logo-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.footer-logo-accent { color: var(--accent); }
.footer-tagline { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-col h5 { font-size: 13px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: 14px; color: var(--text-muted); transition: color 0.15s; }
.footer-link:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-link { color: var(--text-muted); }
.footer-bottom-link:hover { color: var(--accent); }

/* ============================================
   DEALS PAGE
   ============================================ */
.deals-header {
  background: linear-gradient(135deg, #F8FAFF, #EEF2FF);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.deals-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg);
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { border-color: var(--accent); background: var(--accent); color: white; }

/* ============================================
   GO / REDIRECT PAGE
   ============================================ */
.go-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-secondary);
}
.go-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.go-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 24px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.go-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.go-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* ============================================
   UTILITIES
   ============================================ */
.hidden { display: none !important; }
.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; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ============================================
   STATIC PAGES (About, Contact, Privacy, Terms)
   ============================================ */
.static-page { padding: 60px 0 80px; }
.static-page-content { max-width: 740px; margin: 0 auto; }
.static-page-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.static-page-content h1 { margin-bottom: 16px; }
.static-page-lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}
.static-page-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; margin-top: -8px; }
.static-page-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.static-page-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}
.static-page-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-left: 4px;
}
.static-page-content ul li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.65;
}
.static-page-content ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}
.static-page-cta {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

/* Contact page */
.contact-email-hero {
  background: var(--accent-light);
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 40px;
  text-align: center;
}
.contact-email-label { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.contact-email-big {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  letter-spacing: -0.01em;
}
.contact-email-big:hover { text-decoration: underline; }
.contact-reasons { display: flex; flex-direction: column; gap: 20px; }
.contact-reason { display: flex; gap: 14px; align-items: flex-start; }
.contact-reason-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-reason strong { display: block; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.contact-reason p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .tool-page-layout { grid-template-columns: 1fr; }
  .tool-page-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; align-items: flex-start; gap: 2px; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links.open .nav-link { width: 100%; padding: 12px 16px; font-size: 15px; border-radius: var(--radius); }
  .nav-mobile-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--bg-secondary); font-size: 20px; cursor: pointer; }
  .hero { padding: 48px 0 40px; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { max-width: 100%; }
  .coupon-block { flex-direction: column; align-items: flex-start; }
  .tool-hero-top { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .section { padding: 48px 0; }
  .intent-tabs {
    gap: 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: var(--radius);
  }
  .intent-tabs::-webkit-scrollbar { display: none; }
  .intent-tab {
    font-size: 13px;
    padding: 8px 14px;
    flex-shrink: 0;
    flex: none;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .tool-hero { padding: 20px; }
  .modal { padding: 24px 20px; }
  .newsletter-section { padding: 32px 20px; }
}
