/* ══════════════════════════════════════════════════════════════
   Apponn.com — Public Design System
   Premium marketing platform — not a generic coupon site.
   ══════════════════════════════════════════════════════════════ */

/* ── Google Fonts loaded in head.php ─────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  /* Neutral */
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --success: #10b981;
  --warning: #f59e0b;
  --danger:  #ef4444;

  /* Typography */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Spacing */
  --section-gap: 96px;
  --card-radius: 16px;
  --btn-radius:  10px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  --shadow-brand: 0 8px 32px rgba(11,31,58,.2);

  /* ── Theme-overridable color vars (set by admin via /admin/theme)
     AppOnn brand palette — navy/green, flat (no gradients) */
  --color-primary:        #0B1F3A;
  --color-primary-hover:  #15365C;
  --color-secondary:      #30343B;
  --color-accent:         #00B84A;
  --color-button:         #0B1F3A;
  --color-link:           #0B1F3A;
  --color-header-bg:      #FFFFFF;
  --color-footer-bg:      #0B1F3A;
  --color-text:           #30343B;
  --color-background:     #F5F7FA;
  --color-surface:        #FFFFFF;
  --color-border:         #E2E8F0;
  --color-text-muted:     #64748B;
  --color-growth:         #00B84A;

  /* Brand alias tokens (navy/green) — referenced by legacy rules.
     Kept alongside the design tokens above so existing rules resolve. */
  --brand:        #0B1F3A;
  --brand-dark:   #15365C;
  --brand-ultra:  #EFF6FF;
  --brand-light:  #DBEAFE;
  --accent:       #00B84A;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--brand-dark); }

/* ── Typography ───────────────────────────────────────────────── */
.display-title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--gray-900);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-button);
  color: #fff !important;
  padding: .7rem 1.6rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: background .18s, transform .12s, box-shadow .18s;
  text-decoration: none;
  box-shadow: var(--shadow-brand);
}
.btn-brand:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(11,31,58,.3);
}
.btn-brand-lg {
  padding: .9rem 2.2rem;
  font-size: 1rem;
  border-radius: 12px;
}
.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--brand) !important;
  padding: .7rem 1.5rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: .9rem;
  border: 2px solid var(--brand);
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
}
.btn-outline-brand:hover {
  background: var(--brand);
  color: #fff !important;
  transform: translateY(-1px);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: var(--brand) !important;
  padding: .75rem 1.8rem;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  color: #fff !important;
  padding: .65rem 1.3rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: .85rem;
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ── Navbar ───────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .2s;
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-display);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gray-900);
  letter-spacing: -.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  flex-wrap: nowrap;
}
.nav-links > li {
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links a {
  padding: .4rem .75rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: background .15s, color .15s;
}
.nav-links a:hover,
.nav-links a.active { background: var(--brand-ultra); color: var(--color-primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-search {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 0 12px;
  gap: 8px;
  border: 1.5px solid transparent;
  transition: border-color .15s, background .15s;
}
.nav-search:focus-within {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,31,58,.1);
}
.nav-search input {
  border: none;
  background: transparent;
  padding: 7px 0;
  font-size: .85rem;
  width: 180px;
  outline: none;
  color: var(--gray-800);
}
.nav-search i { color: var(--gray-400); font-size: .9rem; }

/* ── Hero ─────────────────────────────────────────────────────── */
.site-hero {
  background: #0B1F3A;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.site-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: transparent;
  pointer-events: none;
}
.site-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: transparent;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.hero-badge span { color: #fbbf24; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 1.2rem;
}
.hero-title .gradient-text {
  color: #00B84A;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-search-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 16px;
  max-width: 520px;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: border-color .2s, background .2s;
}
.hero-search-box:focus-within {
  border-color: rgba(0,184,74,.6);
  background: rgba(255,255,255,.12);
}
.hero-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: .95rem;
  padding: .5rem 0;
}
.hero-search-box input::placeholder { color: rgba(255,255,255,.4); }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.25rem;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: .3rem .75rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s;
}
.hero-tag:hover {
  background: rgba(0,184,74,.2);
  border-color: rgba(0,184,74,.4);
  color: #fff;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}

/* ── Trust bar ────────────────────────────────────────────────── */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-500);
}
.trust-item i { color: var(--success); font-size: .85rem; }

/* ── Section wrappers ─────────────────────────────────────────── */
.section { padding: var(--section-gap) 0; }
.section-sm { padding: 56px 0; }
.container-xl {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Category pills ───────────────────────────────────────────── */
.cat-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .55rem 1.1rem;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
  text-decoration: none;
  transition: all .15s;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.cat-chip i { font-size: .9rem; }
.cat-chip:hover,
.cat-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(11,31,58,.25);
}

