/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --amazon: #FF9900;
  --flipkart: #2874F0;
  --myntra: #FF3F6C;
  --meesho: #9B2FCE;
  --croma: #00A651;
  --snapdeal: #E40046;
  --text: #1e293b;
  --text-2: #374151;
  --text-3: #64748B;
  --bg: #F8FAFC;
  --white: #ffffff;
  --border: #E2E8F0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
}
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── HEADER ── */
.header { background: white; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; }
.brand-logo { background: var(--accent); color: white; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 800; }
.brand-name { font-family: 'Poppins', sans-serif; color: var(--text); }
.brand-dot { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-3); transition: all 0.15s; }
.nav a:hover, .nav a.nav-active { background: var(--bg); color: var(--accent); }
.menu-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; margin-left: auto; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #0F172A 0%, #1e3a8a 50%, #2563EB 100%); color: white; padding: 80px 24px; text-align: center; }
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 100px; padding: 6px 16px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero-title { font-family: 'Poppins', sans-serif; font-size: clamp(32px, 6vw, 56px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero-sub { font-size: 17px; opacity: 0.85; max-width: 560px; margin: 0 auto 36px; }

/* ── SEARCH BOX ── */
.search-box { position: relative; max-width: 680px; margin: 0 auto 28px; }
.search-inner { display: flex; background: white; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.search-icon { padding: 0 16px; font-size: 20px; display: flex; align-items: center; color: var(--text-3); }
.search-inner input { flex: 1; border: none; outline: none; font-size: 15px; font-family: 'Inter', sans-serif; padding: 16px 0; color: var(--text); }
.search-btn { background: var(--accent); color: white; border: none; padding: 0 28px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.15s; font-family: 'Inter', sans-serif; }
.search-btn:hover { background: var(--accent-dark); }
.suggestions { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: white; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 100; overflow: hidden; }
.suggestion-item { padding: 12px 16px; cursor: pointer; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.suggestion-item:hover { background: var(--bg); }
.suggestion-item:last-child { border-bottom: none; }

/* ── PLATFORM PILLS ── */
.platform-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pill { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; padding: 6px 14px; font-size: 13px; font-weight: 500; }

/* ── STATS BAR ── */
.stats-bar { background: var(--accent); color: white; }
.stats-inner { max-width: 1280px; margin: 0 auto; padding: 20px 24px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 8px; }
.stat-num { display: block; font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; }
.stat-label { font-size: 13px; opacity: 0.85; }

/* ── SECTIONS ── */
.section { padding: 60px 24px; }
.bg-light { background: var(--bg); }
.container { max-width: 1280px; margin: 0 auto; }
.section-title { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; color: var(--text); text-align: center; margin-bottom: 36px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.section-header .section-title { margin-bottom: 0; }
.see-all { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ── CATEGORIES ── */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cat-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; text-align: center; transition: all 0.2s; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cat-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-emoji { font-size: 36px; }
.cat-name { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); }
.cat-count { font-size: 12px; color: var(--text-3); }

/* ── HOW IT WORKS ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.step-card { background: white; border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); position: relative; }
.step-num { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-emoji { font-size: 40px; margin-bottom: 12px; display: block; }
.step-card h3 { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-3); line-height: 1.6; }

/* ── DEALS GRID ── */
.deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.deal-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.2s; }
.deal-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.deal-image { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 64px; position: relative; }
.deal-platform { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; color: white; }
.deal-platform.amazon { background: var(--amazon); }
.deal-platform.flipkart { background: var(--flipkart); }
.deal-platform.myntra { background: var(--myntra); }
.deal-platform.meesho { background: var(--meesho); }
.deal-platform.croma { background: var(--croma); }
.deal-badge { position: absolute; top: 10px; right: 10px; background: #EF4444; color: white; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.deal-body { padding: 16px; }
.deal-name { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.deal-prices { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.deal-price { font-size: 20px; font-weight: 800; color: var(--text); }
.deal-original { font-size: 13px; color: var(--text-3); text-decoration: line-through; }
.deal-save { font-size: 12px; color: #16A34A; font-weight: 600; margin-bottom: 12px; }
.deal-btn { display: block; background: var(--accent); color: white; text-align: center; padding: 9px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: background 0.15s; }
.deal-btn:hover { background: var(--accent-dark); }

/* ── PRICE ALERT CTA ── */
.alert-cta { background: linear-gradient(135deg, #0F172A, #1e3a8a); padding: 60px 24px; }
.alert-box { max-width: 1280px; margin: 0 auto; display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.alert-left { display: flex; gap: 20px; align-items: center; color: white; flex: 1; min-width: 280px; }
.alert-icon { font-size: 48px; flex-shrink: 0; }
.alert-left h3 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.alert-left p { opacity: 0.8; font-size: 14px; }
.alert-form { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 280px; }
.alert-form input { padding: 12px 16px; border-radius: 8px; border: none; font-size: 14px; font-family: 'Inter', sans-serif; }
.btn-alert { background: #F59E0B; color: #1e293b; border: none; padding: 13px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.15s; }
.btn-alert:hover { background: #D97706; }

/* ── PLATFORMS GRID ── */
.platforms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.platform-card { background: white; border: 2px solid var(--border); border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: all 0.2s; }
.platform-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.platform-card.amazon:hover { border-color: var(--amazon); }
.platform-card.flipkart:hover { border-color: var(--flipkart); }
.platform-card.myntra:hover { border-color: var(--myntra); }
.platform-card.meesho:hover { border-color: var(--meesho); }
.platform-card.croma:hover { border-color: var(--croma); }
.platform-card.snapdeal:hover { border-color: var(--snapdeal); }
.platform-logo { font-size: 36px; }
.platform-name { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; }
.platform-desc { font-size: 12px; color: var(--text-3); }
.platform-link { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 4px; }

/* ── SEARCH PAGE ── */
.page-hero { background: var(--bg); border-bottom: 1px solid var(--border); padding: 40px 24px; }
.page-hero-inner { max-width: 800px; margin: 0 auto; }
.page-hero h1 { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.search-results { max-width: 1280px; margin: 40px auto; padding: 0 24px; }
.result-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; display: flex; gap: 20px; align-items: flex-start; }
.result-image { width: 100px; height: 100px; background: var(--bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 48px; flex-shrink: 0; }
.result-info { flex: 1; }
.result-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.result-prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
.price-chip { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; text-align: center; }
.price-chip .store { font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.price-chip .price { font-size: 15px; font-weight: 800; }
.price-chip .best { background: #DCFCE7; border-color: #16A34A; }
.price-chip .store.amazon { color: var(--amazon); }
.price-chip .store.flipkart { color: var(--flipkart); }
.price-chip .store.myntra { color: var(--myntra); }
.price-chip .store.meesho { color: var(--meesho); }

/* ── TRACKER PAGE ── */
.tracker-box { max-width: 600px; margin: 60px auto; padding: 0 24px; }
.tracker-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: var(--shadow); }
.tracker-card h2 { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.tracker-card p { color: var(--text-3); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-2); }
.form-group input { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.15s; }
.form-group input:focus { border-color: var(--accent); }
.btn-primary { width: 100%; background: var(--accent); color: white; border: none; padding: 14px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.15s; }
.btn-primary:hover { background: var(--accent-dark); }
.tracked-list { margin-top: 32px; }
.tracked-item { background: var(--bg); border-radius: 8px; padding: 14px 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.tracked-item .tracked-name { flex: 1; font-weight: 500; }
.tracked-item .tracked-target { color: var(--accent); font-weight: 700; }
.tracked-item .tracked-remove { color: var(--text-3); cursor: pointer; font-size: 18px; }

/* ── FOOTER ── */
.footer { background: #0F172A; color: #94A3B8; padding: 60px 24px 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand-name { color: white; }
.footer p { font-size: 14px; margin-top: 12px; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 8px; color: #94A3B8; transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; max-width: 1280px; margin: 0 auto; }
.footer-bottom p { font-size: 13px; text-align: center; }

/* ── TOAST ── */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #1e293b; color: white; padding: 12px 24px; border-radius: 100px; font-size: 14px; font-weight: 500; z-index: 9999; box-shadow: var(--shadow-lg); animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateX(-50%) translateY(10px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 12px; gap: 4px; }
  .menu-toggle { display: block; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .alert-box { flex-direction: column; }
  .result-card { flex-direction: column; }
  .result-image { width: 100%; height: 120px; }
  .search-inner { flex-wrap: wrap; }
  .search-btn { width: 100%; padding: 12px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

.deal-image img, .result-image img { background:#fff; border-radius:8px; }

.deal-filters { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:20px; }
.deal-filters select { padding:10px 14px; border:1px solid #E2E8F0; border-radius:8px; font-size:14px; font-family:Inter,sans-serif; background:#fff; color:#1e293b; }
.deal-count { font-size:13px; color:#64748B; }

/* ── SEO pages (generated by zunozi_pages.py) ─────────────── */
.crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.crumbs a { color: var(--accent); }
.deal-name { display: block; }
a.deal-name:hover { color: var(--accent); }
.pp { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: start; }
.pp-img { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; justify-content: center; }
.pp-img img { max-width: 100%; max-height: 420px; object-fit: contain; }
.pp-price { font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 800; margin-bottom: 6px; }
.pp-off { font-size: 15px; color: #16A34A; font-weight: 700; margin-left: 6px; }
.pp-rating { font-size: 14px; color: var(--text-2, #475569); margin: 10px 0 16px; }
.pp-live, .pp-stale { font-size: 13px; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.pp-live { background: #F0FDF4; color: #166534; }
.pp-stale { background: #FFFBEB; color: #92400E; }
.pp-btn { max-width: 320px; padding: 12px; font-size: 15px; }
.pp-note { font-size: 12px; color: var(--text-3); margin-top: 14px; line-height: 1.6; }
.pp-h2 { font-family: 'Poppins', sans-serif; font-size: 18px; margin: 28px 0 10px; }
.pp-hist { border-collapse: collapse; font-size: 14px; }
.pp-hist th, .pp-hist td { text-align: left; padding: 6px 18px 6px 0; border-bottom: 1px solid var(--border); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--text); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.footer-cats { columns: 2; }
.footer-cats h4 { column-span: all; }
@media (max-width: 768px) { .pp { grid-template-columns: 1fr; gap: 24px; } .pp-price { font-size: 26px; } }