/* ================================================================
   WALLIUM — Professional Design System
   All components audited for contrast, hover states, readability
   ================================================================ */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --navy:    #1e2469;   /* Primary brand */
  --blue:    #3d4ab0;   /* Hover / accent */
  --navy-10: #eef0fb;   /* Tint */
  --navy-20: #dde0f7;
  --text:    #111827;   /* Body text */
  --text-2:  #374151;   /* Secondary text */
  --muted:   #6b7280;   /* Muted / labels */
  --faint:   #9ca3af;   /* Placeholder */
  --border:  #e5e7eb;   /* Borders */
  --bg:      #f9fafb;   /* Light bg */
  --white:   #ffffff;
  --success: #059669;
  --danger:  #dc2626;
  --warn:    #d97706;
  --radius:  8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:   0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:0 12px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  /* Legacy compat */
  --dark: #fff; --dark-2: #fff; --red: var(--navy); --gray: var(--muted);
  --gray-100: var(--bg); --gray-200: #f3f4f6;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ─── Container ─────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ================================================================
   TOPBAR
================================================================ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  font-size: 12.5px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.tb-left, .tb-right { display: flex; gap: 20px; align-items: center; }
.topbar a { color: rgba(255,255,255,.75); transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar i { margin-right: 5px; font-size: 11px; }

/* ================================================================
   HEADER
================================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.hdr-inner { display: flex; align-items: center; height: 68px; gap: 0; }

/* ─── Logo ──────────────────────────────────────────────── */
.site-logo { display: flex; align-items: center; margin-right: 40px; flex-shrink: 0; }
.site-logo img { height: 38px; width: auto; display: block; }

/* ─── Desktop Nav ───────────────────────────────────────── */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

/* Nav link base */
.desktop-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, background .15s;
  user-select: none;
}
.desktop-nav .nav-link:hover { color: var(--navy); background: var(--navy-10); }
.desktop-nav .nav-link i { font-size: 9px; color: var(--faint); transition: transform .2s; }

/* Nav item wrapper — needed for hover targeting */
.nav-item { position: relative; display: flex; align-items: center; }

/* ─── HOVER FIX: invisible bridge prevents gap closing ─── */
.drop-parent > .nav-link::after,
.mega-parent > .nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -12px;
  height: 12px;
  background: transparent;
  display: block;
}
.drop-parent:hover > .nav-link i,
.mega-parent:hover > .nav-link i { transform: rotate(180deg); }
.drop-parent:hover > .nav-link,
.mega-parent:hover > .nav-link { color: var(--navy); background: var(--navy-10); }

/* ─── Dropdown ──────────────────────────────────────────── */
.drop-panel {
  position: absolute;
  top: calc(100% + 2px); /* 2px so link ::after bridge covers the gap */
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--navy);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 1000;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}
.drop-parent:hover .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.drop-panel a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: background .12s, color .12s, padding-left .12s;
}
.drop-panel a:hover {
  background: var(--navy-10);
  color: var(--navy);
  padding-left: 16px;
}

/* ─── Mega menu ─────────────────────────────────────────── */
.mega-panel {
  position: fixed;
  left: 0; right: 0;
  top: 68px; /* matches header height */
  background: var(--white);
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 28px 0 32px;
  z-index: 899;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
}
.mega-parent:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 32px;
}
.mega-cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: opacity .15s;
}
.mega-cat:hover { opacity: .75; }
.mega-link {
  display: block;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--muted);
  padding: 3px 0;
  transition: color .12s;
}
.mega-link:hover { color: var(--navy); }

/* ─── Header actions ────────────────────────────────────── */
.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.cart-icon {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 18px;
  transition: all .15s;
}
.cart-icon:hover { background: var(--navy-10); color: var(--navy); }
.cart-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--navy); color: #fff;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.hdr-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s, transform .15s;
  display: inline-block;
}
.hdr-cta:hover { background: var(--blue); transform: translateY(-1px); }