/* ── Coupon card ──────────────────────────────────────────────── */
.deal-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.deal-card .dc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #00B84A;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: .2rem .6rem;
  border-radius: 6px;
  letter-spacing: .02em;
}
.deal-card .dc-badge-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f59e0b;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 5px;
}
.deal-card .dc-brand {
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.deal-card .dc-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  padding: 2px;
  flex-shrink: 0;
}
.deal-card .dc-brand-logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}
.deal-card .dc-brand-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-600);
  line-height: 1.2;
}
.deal-card .dc-type {
  font-size: .65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.dc-type-external    { background: #F5F7FA; color: #0B1F3A; }
.dc-type-affiliate   { background: #dbeafe; color: #1d4ed8; }
.dc-type-subscription{ background: #fce7f3; color: #9d174d; }
.deal-card .dc-body {
  padding: 12px 16px;
  flex: 1;
}
.deal-card .dc-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.deal-card .dc-discount {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--success);
  margin-bottom: 6px;
}
.deal-card .dc-expiry {
  font-size: .72rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}
.deal-card .dc-expiry.urgent { color: var(--warning); }
.deal-card .dc-foot {
  padding: 10px 16px 14px;
  border-top: 1px dashed var(--gray-200);
  background: var(--gray-50);
}
.deal-card .dc-code {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-ultra);
  border: 1.5px dashed var(--brand);
  border-radius: 8px;
  padding: .35rem .75rem;
  cursor: pointer;
  transition: background .15s;
  margin-bottom: 8px;
}
.deal-card .dc-code:hover { background: var(--brand-light); }
.deal-card .dc-code-text {
  flex: 1;
  font-family: monospace;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deal-card .dc-code-icon { color: var(--brand); font-size: .8rem; flex-shrink: 0; }
.deal-card .dc-get-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: .5rem;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.deal-card .dc-get-btn:hover { background: var(--brand-dark); color: #fff; transform: scale(1.02); }

/* ── Featured deal card (wider) ───────────────────────────────── */
.deal-card-featured {
  background: #1e3a5f;
  border-color: transparent;
  color: #fff;
}
.deal-card-featured .dc-brand { border-bottom-color: rgba(255,255,255,.2); background: rgba(0,0,0,.1); }
.deal-card-featured .dc-brand-name,
.deal-card-featured .dc-title { color: #fff; }
.deal-card-featured .dc-discount { color: #86efac; }
.deal-card-featured .dc-expiry { color: rgba(255,255,255,.65); }
.deal-card-featured .dc-foot { background: rgba(0,0,0,.12); border-top-color: rgba(255,255,255,.15); }
.deal-card-featured .dc-get-btn { background: #00B84A; color: #fff; }
.deal-card-featured .dc-get-btn:hover { background: #009c3e; color: #fff; }

/* Ensure badges keep their own text colors (not white) on featured cards */
.deal-card-featured .badge-pill {
  color: #fff !important;
}
/* Override for expired badge which should maintain visibility */
.deal-card-featured .badge-pill[style*="background:#94a3b8"] {
  background: rgba(148, 163, 184, 0.95) !important;
}

/* Fix description text visibility on featured cards */
.deal-card-featured [style*="color:#64748b"],
.deal-card-featured .dc-desc { color: rgba(255,255,255,.80) !important; }
.deal-card-featured .dc-title-link .dc-title { color: #fff; }
.deal-card-featured .dc-body { color: rgba(255,255,255,.9); }

/* ── Feature blocks ───────────────────────────────────────────── */
.feature-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--card-radius);
  padding: 28px;
  transition: transform .18s, box-shadow .18s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.feature-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ── Stats strip ──────────────────────────────────────────────── */
.stats-strip {
  background: var(--color-primary);
  padding: 56px 0;
}
.stat-box { text-align: center; color: #fff; }
.stat-box-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-box-label {
  font-size: .8rem;
  opacity: .75;
  margin-top: 6px;
  font-weight: 500;
}

/* ── CTA section ──────────────────────────────────────────────── */
.cta-section {
  background: var(--gray-900);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: transparent;
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
}
.cta-section p { color: rgba(255,255,255,.6); font-size: .95rem; margin-bottom: 2rem; }

/* ── Brand logos strip ────────────────────────────────────────── */
.brand-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: 8px 0;
}
.brand-logo-item {
  height: 32px;
  opacity: .45;
  filter: grayscale(1);
  transition: opacity .2s, filter .2s;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-logo-item:hover { opacity: .8; filter: grayscale(0); }

/* ── Coupon detail page ───────────────────────────────────────── */
.deal-detail-hero {
  background: #0B1F3A;
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}
.deal-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
.deal-code-display {
  background: rgba(255,255,255,.08);
  border: 2px dashed rgba(255,255,255,.3);
  border-radius: 14px;
  padding: 1rem 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: background .18s, border-color .18s;
  backdrop-filter: blur(8px);
}
.deal-code-display:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(0,184,74,.6);
}
.deal-code-text {
  font-family: monospace;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #fff;
}
.deal-code-copy {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: .4rem .8rem;
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 700;
}
.deal-get-btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff !important;
  padding: 1rem 2.4rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 8px 24px rgba(0,184,74,.3);
}
.deal-get-btn-lg:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,184,74,.4); color: #fff; }
.deal-info-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.deal-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: .875rem;
}
.deal-info-row:last-child { border-bottom: none; }
.deal-info-row i { color: var(--brand); font-size: 1rem; flex-shrink: 0; width: 20px; }
.deal-info-label { color: var(--gray-500); width: 110px; flex-shrink: 0; font-size: .8rem; }
.deal-info-value { color: var(--gray-800); font-weight: 600; }
.disclosure-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8eb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  color: #92400e;
  margin-top: 12px;
}

/* ── Sidebar sticky deal box ──────────────────────────────────── */
.sticky-deal-box {
  position: sticky;
  top: 80px;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sticky-deal-box .sdb-head {
  background: var(--color-primary);
  padding: 20px;
  text-align: center;
}
.sticky-deal-box .sdb-body { padding: 20px; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7;
  color: #166534;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 6px;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-footer-bg);
  color: rgba(255,255,255,.7);
}
.footer-top {
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-desc {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin: 12px 0 20px;
  max-width: 280px;
}
.footer-heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ── Empty state ──────────────────────────────────────────────── */
.empty-state-box {
  text-align: center;
  padding: 80px 24px;
  color: var(--gray-400);
}
.empty-state-box i { font-size: 3rem; margin-bottom: 16px; display: block; opacity: .4; }
.empty-state-box h5 { font-weight: 700; color: var(--gray-600); margin-bottom: 8px; }
.empty-state-box p { font-size: .875rem; }

/* ── Breadcrumb ───────────────────────────────────────────────── */
.ap-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--gray-400);
  flex-wrap: wrap;
}
.ap-breadcrumb a { color: var(--gray-500); }
.ap-breadcrumb a:hover { color: var(--brand); }
.ap-breadcrumb .sep { color: var(--gray-300); }

/* ── Tag badge ────────────────────────────────────────────────── */
.ap-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: .2rem .65rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
}

/* ── Scroll animations ────────────────────────────────────────── */
[data-fade] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-fade].visible {
  opacity: 1;
  transform: none;
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-gap: 60px; }
  .site-hero { padding: 60px 0 50px; }
  .hero-stats { gap: 20px; }
  .cta-section { padding: 40px 24px; }
  .nav-links, .nav-search { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .deal-code-text { font-size: 1.2rem; }
}

/* ══════════════════════════════════════════════════════════════
   ADDITIONS — Fixes for layout, coupon code, builder content
   ══════════════════════════════════════════════════════════════ */

/* ── Standalone .dc-code (used outside .deal-card too) ───────── */
.dc-code {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-ultra);
  border: 1.5px dashed var(--brand);
  border-radius: 10px;
  padding: .6rem 1rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.dc-code:hover {
  background: var(--brand-light);
  border-color: var(--brand-dark);
}
.dc-code-text {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .95rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  word-break: normal;
}
.dc-code-icon {
  color: var(--brand);
  font-size: .9rem;
  flex-shrink: 0;
}

/* ── Coupon card reveal — moved from _card.php <style> ────────── */
.badge-pill {
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.dc-foot {
  padding: 12px 14px 14px;
}
.dc-show-coupon-btn,
.dc-get-deal-btn {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .2s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  gap: 8px;
}
.dc-show-coupon-btn:hover,
.dc-get-deal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,31,58,.3);
  color: #fff;
}
.dc-show-coupon-btn:active,
.dc-get-deal-btn:active {
  transform: translateY(0);
}
.dc-show-btn-text,
.dc-get-deal-btn span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dc-show-btn-text i,
.dc-get-deal-btn i:first-child {
  font-size: 1.1rem;
}
.dc-revealed-code {
  margin-top: 10px;
  animation: dc-slide-down .3s ease;
}
@keyframes dc-slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
.dc-code-display {
  background: #f8fafc;
  border: 2px dashed #0B1F3A;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all .2s;
  flex-wrap: nowrap;
}
.dc-code-display:hover {
  background: #F5F7FA;
  border-color: #0B1F3A;
}
.dc-code-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0B1F3A;
  letter-spacing: .08em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}
.dc-copy-again-btn {
  background: #0B1F3A;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s;
}
.dc-copy-again-btn:hover { background: #15365C; }
.dc-code-copied {
  background: #10b981;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  text-align: center;
  margin-top: 8px;
  animation: dc-pop-in .3s ease;
}
@keyframes dc-pop-in {
  0%   { transform: scale(0); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ── Deal detail hero — class-based replacements ──────────────── */
.deal-hero-brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  object-fit: contain;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.deal-hero-brand-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.deal-hero-brand-name {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.deal-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.deal-discount-badge {
  background: #00B84A;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  padding: .4rem 1.2rem;
  border-radius: 10px;
  letter-spacing: -.02em;
  display: inline-block;
}
.deal-expires-note {
  color: rgba(255,255,255,.5);
  font-size: .8rem;
}
.dc-code-label {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dc-copy-hint {
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  margin-top: 6px;
}
.deal-expired-notice {
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fca5a5;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.deal-hero-cta-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 28px;
}
.deal-hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.deal-hero-stat-box {
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.deal-hero-stat-label {
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.deal-hero-stat-value {
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
}
.deal-type-tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-size: .68rem;
  padding: .2rem .6rem;
  border-radius: 5px;
  font-weight: 600;
}

/* ── Content boxes on deal detail page ────────────────────────── */
.deal-content-box {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}
.deal-content-box-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gray-800);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.deal-content-box-body {
  color: var(--gray-600);
  font-size: .9rem;
  line-height: 1.75;
}
.deal-eligible-box {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 16px;
  padding: 20px;
  height: 100%;
}
.deal-eligible-title {
  font-size: .9rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.deal-eligible-text {
  font-size: .85rem;
  color: #15803d;
  line-height: 1.6;
  margin: 0;
}
.deal-exclusion-box {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 16px;
  padding: 20px;
  height: 100%;
}
.deal-exclusion-title {
  font-size: .9rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.deal-exclusion-text {
  font-size: .85rem;
  color: #b91c1c;
  line-height: 1.6;
  margin: 0;
}
.deal-terms-details {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.deal-terms-summary {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.deal-terms-body {
  margin-top: 12px;
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.deal-disclosure-affiliate {
  background: #fff8eb;
  border-left: 4px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: .82rem;
  color: #78350f;
  margin-bottom: 20px;
}
.deal-disclosure-notice {
  background: var(--gray-50);
  border-left: 4px solid var(--gray-300);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: .82rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.sdb-brand-logo {
  height: 40px;
  object-fit: contain;
  background: rgba(255,255,255,.1);
  padding: 6px;
  border-radius: 8px;
  margin: 0 auto 10px;
  display: block;
}
.sdb-discount-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: -.03em;
}
.sdb-discount-subtitle {
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  margin-top: 2px;
}
.sdb-title {
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}
.deal-categories-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin-bottom: 8px;
}

/* ── Why AppOnn section — scoped so it doesn't break How It Works */
.why-apponn-section .feature-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all .3s;
  height: 100%;
}
.why-apponn-section .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11,31,58,.12);
}
.why-apponn-section .feature-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  display: block;
  margin-bottom: 0;
}
.why-apponn-section .feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.why-apponn-section .feature-desc {
  font-size: .85rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Why AppOnn stat cards */
.why-apponn-section .stat-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  text-align: center;
  transition: all .3s;
}
.why-apponn-section .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11,31,58,.15);
}
.why-apponn-section .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.why-apponn-section .stat-label {
  font-size: .85rem;
  color: #64748b;
  margin-top: 6px;
}

/* Why AppOnn comparison table */
.why-apponn-section .comparison-table { width: 100%; border-collapse: collapse; }
.why-apponn-section .comparison-table th,
.why-apponn-section .comparison-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  font-size: .85rem;
}
.why-apponn-section .comparison-table th:first-child,
.why-apponn-section .comparison-table td:first-child { text-align: left; color: #475569; }
.why-apponn-section .comparison-table thead th { background: #f8fafc; font-weight: 700; font-size: .8rem; color: #64748b; }
.why-apponn-section .comparison-table .highlight-col { background: #F5F7FA; font-weight: 600; }
.why-apponn-section .comparison-table .editor-choice-row td { background: #F5F7FA; font-weight: 600; }
.why-apponn-section .comparison-table .apponn-col { color: #0B1F3A; font-weight: 800; font-size: .95rem; }

/* Why AppOnn CTA banner */
.why-apponn-section .cta-banner {
  background: var(--color-primary);
  border-radius: 20px;
  padding: 56px 40px;
  color: #fff;
  margin-top: 48px;
}
.why-apponn-section .cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.why-apponn-section .cta-subtitle {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Builder-rendered page content — match site design ─────────── */
.builder-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.builder-page-content h1,
.builder-page-content h2,
.builder-page-content h3,
.builder-page-content h4,
.builder-page-content h5,
.builder-page-content h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
  margin-top: 1.5em;
  margin-bottom: .6em;
}
.builder-page-content h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.03em; }
.builder-page-content h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.builder-page-content h3 { font-size: 1.3rem; }
.builder-page-content h4 { font-size: 1.1rem; }
.builder-page-content p  {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1em;
}
.builder-page-content ul,
.builder-page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1em;
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.75;
}
.builder-page-content li { margin-bottom: .4em; }
.builder-page-content strong { color: var(--gray-800); }
.builder-page-content a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(11,31,58,.3); }
.builder-page-content a:hover { color: var(--brand-dark); text-decoration-color: var(--brand-dark); }
.builder-page-content blockquote {
  border-left: 4px solid var(--brand);
  margin: 1.5em 0;
  padding: .75em 1.25em;
  background: var(--brand-ultra);
  border-radius: 0 8px 8px 0;
  color: var(--gray-700);
  font-style: italic;
}
.builder-page-content code {
  background: var(--gray-100);
  border-radius: 4px;
  padding: .15em .4em;
  font-size: .88em;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.builder-page-content pre {
  background: var(--gray-900);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 1.25em 1.5em;
  overflow-x: auto;
  font-size: .85rem;
  margin-bottom: 1.5em;
}
.builder-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: .88rem;
}
.builder-page-content table th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--gray-700);
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  text-align: left;
}
.builder-page-content table td {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  vertical-align: top;
}
.builder-page-content table tr:nth-child(even) td { background: var(--gray-50); }
.builder-page-content img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Builder section blocks ────────────────────────────────────── */
.builder-section {
  width: 100%;
  position: relative;
}
.builder-section-inner {
  position: relative;
  z-index: 1;
}
.builder-section-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ── Responsive fixes ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .dc-code-value { font-size: .95rem; letter-spacing: .05em; }
  .dc-copy-again-btn { padding: 5px 10px; font-size: .75rem; }
  .dc-code-display { padding: 10px 12px; gap: 8px; }
  .deal-hero-cta-card { padding: 20px; }
  .deal-hero-stats-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .why-apponn-section .cta-banner { padding: 36px 24px; }
  .builder-page-content { padding: 0 16px; }
  .dc-show-coupon-btn, .dc-get-deal-btn { font-size: .85rem; padding: 10px 14px; }
}
@media (max-width: 480px) {
  .dc-code-value { font-size: .85rem; }
  .deal-discount-badge { font-size: 1.2rem; padding: .3rem .9rem; }
  .deal-hero-title { font-size: 1.4rem; }
}

/* ── Coupon card badge variants ───────────────────────────────── */
.badge-pill--green  { background: #00B84A; }
.badge-pill--blue   { background: #2563eb; }
.badge-pill--orange { background: #f59e0b; }
.badge-pill--purple { background: #0B1F3A; }
.badge-pill--gray   { background: #94a3b8; }

/* ── Coupon card structural fixes ─────────────────────────────── */
.dc-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 0;
  flex-wrap: wrap;
}
.dc-badges .badge-pill { font-size: .62rem; }
.dc-body { padding: 10px 14px 8px; flex: 1; }
.dc-desc {
  font-size: .75rem;
  color: var(--gray-500);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.dc-title-link {
  text-decoration: none;
  display: block;
  position: relative;
  z-index: 1;
}

/* Featured card overrides for new classes */
.deal-card-featured .dc-desc { color: rgba(255,255,255,.65); }
.deal-card-featured .dc-title-link .dc-title { color: #fff; }

/* ══════════════════════════════════════════════════════════════
   WHY APPONN SECTION — fully scoped, zero conflicts
   ══════════════════════════════════════════════════════════════ */
.why-section {
  background: #F5F7FA;
  padding: var(--section-gap) 0;
}

/* Stats */
.why-stat {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.why-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11,31,58,.12);
  border-color: #0B1F3A;
}
.why-stat-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}
.why-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.why-stat-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Sub heading */
.why-sub-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--gray-900);
}

/* Feature cards */
.why-feature-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  height: 100%;
  transition: all .25s;
}
.why-feature-card:hover {
  border-color: #0B1F3A;
  box-shadow: 0 8px 24px rgba(11,31,58,.12);
  transform: translateY(-2px);
}
.why-feature-icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.why-feature-body { flex: 1; min-width: 0; }
.why-feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.why-feature-desc {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* Comparison table */
.why-compare-table {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border-collapse: collapse;
}
.why-compare-table thead { background: var(--color-primary); }
.why-compare-table th {
  padding: 18px 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  font-size: .88rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.why-compare-table th:first-child { text-align: left; }
.why-compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
  border-right: 1px solid var(--gray-100);
  font-size: .875rem;
  color: var(--gray-600);
}
.why-compare-table td:first-child { text-align: left; font-weight: 600; color: var(--gray-800); }
.why-compare-table tbody tr:hover { background: var(--gray-50); }
.why-col-apponn {
  background: #EFF6FF !important;
  font-weight: 700;
  color: #0B1F3A !important;
}
.why-compare-table .bi { font-size: 1.2rem; }
.why-compare-winner td { background: #fef3c7 !important; font-weight: 700; border-bottom: none; }
.why-compare-logo { height: 22px; display: inline-block; vertical-align: middle; margin-right: 4px; }

/* CTA banner */
.why-cta-banner {
  background: var(--color-primary);
  border-radius: 24px;
  padding: 60px 48px;
  color: #fff;
  box-shadow: 0 20px 60px rgba(11,31,58,.25);
  position: relative;
  overflow: hidden;
}
.why-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
.why-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.why-cta-sub {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Pro tip */
.why-pro-tip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-top: 40px;
  font-size: .9rem;
  color: #1e40af;
  line-height: 1.65;
}
.why-pro-tip-icon {
  font-size: 1.5rem;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-pro-tip-label { font-weight: 700; display: inline; }

/* Responsive */
@media (max-width: 768px) {
  .why-cta-banner { padding: 36px 24px; }
  .why-stat-num { font-size: 1.8rem; }
  .why-feature-card { gap: 12px; }
  .why-compare-table th,
  .why-compare-table td { padding: 10px 8px; font-size: .78rem; }
  .why-compare-table th:nth-child(3),
  .why-compare-table th:nth-child(4),
  .why-compare-table td:nth-child(3),
  .why-compare-table td:nth-child(4) { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   HOME PAGE — class-based, zero inline styles
   ══════════════════════════════════════════════════════════════ */

/* Hero */
.hero-badge-sep      { color: rgba(255,255,255,.5); }
.hero-search-icon    { color: rgba(255,255,255,.4); }
.hero-tags-label     { font-size:.72rem; color:rgba(255,255,255,.4); font-weight:500; align-self:center; }

/* Hero preview cards */
.hero-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
}
.hero-preview-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(8px);
  transition: transform .2s;
}
.hero-preview-card:hover { transform: scale(1.03); }
.hero-preview-card-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
}
.hero-preview-card-brand {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-preview-card-title {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}
.hero-preview-card-badge {
  display: inline-block;
  background: rgba(16,185,129,.2);
  border: 1px solid rgba(16,185,129,.3);
  color: #6ee7b7;
  font-size: .72rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 6px;
}

/* Category count badge */
.cat-count {
  background: var(--gray-200);
  color: var(--gray-500);
  font-size: .65rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* Section backgrounds */
.home-featured-bg { background: var(--gray-50); }

/* How It Works step label */
.feature-step-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}

/* Brand pages cards */
.bp-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-200);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  height: 100%;
}
.bp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.bp-card-hero {
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bp-card-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 160px;
  height: 160px;
  background: transparent;
  pointer-events: none;
}
.bp-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.bp-card-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  padding: 4px;
  flex-shrink: 0;
}
.bp-card-logo-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
}
.bp-card-brand {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}
.bp-card-template {
  font-size: .65rem;
  font-weight: 700;
  background: rgba(255,255,255,.15);
  padding: 2px 8px;
  border-radius: 5px;
  opacity: .8;
}
.bp-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .98rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.bp-card-sub {
  font-size: .75rem;
  opacity: .65;
  margin-top: 5px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.bp-card-foot {
  background: #fff;
  border-top: 1px solid var(--gray-100);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bp-card-views {
  font-size: .75rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 5px;
}
.bp-card-views i { color: var(--gray-400); }
.bp-card-cta {
  font-size: .75rem;
  font-weight: 700;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Brand promo strip */
.brand-promo-strip {
  margin-top: 24px;
  background: #0B1F3A;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand-promo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}
.brand-promo-sub {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}

/* Why Brands section */
.brands-intro-text {
  color: var(--gray-500);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.brand-benefit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.brand-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-ultra);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}
.brand-benefit-text {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-700);
}
.brand-stats-panel {
  background: #0B1F3A;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.brand-stats-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: transparent;
  pointer-events: none;
}
.brand-stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 20px;
}
.brand-stat-icon {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 8px;
}
.brand-stat-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: -.03em;
}
.brand-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-cards-grid { grid-template-columns: 1fr 1fr; gap: 8px; transform: none; }
  .brand-stats-panel { padding: 24px 20px; }
  .brand-promo-strip { padding: 20px; }
  .bp-card-hero { min-height: 90px; padding: 16px; }
}
@media (max-width: 480px) {
  .hero-cards-grid { display: none; }
  .brand-stats-panel .row { gap: 8px; }
}