/* ─── Mobile burger ─────────────────────────────────────── */
.mob-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius);
  transition: background .15s;
}
.mob-burger:hover { background: var(--navy-10); }
.mob-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* ─── Mobile nav ────────────────────────────────────────── */
.mob-nav {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,23,42,.5);
  z-index: 1100;
  opacity: 0;
  transition: opacity .2s;
}
.mob-nav.open { display: flex; opacity: 1; }
.mob-nav-inner {
  width: 300px;
  height: 100%;
  background: var(--white);
  padding: 20px 16px 32px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mob-close {
  align-self: flex-end;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: 4px 8px;
  margin-bottom: 8px;
}
.mob-close:hover { color: var(--text); }
.mob-link {
  display: block;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: background .12s, color .12s;
}
.mob-link:hover { background: var(--navy-10); color: var(--navy); }

/* ─── Flash ─────────────────────────────────────────────── */
.flash { padding: 11px 0; }
.flash-success { background: #ecfdf5; border-bottom: 2px solid #6ee7b7; }
.flash-error   { background: #fef2f2; border-bottom: 2px solid #fca5a5; }
.flash-info    { background: #eff6ff; border-bottom: 2px solid #93c5fd; }
.flash-inner { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.flash-close { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 20px; color: var(--muted); line-height: 1; }
.flash-success .flash-inner { color: #065f46; }
.flash-error .flash-inner   { color: #991b1b; }

/* ================================================================
   BUTTONS — fully audited for contrast
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .18s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* Primary: navy bg, white text ✓ */
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(30,36,105,.3); }

/* Secondary: light bg, navy text ✓ */
.btn-secondary { background: var(--navy-10); border-color: var(--navy-20); color: var(--navy) !important; }
.btn-secondary:hover { background: var(--navy-20); border-color: var(--navy); }

/* Outline: transparent bg, navy border/text ✓ */
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy) !important; }
.btn-outline:hover { background: var(--navy); color: #fff !important; }

/* White: white bg, navy text ✓ (for use on dark backgrounds) */
.btn-white { background: #fff; border-color: rgba(255,255,255,.3); color: var(--navy) !important; }
.btn-white:hover { background: #f0f4ff; }

/* Ghost: transparent, white text (on dark bg) ✓ */
.btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff !important; }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

/* Sizes */
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-xl { padding: 15px 32px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ================================================================
   FORMS
================================================================ */
.form-label { font-size: 13px; font-weight: 600; color: var(--text-2); display: block; margin-bottom: 6px; }
.form-input, .form-select, .form-textarea,
.config-input, .config-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus,
.config-input:focus, .config-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,36,105,.08);
}
.form-input::placeholder, .config-input::placeholder { color: var(--faint); }
.config-label { font-size: 13px; font-weight: 600; color: var(--text-2); display: block; margin-bottom: 6px; }

/* ================================================================
   TYPOGRAPHY HELPERS
================================================================ */
.text-center  { text-align: center; }
.text-muted   { color: var(--muted) !important; }
.text-navy    { color: var(--navy) !important; }
.fw-700       { font-weight: 700; }
.fw-800       { font-weight: 800; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }

/* ================================================================
   HERO
================================================================ */
.hero {
  background: linear-gradient(135deg, #0d1130 0%, #1e2469 55%, #2d3a8c 100%);
  padding: 80px 0 72px;
  color: #fff;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1fr 430px; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: 5px 14px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85);
  margin-bottom: 22px;
}
.hero-title {
  font-size: 48px; font-weight: 900; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #7dd3fc, #a5b4fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.75; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; }
.stat-num { font-size: 28px; font-weight: 900; color: #fff; display: block; line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 3px; display: block; }
.platform-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.platform-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 14px 10px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: all .18s;
}
.platform-card:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.platform-card i { font-size: 22px; }
.platform-card span:nth-child(2) { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.85); }
.platform-card .price { font-size: 10px; color: rgba(255,255,255,.5); }

/* ================================================================
   ADVANTAGES BAR
================================================================ */
.advantages { background: var(--bg); border-bottom: 1px solid var(--border); padding: 14px 0; }
.advantages-list { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: center; }
.adv-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); font-weight: 500; }
.adv-item i { color: var(--navy); font-size: 13px; }

/* ================================================================
   SECTIONS
================================================================ */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: var(--navy-10);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 14px;
}
.section-title { font-size: 32px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.section-desc { font-size: 16px; color: var(--muted); }

/* ================================================================
   PRODUCT CARDS
================================================================ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.product-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; background: var(--white);
  display: flex; flex-direction: column; gap: 10px;
  transition: all .2s; cursor: pointer;
}
.product-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.product-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; flex-shrink: 0; }
.product-name { font-size: 15px; font-weight: 700; color: var(--text); }
.product-desc { font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); margin-top: auto; }
.product-price { font-size: 13px; color: var(--muted); }
.product-price strong { display: block; font-size: 16px; font-weight: 700; color: var(--navy); }
.product-price small { font-size: 10px; color: var(--faint); }
.product-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); transition: gap .15s; }
.product-cta:hover { gap: 10px; }
.product-badge { display: inline-block; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }

/* ================================================================
   CATEGORY GRID
================================================================ */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.category-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 18px; text-align: center; background: var(--white);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all .18s;
}
.category-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; }
.cat-name { font-size: 14px; font-weight: 700; color: var(--text); }
.cat-count { font-size: 12px; color: var(--faint); }

/* ================================================================
   WHY SECTION
================================================================ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; transition: all .18s; }
.why-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.why-icon { width: 46px; height: 46px; background: var(--navy-10); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--navy); margin-bottom: 16px; }
.why-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.why-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ================================================================
   CTA / NEWSLETTER
================================================================ */
.cta-banner { background: linear-gradient(135deg,#1e2469,#3d4ab0); padding: 72px 0; color: #fff; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter-section { background: var(--navy); padding: 72px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.newsletter-title { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.newsletter-sub { font-size: 15px; color: rgba(255,255,255,.65); margin-bottom: 22px; }
.newsletter-benefits { display: flex; flex-direction: column; gap: 10px; }
.nl-benefit { font-size: 13px; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 9px; }
.nl-benefit i { color: #6ee7b7; flex-shrink: 0; }
.nl-input-group {
  display: flex; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 10px; overflow: hidden;
}
.nl-input-group input {
  flex: 1; background: none; border: none; outline: none;
  padding: 14px 18px; color: #fff; font-size: 14px; font-family: inherit;
}
.nl-input-group input::placeholder { color: rgba(255,255,255,.4); }
.nl-input-group button {
  background: #fff; color: var(--navy) !important; border: none;
  padding: 14px 22px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.nl-input-group button:hover { background: var(--navy-10); }
.nl-note { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 10px; }

/* ================================================================
   FOOTER
================================================================ */
.site-footer { background: #0a0e2a; color: rgba(255,255,255,.7); }
.footer-top { padding: 60px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,.6); padding: 4px 0; transition: color .12s; }
.footer-col a:hover { color: #fff; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo .logo-icon { width: 34px; height: 34px; background: rgba(255,255,255,.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; }
.footer-logo .logo-name { font-size: 18px; font-weight: 800; color: #fff; }
.footer-brand p { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); font-size: 14px; transition: all .15s; }
.footer-social a:hover { background: rgba(255,255,255,.18); color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,.6); }
.contact-item i { color: rgba(255,255,255,.35); margin-top: 2px; font-size: 12px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); transition: color .12s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }
.payment-icons { display: flex; gap: 8px; align-items: center; font-size: 22px; color: rgba(255,255,255,.25); }

/* ================================================================
   PAGE SHARED
================================================================ */
.breadcrumb-list { display: flex; flex-wrap: wrap; list-style: none; font-size: 13px; color: var(--faint); }
.breadcrumb-list li:not(:last-child)::after { content: ' / '; margin: 0 7px; color: var(--border); }
.breadcrumb-list a { color: var(--faint); transition: color .12s; }
.breadcrumb-list a:hover { color: var(--navy); }
.page-hero { background: var(--bg); border-bottom: 1px solid var(--border); padding: 36px 0; }
.page-hero h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.page-hero p { font-size: 15px; color: var(--muted); }
.anc-tab { padding: 11px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: all .15s; display: inline-block; }
.anc-tab:hover, .anc-tab.active { color: var(--navy); border-bottom-color: var(--navy); }
.feature-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.9); border-radius: 16px; font-size: 12px; border: 1px solid rgba(255,255,255,.2); }

/* Product detail */
.product-detail-header { background: linear-gradient(135deg,#0d1130,#1e2469); padding: 40px 0; color: #fff; }
.product-detail-title { font-size: 30px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.product-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ================================================================
   WIZARD (Digital Ads Configurator)
================================================================ */
.wizard-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.wizard-steps-bar { display: flex; border-bottom: 1px solid var(--border); background: var(--bg); }
.wizard-step-tab { flex: 1; padding: 16px 10px 12px; text-align: center; cursor: pointer; font-size: 13px; color: var(--faint); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .15s; }
.wizard-step-tab .step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--border); color: var(--faint); font-weight: 700; font-size: 11px; display: flex; align-items: center; justify-content: center; margin: 0 auto 5px; }
.wizard-step-tab.active { color: var(--navy); border-bottom-color: var(--navy); background: var(--white); }
.wizard-step-tab.active .step-num { background: var(--navy); color: #fff; }
.wizard-step-tab.done .step-num { background: var(--success); color: #fff; }
.wizard-panel { display: none; padding: 28px; }
.wizard-panel.active { display: block; }
.campaign-type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.campaign-type-card { border: 1.5px solid var(--border); border-radius: 10px; padding: 18px; cursor: pointer; transition: all .15s; position: relative; }
.campaign-type-card:hover { border-color: var(--blue); }
.campaign-type-card.selected { border-color: var(--navy); background: var(--navy-10); }
.campaign-type-card .badge { position: absolute; top: -1px; right: -1px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 0 8px 0 8px; }
.goals-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.goal-card { border: 1.5px solid var(--border); border-radius: 8px; padding: 12px 8px; cursor: pointer; text-align: center; transition: all .15s; background: var(--white); }
.goal-card:hover { border-color: var(--blue); background: var(--navy-10); }
.goal-card.selected { border-color: var(--navy); background: var(--navy-10); }
.goal-card i { font-size: 20px; margin-bottom: 6px; display: block; color: var(--muted); }
.goal-card.selected i { color: var(--navy); }
.goal-card span { font-size: 11px; font-weight: 600; color: var(--text-2); }
.gender-buttons { display: flex; gap: 8px; }
.gender-btn { flex: 1; padding: 10px; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; text-align: center; font-size: 13px; font-weight: 600; transition: all .15s; background: var(--white); color: var(--text-2); }
.gender-btn:hover { border-color: var(--navy); background: var(--navy-10); }
.gender-btn.selected { border-color: var(--navy); background: var(--navy); color: #fff; }
.interests-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.interest-chip { padding: 5px 12px; border: 1.5px solid var(--border); border-radius: 16px; font-size: 12px; font-weight: 500; cursor: pointer; transition: all .15s; background: var(--white); color: var(--text-2); }
.interest-chip:hover { border-color: var(--navy); color: var(--navy); }
.interest-chip.selected { border-color: var(--navy); background: var(--navy); color: #fff; }
.region-type-tabs { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.region-tab { flex: 1; padding: 8px; font-size: 12px; font-weight: 600; cursor: pointer; text-align: center; transition: all .15s; color: var(--muted); background: var(--white); }
.region-tab:hover { background: var(--bg); }
.region-tab.active { background: var(--navy); color: #fff; }
#campaign-map { height: 260px; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 10px; }
.upload-zone { border: 2px dashed var(--border); border-radius: 10px; padding: 28px; text-align: center; cursor: pointer; transition: all .2s; background: var(--bg); }
.upload-zone:hover { border-color: var(--navy); background: var(--navy-10); }
.file-preview { display: none; }
.file-preview.has-file { display: flex; align-items: center; gap: 10px; background: var(--bg); padding: 10px 14px; border-radius: var(--radius); margin-top: 8px; }
.remove-file { background: none; border: none; cursor: pointer; color: var(--danger); font-size: 16px; }
.budget-step { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.budget-big-display { font-size: 32px; font-weight: 900; color: var(--navy); text-align: center; margin-bottom: 4px; }
.reach-estimate { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin: 14px 0; }
.reach-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.reach-row:last-child { border-bottom: none; }
.reach-row .value { font-weight: 700; color: var(--navy); }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.summary-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.summary-item .s-label { font-size: 11px; color: var(--faint); margin-bottom: 3px; }
.summary-item .s-val { font-size: 13px; font-weight: 700; color: var(--text); }
.summary-price-box { background: var(--navy); color: #fff; border-radius: 10px; padding: 20px; margin-bottom: 16px; }
.summary-price-box .s-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.summary-price-box .s-row .val { color: #fff; font-weight: 600; }
.summary-price-box .s-row:last-child { border: none; font-size: 17px; font-weight: 800; padding-top: 12px; color: #fff; }
.summary-price-box .s-row:last-child .val { color: #7dd3fc; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; border-top: 1px solid var(--border); background: var(--bg); }
.btn-prev { background: var(--white); border: 1.5px solid var(--border); color: var(--muted) !important; padding: 9px 20px; border-radius: var(--radius); font-weight: 600; cursor: pointer; font-size: 13.5px; transition: all .15s; }
.btn-prev:hover { border-color: var(--navy); color: var(--navy) !important; }
.btn-next { background: var(--navy); color: #fff !important; border: none; padding: 10px 24px; border-radius: var(--radius); font-weight: 700; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 7px; transition: all .15s; }
.btn-next:hover { background: var(--blue); }
.char-count { font-size: 11px; color: var(--faint); text-align: right; margin-top: 3px; }
.hidden-radio { position: absolute; opacity: 0; width: 0; height: 0; }
.new-products-section { background: var(--bg); }
.main-content { min-height: calc(100vh - 110px); }

/* ================================================================
   OOH PRODUCT PAGE
================================================================ */
.ooh-product-hero { background: linear-gradient(135deg,#0d1130,#1e2469); padding: 40px 0; color: #fff; }
.ooh-product-hero h1 { font-size: 30px; font-weight: 800; color: #fff !important; margin-bottom: 8px; }
.ooh-config-layout { display: grid; grid-template-columns: 1fr 400px; min-height: 600px; }
.ooh-map-side { position: relative; }
#ooh-map { height: 100%; min-height: 600px; }
.ooh-config-panel { background: var(--white); border-left: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; }
.ooh-config-section { padding: 18px 22px; border-bottom: 1px solid var(--border); }
.ooh-config-section h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.mecra-list { max-height: 220px; overflow-y: auto; }
.mecra-row { display: flex; align-items: flex-start; gap: 9px; padding: 9px; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; margin-bottom: 5px; transition: all .15s; }
.mecra-row:hover, .mecra-row.selected { border-color: var(--navy); background: var(--navy-10); }
.mecra-row input[type=checkbox] { margin-top: 2px; accent-color: var(--navy); }
.mecra-info { flex: 1; }
.mecra-name { font-weight: 600; color: var(--text); font-size: 13px; }
.mecra-sub { font-size: 11px; color: var(--faint); margin-top: 2px; }
.mecra-price { font-size: 12px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.duration-btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.dur-btn { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 10px 8px; text-align: center; cursor: pointer; transition: all .15s; background: var(--white); }
.dur-btn:hover, .dur-btn.active { border-color: var(--navy); background: var(--navy-10); }
.dur-btn .dur-label { font-size: 12px; font-weight: 700; color: var(--text); }
.dur-btn .dur-price { font-size: 11px; color: var(--faint); margin-top: 2px; }
.ooh-price-summary { background: var(--navy); color: #fff; padding: 18px 22px; margin-top: auto; }
.ooh-price-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ooh-price-row .lbl { color: rgba(255,255,255,.65); }
.ooh-price-row:last-child { border: none; font-size: 16px; font-weight: 800; padding-top: 10px; }
.avail-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; margin-left: 4px; }
.avail-badge.dolu { background: #fee2e2; color: var(--danger); }
.avail-badge.musait { background: #d1fae5; color: var(--success); }
.map-radius-ctrl { position: absolute; top: 12px; right: 12px; z-index: 400; background: var(--white); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 14px 16px; min-width: 220px; border: 1px solid var(--border); }

/* ================================================================
   PAGE-SPECIFIC: Packages
================================================================ */
.toggle-group { display: inline-flex; background: var(--bg); border: 1px solid var(--border); border-radius: 50px; padding: 4px; gap: 4px; }
.toggle-btn { padding: 8px 22px; border-radius: 50px; border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 500; transition: all .18s; display: flex; align-items: center; gap: 6px; font-family: inherit; }
.toggle-btn:hover { color: var(--navy); background: rgba(30,36,105,.06); }
.toggle-btn.active { background: var(--navy); color: #fff !important; }
.save-badge { background: var(--success); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.package-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 16px; padding: 28px; position: relative; display: flex; flex-direction: column; gap: 16px; transition: all .2s; }
.package-card:hover { box-shadow: var(--shadow); }
.package-card.featured { border-color: var(--navy); box-shadow: 0 4px 24px rgba(30,36,105,.12); }
.package-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 18px; border-radius: 50px; white-space: nowrap; }
.platform-tag { background: var(--navy-10); color: var(--navy); border-radius: 6px; padding: 3px 10px; font-size: 12px; display: inline-block; margin: 2px; font-weight: 500; }
.comparison-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th { padding: 14px 16px; font-size: 12px; font-weight: 700; background: var(--navy); color: #fff; text-align: left; }
.comparison-table td { padding: 12px 16px; font-size: 13.5px; color: var(--text); border-bottom: 1px solid var(--border); }
.comparison-table tr:hover td { background: var(--bg); }
.package-features li.not-included { color: var(--faint); text-decoration: line-through; }

/* PAGE-SPECIFIC: Channel finder */
.choice-inner { background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; padding: 20px; cursor: pointer; transition: all .15s; height: 100%; }
.choice-inner:hover { border-color: var(--navy); background: var(--navy-10); }
.choice-card input:checked + .choice-inner { border-color: var(--navy); background: var(--navy-10); }
.choice-inner strong { color: var(--text); }
.choice-inner span { color: var(--muted); }
.progress-track { background: var(--border); border-radius: 3px; }
.progress-fill { background: var(--navy); border-radius: 3px; }
.score-bar { background: var(--border); }
.score-fill { background: var(--navy); }
.result-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; transition: all .2s; }
.result-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }

/* PAGE-SPECIFIC: Contact */
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.contact-card .icon-wrap { background: var(--navy-10); color: var(--navy); }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.contact-faq { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius); background: var(--navy-10); color: var(--navy); font-size: 16px; transition: all .15s; }
.social-link:hover { background: var(--navy); color: #fff; }

/* PAGE-SPECIFIC: Blog / FAQ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 24px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); transition: all .2s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-thumb { height: 180px; background: linear-gradient(135deg,#eef2ff,#e0e7ff); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-body { padding: 20px; }
.blog-tag { font-size: 11px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; }
.blog-title { font-size: 16px; font-weight: 700; margin: 7px 0; color: var(--text); }
.blog-excerpt { font-size: 13px; color: var(--muted); line-height: 1.65; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; overflow: hidden; background: var(--white); }
.faq-item summary { padding: 14px 18px; font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--navy); border-bottom: 1px solid var(--border); }
.faq-body { padding: 14px 18px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* PAGE-SPECIFIC: Auth */
.auth-card { max-width: 420px; margin: 60px auto; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.auth-card > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* PAGE-SPECIFIC: Cart / Checkout */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 12px 16px; font-size: 11px; font-weight: 700; color: var(--faint); border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: .06em; }
.cart-table td { padding: 16px; border-bottom: 1px solid #f3f4f6; font-size: 14px; vertical-align: middle; }
.cart-table tr:hover td { background: var(--bg); }
.order-summary-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.order-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.order-row:last-child { border: none; font-size: 16px; font-weight: 700; color: var(--navy); }
.order-row .label { color: var(--muted); }
.tab-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 28px; }
.tab-btn { padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--faint); cursor: pointer; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .15s; background: none; font-family: inherit; }
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* PAGE-SPECIFIC: Industries */
.industry-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; transition: all .2s; }
.industry-card:hover { box-shadow: var(--shadow); }

/* PAGE-SPECIFIC: Packages (pricing) */
.pkg-card { border: 1px solid var(--border); border-radius: 14px; padding: 28px; background: var(--white); transition: all .2s; }
.pkg-card.featured { border-color: var(--navy); box-shadow: 0 4px 24px rgba(30,36,105,.12); }
.pkg-card:hover { box-shadow: var(--shadow); }
.pkg-name { font-size: 18px; font-weight: 800; margin-bottom: 4px; color: var(--text); }
.pkg-price { font-size: 34px; font-weight: 900; color: var(--navy); margin: 12px 0; }
.pkg-price small { font-size: 14px; font-weight: 400; color: var(--faint); }
.pkg-features { list-style: none; margin: 16px 0 20px; display: flex; flex-direction: column; gap: 9px; }
.pkg-features li { font-size: 13.5px; color: var(--text-2); display: flex; align-items: center; gap: 9px; }
.pkg-features li i { color: var(--success); font-size: 12px; flex-shrink: 0; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-title { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .ooh-config-layout { grid-template-columns: 1fr; }
  #ooh-map { min-height: 360px; }
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mob-burger { display: flex; }
  .hero { padding: 48px 0 44px; }
  .hero-title { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .why-grid, .category-grid, .product-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(3,1fr); }
  .budget-step, .summary-grid, .goals-grid, .campaign-type-toggle { grid-template-columns: 1fr; }
  .wizard-panel { padding: 20px; }
  .wizard-nav { padding: 14px 20px; }
  .section { padding: 48px 0; }
  .newsletter-section { padding: 48px 0; }
  .auth-card { margin: 24px auto; }
}

/* ================================================================
   CONTRAST GUARANTEE — overrides any inline or page-specific rules
   Ensures white text on all dark interactive states
================================================================ */

/* Interest chips */
.interest-chip.selected,
.interest-chip.selected *    { color: #fff !important; }
.interest-chip:not(.selected)  { color: #374151; }

/* Gender buttons */
.gender-btn.selected           { background: #1e2469 !important; border-color: #1e2469 !important; color: #fff !important; }
.gender-btn:not(.selected)     { color: #374151; background: #fff; }

/* Region tabs */
.region-tab.active             { background: #1e2469 !important; color: #fff !important; }
.region-tab:not(.active)       { color: #6b7280; background: #fff; }

/* Step tabs */
.wizard-step-tab.active .step-num  { background: #1e2469 !important; color: #fff !important; }
.wizard-step-tab.done .step-num    { background: #059669 !important; color: #fff !important; }
.wizard-step-tab .step-num         { background: #e5e7eb; color: #6b7280; }
.wizard-step-tab.active            { color: #1e2469; }

/* Campaign type cards */
.campaign-type-card.selected h4,
.campaign-type-card.selected p     { color: #1e2469 !important; }

/* Goal cards */
.goal-card.selected span           { color: #1e2469 !important; }
.goal-card.selected i              { color: #1e2469 !important; }

/* Toggle buttons (packages) */
.toggle-btn.active                 { background: #1e2469 !important; color: #fff !important; }
.toggle-btn:not(.active)           { color: #6b7280; }

/* OOH Price summary */
.ooh-price-summary,
.ooh-price-summary .lbl            { color: rgba(255,255,255,.7) !important; }
.ooh-price-summary .val            { color: #fff !important; }
.ooh-price-row:last-child .val     { color: #7dd3fc !important; }

/* Summary price box */
.summary-price-box *               { color: #fff; }
.summary-price-box .s-row          { color: rgba(255,255,255,.8); }
.summary-price-box .s-row .val     { color: #fff !important; }
.summary-price-box .s-row:last-child,
.summary-price-box .s-row:last-child .val { color: #7dd3fc !important; }

/* Nav dropdown hover text */
.drop-panel a:hover  { color: #1e2469 !important; }
.mega-link:hover     { color: #1e2469 !important; }

/* Sector pills / plan cards in acik-hava */
.sector-pill.on,
.sector-btn.selected { background: #1e2469 !important; color: #fff !important; border-color: #1e2469 !important; }

/* Plan cards selected */
.plan-card.on        { border-color: #1e2469 !important; }

/* Dur btns active */
.dur-btn.active      { background: #eef0fb !important; border-color: #1e2469 !important; }
.dur-btn.active .dur-label { color: #1e2469 !important; }