/* ══════════════════════════════════════════════════════════════
   Builder Section & Block — Public Frontend Styles
   ══════════════════════════════════════════════════════════════ */

/* Section block wrapper */
.builder-section {
  width: 100%;
  position: relative;
}

/* Non-section blocks inside brand page — add vertical rhythm */
.brand-page-body .container-xl.builder-page-content {
  padding-top: 32px;
  padding-bottom: 8px;
}
.brand-page-body .container-xl.builder-page-content:last-child {
  padding-bottom: 48px;
}

/* Section inner content container */
.builder-section > div {
  width: 100%;
}

/* Builder block typography */
.builder-heading { margin-top: 0; margin-bottom: .75rem; }
.builder-paragraph { margin-bottom: 1rem; color: var(--gray-600); line-height: 1.75; }
.builder-richtext { line-height: 1.75; color: var(--gray-600); margin-bottom: 1rem; }
.builder-richtext p  { margin-bottom: .85em; }
.builder-richtext ul, .builder-richtext ol { padding-left: 1.5rem; margin-bottom: 1em; }
.builder-richtext li { margin-bottom: .35em; }
.builder-richtext strong { color: var(--gray-800); }
.builder-richtext a { color: var(--brand); }

/* Quote */
.builder-quote {
  border-left: 4px solid var(--brand);
  padding: 1rem 1.5rem;
  background: var(--brand-ultra);
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}
.builder-quote p { margin-bottom: .5rem; color: var(--gray-700); font-style: italic; font-size: 1.05rem; }
.builder-quote footer { font-size: .85rem; color: var(--gray-500); font-weight: 600; }

/* Figure / image */
.builder-figure { margin: 1.5rem 0; }
.builder-figure.text-center { text-align: center; }
.builder-figure figcaption { font-size: .8rem; color: var(--gray-400); margin-top: 6px; text-align: center; }
.builder-image { border-radius: 10px; }

/* Video */
.builder-video { border-radius: 10px; overflow: hidden; margin-bottom: 1.5rem; }

/* Buttons */
.builder-btn-wrap { margin-bottom: 1.25rem; }

/* CTA */
.builder-cta {
  padding: 64px 32px;
  text-align: center;
  border-radius: 16px;
  margin: 2rem 0;
}
.builder-cta-inner { max-width: 600px; margin: 0 auto; }
.builder-cta h2 { color: inherit; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .75rem; }
.builder-cta p   { opacity: .8; margin-bottom: 1.5rem; }

/* Hero */
.builder-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin: 1.5rem 0;
  overflow: hidden;
}
.builder-hero-inner { padding: 60px 40px; max-width: 700px; }
.builder-hero h1 { color: inherit; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: .75rem; }
.builder-hero p.lead { opacity: .8; font-size: 1.1rem; margin-bottom: 1.5rem; }

/* Alert */
.builder-alert { margin-bottom: 1.25rem; }

/* Tabs */
.builder-tabs { margin-bottom: 1.5rem; }

/* Table */
.builder-table th { background: var(--gray-50); font-weight: 700; }

/* Columns */
.builder-columns { margin-bottom: 1.5rem; }

/* Divider */
.builder-divider { opacity: .6; }

/* Coupon grid on brand page */
.builder-coupongrid { margin-bottom: 2rem; }
.builder-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-ultra);
  border: 1.5px dashed var(--brand);
  border-radius: 6px;
  padding: 4px 12px;
  font-family: monospace;
  font-weight: 700;
  font-size: .85rem;
  color: var(--brand);
  cursor: pointer;
  transition: background .15s;
}
.builder-code-pill:hover { background: var(--brand-light); }

/* Brand page body spacing */
.brand-page-body { min-height: 300px; }

/* Responsive */
@media (max-width: 768px) {
  .builder-hero-inner { padding: 40px 24px; }
  .builder-cta { padding: 40px 20px; }
  .builder-section > div { padding-left: 0; padding-right: 0; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE FIXES — Mobile padding, nav, content layout
   ══════════════════════════════════════════════════════════════ */

/* ── Container padding on all screen sizes ────────────────────── */
.container-xl {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;  /* was 0 24px — keep 16px on all sizes */
}
@media (min-width: 576px)  { .container-xl { padding: 0 20px; } }
@media (min-width: 768px)  { .container-xl { padding: 0 24px; } }
@media (min-width: 1200px) { .container-xl { padding: 0 32px; } }

/* ── Brand page content padding on mobile ─────────────────────── */
.brand-page-body .container-xl.builder-page-content,
.builder-page-content {
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 576px) {
  .builder-page-content { padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 768px) {
  .builder-page-content { padding-left: 24px; padding-right: 24px; }
}

/* ── Section blocks on mobile get side padding ────────────────── */
.builder-section > div {
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 576px) {
  .builder-section > div { padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 768px) {
  .builder-section > div { padding-left: 24px; padding-right: 24px; }
}
/* Full-width sections override */
.builder-section[style*="width:100%"] > div,
.builder-section.full-width > div {
  padding-left: 0;
  padding-right: 0;
}

/* ── Mobile nav improvements ──────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav .nav-links  { display: none !important; }
  .site-nav .nav-search { display: none !important; }
  .site-nav .nav-actions { display: none !important; }
  .nav-mobile-toggle { display: flex !important; }

  /* Hero adjustments */
  .site-hero { padding: 48px 0 40px; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .hero-cards-grid { display: none; }
  .hero-stats { gap: 16px; }
  .hero-stat-value { font-size: 1.3rem; }

  /* Category scroll */
  .cat-scroll { padding-bottom: 8px; }

  /* Deal cards grid */
  .deal-card .dc-brand-name { font-size: .75rem; }
  .deal-card .dc-title { font-size: .82rem; }

  /* Section spacing */
  .section { padding: 48px 0; }
  .section-sm { padding: 36px 0; }
}

/* ── Extra small phones ───────────────────────────────────────── */
@media (max-width: 480px) {
  .container-xl { padding: 0 12px; }
  .builder-page-content { padding-left: 12px; padding-right: 12px; }
  .builder-section > div { padding-left: 12px; padding-right: 12px; }

  /* Brand page hero */
  .deal-detail-hero { padding: 32px 0 36px; }
  .deal-hero-title { font-size: 1.4rem; }

  /* Coupon card footer buttons */
  .dc-show-coupon-btn, .dc-get-deal-btn {
    font-size: .82rem;
    padding: 10px 12px;
  }

  /* Builder section default padding reduction */
  .builder-section { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ── Mobile nav menu styling ──────────────────────────────────── */
.nav-mobile-menu {
  position: relative;
  z-index: 999;
}
.nav-mobile-menu .nav-mobile-link {
  border-bottom: 1px solid #f1f5f9;
}
.nav-mobile-menu .nav-mobile-link:last-child { border-bottom: none; }

/* Partner login button in mobile nav */
.nav-mobile-menu .nav-partner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 12px;
  cursor: pointer;
}

/* ── Breadcrumb on mobile ─────────────────────────────────────── */
@media (max-width: 576px) {
  .ap-breadcrumb {
    font-size: .7rem;
    flex-wrap: wrap;
    gap: 4px;
  }
}

/* ── Why AppOnn section responsive ───────────────────────────── */
@media (max-width: 768px) {
  .why-compare-table th:nth-child(4),
  .why-compare-table td:nth-child(4) { display: none; }
  .why-cta-banner { padding: 32px 20px; }
  .why-feature-card { padding: 16px; }
}
@media (max-width: 480px) {
  .why-compare-table th:nth-child(3),
  .why-compare-table td:nth-child(3),
  .why-compare-table th:nth-child(4),
  .why-compare-table td:nth-child(4) { display: none; }
  .why-stat-num { font-size: 1.6rem; }
}

/* ── Brand page public responsive ────────────────────────────── */
@media (max-width: 768px) {
  /* Hero padding */
  .brand-page-body section[style*="padding:56px"] {
    padding: 36px 0 32px !important;
  }
  /* Footer strip */
  .brand-page-body > div[style*="background:#f8fafc"] {
    padding: 28px 0;
  }
}

/* ── Home page hero cards grid ────────────────────────────────── */
@media (max-width: 992px) {
  .hero-cards-grid { display: none; }
}

/* ── Coupon listing page ──────────────────────────────────────── */
@media (max-width: 768px) {
  /* Filter sidebar collapsible on mobile */
  .filter-sidebar { 
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
  }
}

/* ── Force all images to not overflow ─────────────────────────── */
img { max-width: 100%; height: auto; }
.builder-page-content img { border-radius: 8px; }

/* ── Overflow prevention ──────────────────────────────────────── */
body { overflow-x: hidden; }
.builder-section { overflow-x: hidden; }
.brand-page-body { overflow-x: hidden; }

/* ══════════════════════════════════════════════════════════════
   PRICING PAGE — moved from inline <style> to avoid render issues
   ══════════════════════════════════════════════════════════════ */
.pricing-hero{background:#0B1F3A;padding:80px 0 60px;position:relative;overflow:hidden;text-align:center}
.pricing-hero-glow{position:absolute;top:-30%;left:50%;transform:translateX(-50%);width:600px;height:600px;background:transparent;pointer-events:none}
.pricing-hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.85);padding:.4rem 1.1rem;border-radius:999px;font-size:.78rem;font-weight:600;margin-bottom:1.5rem}
.pricing-hero-title{font-family:var(--font-display);font-weight:900;font-size:clamp(2rem,5vw,3.2rem);color:#fff;letter-spacing:-.04em;line-height:1.1;margin-bottom:1rem}
.pricing-hero-sub{color:rgba(255,255,255,.6);font-size:1.05rem;line-height:1.7;margin-bottom:2rem}
.pricing-billing-toggle{display:inline-flex;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);border-radius:999px;padding:4px;gap:4px}
.billing-opt{padding:.45rem 1.25rem;border-radius:999px;font-size:.85rem;font-weight:600;color:rgba(255,255,255,.6);cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:8px}
.billing-opt.active{background:#fff;color:#1e293b}
.billing-save-badge{background:#00B84A;color:#fff;font-size:.62rem;font-weight:800;padding:2px 7px;border-radius:999px}
.pricing-cards-section{background:#f8fafc;padding:64px 0 48px}
.pricing-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:20px;padding:28px 24px;height:100%;display:flex;flex-direction:column;position:relative;transition:transform .2s,box-shadow .2s;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.pricing-card:hover{transform:translateY(-6px);box-shadow:0 16px 48px rgba(0,0,0,.1)}
.pricing-card-popular{border-color:#0B1F3A!important;border-width:2.5px!important;box-shadow:0 8px 32px rgba(11,31,58,.15)!important}
.pricing-popular-badge{position:absolute;top:-15px;left:50%;transform:translateX(-50%);background:var(--color-primary);color:#fff;font-size:.7rem;font-weight:800;padding:.3rem 1.2rem;border-radius:999px;letter-spacing:.06em;white-space:nowrap}
.pricing-card-header{margin-bottom:20px}
.pricing-plan-icon{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;margin-bottom:12px}
.pricing-icon-free{background:#f1f5f9;color:#64748b}
.pricing-icon-basic{background:#e0f2fe;color:#0369a1}
.pricing-icon-business{background:#F5F7FA;color:#0B1F3A}
.pricing-icon-unlimited{background:#fef9c3;color:#ca8a04}
.pricing-plan-name{font-family:var(--font-display);font-weight:800;font-size:1.2rem;color:#0f172a}
.pricing-plan-tagline{font-size:.8rem;color:#64748b;margin-top:2px}
.pricing-price-wrap{margin-bottom:20px}
.pricing-price-free{font-family:var(--font-display);font-weight:900;font-size:2.5rem;color:#0f172a}
.pricing-price-amount{display:flex;align-items:flex-start;line-height:1;gap:2px}
.pricing-price-currency{font-size:1.1rem;font-weight:700;color:#64748b;margin-top:6px}
.pricing-price-num{font-family:var(--font-display);font-weight:900;font-size:2.5rem;color:#0f172a}
.pricing-price-note{font-size:.75rem;color:#94a3b8;margin-top:4px}
.pricing-limits{background:#f8fafc;border-radius:10px;padding:12px 14px;margin-bottom:18px}
.pricing-limit-row{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:.82rem;color:#475569}
.pricing-limit-row:first-child{border-bottom:1px solid #e2e8f0}
.pricing-limit-row i{color:#0B1F3A;font-size:.85rem;min-width:14px}
.pricing-limit-val{margin-left:auto;font-size:.9rem}
.pricing-features{list-style:none;padding:0;margin:0 0 20px;flex:1}
.pricing-features li{display:flex;align-items:flex-start;gap:8px;padding:5px 0;font-size:.84rem;color:#334155}
.pricing-features li i{color:#0B1F3A;font-size:.9rem;flex-shrink:0;margin-top:2px}
.pricing-cta-btn{display:block;text-align:center;padding:.8rem;background:#0f172a;color:#fff!important;border-radius:10px;font-weight:700;font-size:.9rem;text-decoration:none;transition:all .18s;border:none;width:100%;cursor:pointer}
.pricing-cta-btn:hover{background:#1e293b;transform:translateY(-1px)}
.pricing-cta-popular{background:var(--color-primary)!important;box-shadow:0 6px 20px rgba(11,31,58,.35)}
.pricing-cta-popular:hover{background:var(--color-primary-hover)!important}
.pricing-card-footer-note{text-align:center;font-size:.72rem;color:#94a3b8;margin-top:8px}
.pricing-trust-row{display:flex;gap:24px;flex-wrap:wrap;justify-content:center;margin-top:48px;padding:28px 32px;background:#fff;border:1.5px solid #e2e8f0;border-radius:16px}
.pricing-trust-item{display:flex;align-items:center;gap:12px;font-size:.82rem}
.pricing-trust-item i{font-size:1.5rem}
.pricing-trust-title{font-weight:700;color:#1e293b}
.pricing-trust-desc{color:#64748b}
.pricing-stats-section{background:var(--color-primary);padding:56px 0}
.pricing-stat-num{font-family:var(--font-display);font-weight:900;font-size:clamp(1.8rem,4vw,2.8rem);color:#fff;letter-spacing:-.03em}
.pricing-stat-label{font-size:.82rem;color:rgba(255,255,255,.7);margin-top:4px;font-weight:500}
.pricing-compare-section{padding:80px 0;background:#fff}
.pricing-section-title{font-family:var(--font-display);font-weight:800;font-size:clamp(1.5rem,3vw,2rem);text-align:center;color:#0f172a;margin-bottom:8px}
.pricing-section-sub{text-align:center;color:#64748b;margin-bottom:40px;font-size:.95rem}
.pricing-compare-wrap{overflow-x:auto;border-radius:16px;border:1.5px solid #e2e8f0}
.pricing-compare-table{width:100%;border-collapse:collapse;font-size:.875rem}
.pricing-compare-table thead{background:#0f172a}
.pricing-compare-table th{padding:16px;font-weight:700;color:#fff;text-align:center;border-right:1px solid rgba(255,255,255,.08)}
.compare-feature-col{text-align:left!important}
.compare-popular-col{background:rgba(11,31,58,.06)}
.compare-popular-label{font-size:.62rem;background:#0B1F3A;color:#fff;padding:1px 7px;border-radius:999px;display:inline-block;margin-top:4px;font-weight:800}
.pricing-compare-table td{padding:13px 16px;text-align:center;border-bottom:1px solid #f1f5f9;border-right:1px solid #f1f5f9;color:#475569}
.compare-feature-name{text-align:left!important;font-weight:600;color:#1e293b}
.pricing-compare-table tbody tr:hover td{background:#fafbfc}
.compare-check{color:#10b981;font-size:1.1rem}
.compare-no{color:#cbd5e1;font-size:1.1rem}
.compare-free{color:#10b981;font-weight:800}
.compare-unlimited{color:#0B1F3A;font-weight:800}
.pricing-proof-section{background:#f8fafc;padding:72px 0}
.pricing-testimonial{background:#fff;border:1.5px solid #e2e8f0;border-radius:16px;padding:24px;height:100%;transition:box-shadow .18s}
.pricing-testimonial:hover{box-shadow:0 8px 24px rgba(0,0,0,.08)}
.pricing-stars{margin-bottom:12px;font-size:.9rem}
.pricing-quote{font-size:.9rem;color:#475569;line-height:1.7;font-style:italic;margin-bottom:16px}
.pricing-author{display:flex;align-items:center;gap:10px}
.pricing-author-avatar{width:36px;height:36px;border-radius:10px;background:var(--color-primary);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:.85rem;flex-shrink:0}
.pricing-author-name{font-weight:700;font-size:.84rem;color:#1e293b}
.pricing-author-role{font-size:.75rem;color:#94a3b8}
.pricing-faq-section{background:#fff;padding:72px 0}
.pricing-faq-item{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:12px;padding:16px 20px;margin-bottom:10px;transition:border-color .15s}
.pricing-faq-item[open]{border-color:#0B1F3A;background:#F5F7FA}
.pricing-faq-q{font-weight:700;font-size:.925rem;color:#1e293b;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}
.pricing-faq-q::-webkit-details-marker{display:none}
.pricing-faq-icon{color:#0B1F3A;font-size:.9rem;flex-shrink:0;transition:transform .2s}
.pricing-faq-item[open] .pricing-faq-icon{transform:rotate(45deg)}
.pricing-faq-a{margin-top:12px;font-size:.875rem;color:#64748b;line-height:1.75}
.pricing-bottom-cta{background:#0B1F3A;padding:80px 0;text-align:center;position:relative;overflow:hidden}
.pricing-cta-glow{position:absolute;inset:0;background:transparent;pointer-events:none}
.pricing-bottom-title{font-family:var(--font-display);font-weight:900;font-size:clamp(1.8rem,4vw,2.8rem);color:#fff;letter-spacing:-.03em;margin-bottom:.75rem}
.pricing-bottom-sub{color:rgba(255,255,255,.65);font-size:1rem;margin-bottom:2rem;line-height:1.65}
.pricing-card-current{border-color:#10b981!important;border-width:2.5px!important;box-shadow:0 8px 32px rgba(16,185,129,.12)!important}
.pricing-cta-current{text-align:center;padding:.8rem;background:#f0fdf4;border:1.5px solid #bbf7d0;border-radius:10px;font-weight:700;font-size:.875rem;color:#166534}
@media(max-width:768px){.pricing-trust-row{padding:20px 16px;gap:16px}.pricing-trust-item{flex:0 0 calc(50% - 8px)}.pricing-compare-table{font-size:.78rem}.pricing-compare-table th,.pricing-compare-table td{padding:10px 8px}}
@media(max-width:480px){.pricing-trust-item{flex:0 0 100%}.pricing-hero-title{font-size:1.9rem}}
