/* ================================================================
   LEARNING COUPONS — Main Stylesheet
   Color Palette:
   --dark-navy:    #2D3748
   --teal:         #38B2AC
   --green:        #48BB78
   --gold:         #ECC94B
   --orange:       #ED8936
   --white:        #FFFFFF
   --near-black:   #1A202C
   --light-gray:   #EDF2F7
   --muted-gray:   #A0AEC0
   --table-stripe: #F7FAFC
================================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --dark-navy:    #2D3748;
  --teal:         #38B2AC;
  --green:        #48BB78;
  --green-dark:   #38A169;
  --gold:         #ECC94B;
  --orange:       #ED8936;
  --orange-dark:  #DD6B20;
  --white:        #FFFFFF;
  --near-black:   #1A202C;
  --body-text:    #2D3748;
  --light-gray:   #EDF2F7;
  --table-stripe: #F7FAFC;
  --muted-gray:   #A0AEC0;
  --border-gray:  #E2E8F0;
  --blue-link:    #3182CE;
  --purple:       #805AD5;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.07);
  --shadow-md:    0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:    0 10px 40px rgba(0,0,0,.18);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  --transition:   all 0.25s ease;
  --container:    1240px;
  --header-height:72px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
/* Broken image fallback — shows a teal placeholder with icon */
img.img-error {
  min-height: 120px;
  background: var(--light-gray);
  border: 2px dashed var(--border-gray);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-gray);
  font-size: 13px;
  position: relative;
}
img.img-error::after {
  content: "⚠ Image unavailable";
  display: block;
  text-align: center;
  padding: 20px;
  color: var(--muted-gray);
  font-family: var(--font-body);
}
a { color: var(--blue-link); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
code { font-family: var(--font-mono); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.d-none-sm { display: block; }

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
  background: linear-gradient(135deg, #1a9e96 0%, #38a169 100%);
  color: #ffffff;
  padding: 11px 52px 11px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1001;
  transition: transform 0.3s ease, opacity 0.3s ease;
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.announcement-bar.hide-bar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.announcement-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
  max-width: calc(100% - 8px);
}
.announcement-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  font-weight: 500;
}
.announcement-icon {
  font-size: 17px;
  flex-shrink: 0;
  line-height: 1;
}
.announcement-cta {
  background: rgba(255,255,255,0.22);
  color: #ffffff !important;
  border: 1.5px solid rgba(255,255,255,0.55);
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.announcement-cta:hover {
  background: rgba(255,255,255,0.38);
  border-color: rgba(255,255,255,0.8);
  color: #ffffff !important;
}
.announcement-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.announcement-close:hover {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.6);
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  background: var(--dark-navy);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  background: rgba(26,32,44,0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* Logo */
.site-logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-badge {
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}

/* Desktop Nav */
.main-nav { margin-left: auto; margin-right: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul li { position: relative; }
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-link.active { color: var(--gold); }
.nav-blog-btn {
  background: var(--green);
  color: var(--white) !important;
  padding: 7px 16px;
}
.nav-blog-btn:hover { background: var(--green-dark); }


/* Header Right */
.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.header-cta-btn {
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(72,187,120,0.4);
  transition: var(--transition);
}
.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(72,187,120,0.5);
}

/* ============================================================
   HAMBURGER BUTTON
============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s;
  z-index: 1200;
}
.hamburger:hover {
  background: rgba(255,255,255,0.18);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
/* Animate to X when open */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU OVERLAY
============================================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark-navy);
  z-index: 1100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  flex-direction: column;
}
.mobile-menu-overlay.open {
  display: flex;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.mobile-menu-logo .logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}
.mobile-menu-logo .logo-badge {
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.mobile-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-close:hover {
  background: rgba(255,255,255,0.2);
}
.mobile-menu-nav {
  flex: 1;
  padding: 12px 0;
}
.mobile-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu-nav ul li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-nav ul li a:hover,
.mobile-menu-nav ul li a.active {
  background: rgba(255,255,255,0.07);
  color: var(--white);
}
.mobile-menu-nav ul li a .mm-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.mobile-menu-nav ul li a.mm-guides-btn {
  color: var(--white);
}
.mobile-menu-nav ul li a.mm-guides-btn .mm-icon {
  background: var(--green);
}
.mobile-menu-cta {
  padding: 20px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mobile-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
  color: var(--white) !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 16px rgba(72,187,120,0.35);
  transition: opacity 0.2s, transform 0.2s;
}
.mobile-cta-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.mobile-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}
.mobile-cta-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white) !important;
}
/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* ============================================================
   FLOATING GIFT WIDGET
============================================================ */
.gift-widget {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 900;
}
.gift-pulse {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.gift-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #e05d00 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 20px rgba(237,137,54,0.5);
  transition: var(--transition);
  border: none;
}
.gift-btn:hover { transform: scale(1.1); }
.gift-btn i { font-size: 20px; }
.gift-label { font-size: 10px; font-weight: 700; color: var(--white); }
.gift-dropdown {
  display: none;
  position: absolute;
  right: 72px;
  bottom: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 320px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-gray);
}
.gift-dropdown.open { display: block; animation: fadeInRight 0.25s ease; }
@keyframes fadeInRight {
  from { opacity:0; transform:translateX(20px); }
  to { opacity:1; transform:translateX(0); }
}
.gift-header {
  background: var(--dark-navy);
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}
.gift-dropdown-close { color: var(--white); font-size: 16px; opacity: 0.7; }
.gift-dropdown-close:hover { opacity: 1; }
.gift-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-gray);
}
.gift-badge {
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 20px;
  white-space: nowrap;
  min-width: 52px;
  text-align: center;
}
.gift-badge.orange { background: var(--orange); }
.gift-badge.teal { background: var(--teal); }
.gift-info { flex: 1; }
.gift-info strong { display: block; font-size: 13px; color: var(--near-black); }
.gift-info span { font-size: 12px; color: var(--muted-gray); display: block; }
.gift-info code { font-size: 12px; color: var(--orange); font-family: var(--font-mono); background: var(--light-gray); padding: 2px 6px; border-radius: 4px; }
.gift-claim-btn {
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  transition: var(--transition);
}
.gift-claim-btn:hover { background: var(--green-dark); color: var(--white); }
.gift-view-all {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  background: var(--light-gray);
}
.gift-view-all:hover { color: var(--green-dark); }

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
  background: var(--dark-navy);
  padding: 80px 0 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-bg-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(56,178,172,0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(72,187,120,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(236,201,75,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.hero-badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-badge-pill {
  background: rgba(56,178,172,0.18);
  border: 1.5px solid var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 10px rgba(56,178,172,0.35);
}
.hero-badge-pill.orange {
  background: rgba(237,137,54,0.18);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 0 10px rgba(237,137,54,0.35);
}
/* Pills on light/white backgrounds */
.hero-badge-pill.light-bg {
  color: var(--teal);
  background: rgba(56,178,172,0.1);
  box-shadow: none;
}
.hero-badge-pill.orange.light-bg {
  color: var(--orange);
  background: rgba(237,137,54,0.1);
  box-shadow: none;
}
.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--font-mono), var(--font-body);
  letter-spacing: -1px;
}
.hero-highlight {
  color: var(--gold);
  font-style: italic;
}
.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  margin-bottom: 0;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-stat { text-align: center; padding: 0 24px; }
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* Coupon Cards Grid */
.coupon-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 480px));
  gap: 28px;
  justify-content: center;
  margin: 0 auto 24px;
}
.coupon-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.featured-coupon {
  border: 2px solid var(--orange);
  transform: translateY(-4px);
}
.coupon-badge-ribbon {
  position: absolute;
  top: 16px; right: -28px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  padding: 6px 36px;
  transform: rotate(35deg);
  letter-spacing: 1px;
}
.coupon-badge-ribbon.orange { background: var(--orange); }

.coupon-card-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 16px;
  background: var(--teal);
}
.coupon-card-icon.green-icon { background: var(--green); }
.coupon-card-icon.orange-icon { background: var(--orange); }

.coupon-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--near-black);
  margin-bottom: 8px;
}
.coupon-card-desc {
  font-size: 14px;
  color: #4A5568;
  margin-bottom: 20px;
}
.coupon-code-box {
  border: 2px dashed var(--teal);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
  background: rgba(56,178,172,0.04);
}
.coupon-code-box.orange-border { border-color: var(--orange); background: rgba(237,137,54,0.04); }
.coupon-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #718096;
  font-weight: 600;
  margin-bottom: 8px;
}
.coupon-code-display {
  display: flex;
  align-items: center;
  gap: 10px;
}
.coupon-code-display code {
  font-size: 20px;
  font-weight: 700;
  color: var(--near-black);
  letter-spacing: 2px;
  flex: 1;
}
.copy-btn {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  white-space: nowrap;
}
.copy-btn:hover { background: var(--green); }
.copy-btn.copied { background: var(--green); }
.copy-btn.small-copy { padding: 5px 10px; }
.coupon-features {
  margin-bottom: 20px;
}
.coupon-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--body-text);
  padding: 5px 0;
}
.coupon-features li i { color: var(--green); font-size: 13px; }
.price-compare {
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 18px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 14px;
}
.price-row.highlight {
  color: var(--green-dark);
  font-weight: 700;
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
  padding: 8px 0;
  margin: 4px 0;
}
.price-original { text-decoration: line-through; color: var(--muted-gray); }
.price-save { color: var(--green-dark); font-weight: 800; }
.price-new { color: var(--orange); font-weight: 800; font-size: 18px; }
.coupon-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px !important;
  font-weight: 700;
}
.coupon-meta {
  font-size: 12px;
  color: #718096;
  text-align: center;
  margin-top: 10px;
}
.hero-disclaimer {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================================
   TRUST SECTION
============================================================ */
.trust-section {
  background: var(--white);
  border-bottom: 1px solid var(--border-gray);
  padding: 20px 0;
}
.trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--body-text);
}
.trust-item i { color: var(--teal); font-size: 16px; }

/* ============================================================
   EXCLUSIVE DEALS / COUPON CARDS SECTION
============================================================ */
.deals-cards-section {
  background: var(--white);
  padding: 32px 0 32px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.deals-cards-bg-pattern { display: none; }
.deals-cards-header { margin-bottom: 40px; }
.deals-cards-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--near-black);
  line-height: 1.2;
  margin-bottom: 12px;
  font-style: italic;
  font-family: var(--font-mono), var(--font-body);
  letter-spacing: -0.5px;
}
.deals-cards-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: #4A5568;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   MAIN CONTENT LAYOUT
============================================================ */
.main-content { padding: 24px 0 80px; }

/* ── Single-column centered layout ──────────────────────────
   Main content is a single centered column (max 860px).
   Sidebar stacks below as a compact horizontal widget row.
   Both columns sit inside .content-layout which stays full
   container width but flexes as a column.
──────────────────────────────────────────────────────────── */
.content-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}
.main-col {
  width: 100%;
  min-width: 0;
}

/* Content Sections */
.content-section {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gray);
}
.section-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56,178,172,0.12);
  border: 1px solid rgba(56,178,172,0.3);
  color: var(--teal);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-label-badge.orange {
  background: rgba(237,137,54,0.12);
  border-color: rgba(237,137,54,0.3);
  color: var(--orange);
}
.section-label-badge.purple {
  background: rgba(128,90,213,0.12);
  border-color: rgba(128,90,213,0.3);
  color: var(--purple);
}
.section-label-badge.green {
  background: rgba(72,187,120,0.12);
  border-color: rgba(72,187,120,0.3);
  color: var(--green-dark);
}
.section-label-badge.teal { /* already default */ }
.emoji-icon { font-size: 14px; }
.section-label-text { font-size: 11px; }
.section-heading {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--near-black);
  line-height: 1.25;
  margin-bottom: 16px;
}
.subsection-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 16px;
  margin-top: 32px;
}
.content-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 16px;
}
.content-section p:last-child { margin-bottom: 0; }
.lead-text {
  font-size: 18px !important;
  line-height: 1.75 !important;
  color: var(--near-black) !important;
}

/* Intro Section */
.section-content-box { max-width: 100%; }
.callout-box {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  border-left: 4px solid var(--teal);
  background: rgba(56,178,172,0.06);
}
.callout-box.green-callout {
  border-color: var(--green);
  background: rgba(72,187,120,0.07);
}
.callout-icon { color: var(--teal); font-size: 22px; flex-shrink: 0; padding-top: 2px; }
.callout-box.green-callout .callout-icon { color: var(--green); }
.callout-body { font-size: 16px; line-height: 1.7; }
.callout-body strong { color: var(--near-black); }

/* Feature Grid 2col */
.feature-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.feature-check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature-check-item i {
  color: var(--green);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-check-item strong { display: block; font-size: 15px; color: var(--near-black); margin-bottom: 3px; }
.feature-check-item p { font-size: 13px; color: #4A5568; margin: 0; }

/* CTA Banner */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  margin: 28px 0;
  flex-wrap: wrap;
}
.green-cta-banner {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #374151 100%);
  border: 1px solid rgba(72,187,120,0.3);
}
.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-logo-badge {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-banner-left strong {
  display: block;
  color: var(--white);
  font-size: 17px;
  margin-bottom: 4px;
}
.cta-banner-left p {
  color: rgba(255,255,255,0.65) !important;
  font-size: 14px !important;
  margin: 0 !important;
}
.cta-banner-btn { white-space: nowrap; }
.small-note {
  font-size: 13px !important;
  color: #718096 !important;
  font-style: italic;
}

/* Platform Overview */
.platform-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0;
  align-items: center;
}
.platform-overview-text p { margin-bottom: 16px; }
.platform-overview-img img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.img-caption {
  font-size: 12px;
  color: #718096;
  text-align: center;
  margin-top: 8px;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 16px 0;
  max-width: 100%;
  border: 1px solid var(--border-gray);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: auto;
}
.data-table thead tr {
  background: var(--dark-navy);
  color: var(--white);
}
.data-table thead th {
  padding: 10px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.data-table thead th:first-child { width: 30%; }
.data-table tbody tr:nth-child(even) { background: var(--table-stripe); }
.data-table tbody tr:nth-child(odd) { background: var(--white); }
.data-table tbody tr:hover { background: rgba(56,178,172,0.06); }
.data-table td {
  padding: 9px 16px;
  border-bottom: 1px solid var(--border-gray);
  vertical-align: middle;
  line-height: 1.4;
  word-wrap: break-word;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td:first-child { font-weight: 600; color: var(--body-text); }
.data-table td small { display: block; font-size: 12px; color: #718096; }
.popular-row { background: rgba(72,187,120,0.07) !important; }
.highlight-cell { color: var(--green-dark); font-weight: 700; }
.save-pill {
  background: rgba(72,187,120,0.15);
  color: var(--green-dark);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.fee-free { color: var(--green-dark); font-weight: 600; }
.fee-warning { color: var(--orange); font-weight: 600; }
.table-cta-btn {
  background: var(--teal);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-block;
}
.table-cta-btn:hover { background: var(--green); color: var(--white); }
.popular-btn { background: var(--green); }

/* Deals Grid */
.deals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.deal-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  position: relative;
}
.deal-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.highlight-deal { border-color: var(--orange); }
.deal-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.deal-logo-circle {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.deal-logo-circle.orange { background: var(--orange); }
.deal-logo-circle.purple { background: var(--purple); }
.deal-logo-circle.teal { background: var(--teal); }
.deal-meta { flex: 1; }
.deal-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.deal-tag.green-tag { background: rgba(72,187,120,0.15); color: var(--green-dark); }
.deal-tag.orange-tag { background: rgba(237,137,54,0.15); color: var(--orange-dark); }
.deal-tag.purple-tag { background: rgba(128,90,213,0.15); color: var(--purple); }
.deal-tag.teal-tag { background: rgba(56,178,172,0.15); color: var(--teal); }
.deal-meta h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--near-black);
  line-height: 1.3;
}
.deal-discount-badge {
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--font-mono);
}
.deal-discount-badge.orange-badge { background: var(--orange); }
.deal-discount-badge.purple-badge { background: var(--purple); }
.deal-discount-badge.teal-badge { background: var(--teal); }
.deal-card p { font-size: 14px; color: var(--body-text); margin-bottom: 14px; }
.deal-saving-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: rgba(56,178,172,0.07);
  border-radius: var(--radius-sm);
}
.deal-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-green-outline { border-color: var(--green); color: var(--green-dark); }
.btn-green-outline:hover { background: var(--green); color: var(--white); }
.btn-orange-outline { border-color: var(--orange); color: var(--orange-dark); }
.btn-orange-outline:hover { background: var(--orange); color: var(--white); }
.btn-purple-outline { border-color: var(--purple); color: var(--purple); }
.btn-purple-outline:hover { background: var(--purple); color: var(--white); }
.btn-teal-outline { border-color: var(--teal); color: var(--teal); }
.btn-teal-outline:hover { background: var(--teal); color: var(--white); }

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--teal);
}
.step-number {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.step-content h4 { font-size: 15px; font-weight: 700; color: var(--near-black); margin-bottom: 5px; }
.step-content p { font-size: 13px; color: var(--body-text); margin: 0; }

/* Features Section */
.features-screenshot {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 24px 0;
}
.features-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.feature-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.feature-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(56,178,172,0.15);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.feature-card-icon.teal-icon { background: rgba(56,178,172,0.15); color: var(--teal); }
.feature-card-icon.purple-icon { background: rgba(128,90,213,0.15); color: var(--purple); }
.feature-card-icon.orange-icon { background: rgba(237,137,54,0.15); color: var(--orange); }
.feature-card-icon.green-icon { background: rgba(72,187,120,0.15); color: var(--green-dark); }
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--near-black); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #4A5568; margin: 0; line-height: 1.6; }

/* Pricing Toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px 0;
}
.toggle-label { font-size: 15px; font-weight: 600; color: var(--body-text); }
.toggle-switch { position: relative; display: inline-block; width: 52px; height: 28px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--muted-gray);
  transition: .3s;
  border-radius: 28px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}
input:checked + .toggle-slider { background-color: var(--teal); }
input:checked + .toggle-slider:before { transform: translateX(24px); }
.save-badge {
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  margin-left: 4px;
}

/* Pricing CTA Row */
.pricing-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Plan Cards */
.plan-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan-card {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.featured-plan { border: 2px solid var(--green); position: relative; }
.plan-card-header {
  background: var(--dark-navy);
  padding: 24px;
  text-align: center;
}
.featured-plan .plan-card-header { background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%); }
.plan-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.featured-badge { background: rgba(255,255,255,0.3); }
.enterprise-badge { background: rgba(128,90,213,0.4); }
.plan-price {
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.plan-price span { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.7); }
.plan-billed { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 6px; }
.plan-tagline {
  font-size: 13px;
  font-style: italic;
  color: var(--muted-gray);
  padding: 14px 20px 0;
  text-align: center;
}
.plan-features-list {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--body-text);
}
.plan-features-list li i.fa-check { color: var(--green); }
.plan-caveat i { color: var(--orange); }
.plan-caveat { color: var(--orange-dark) !important; }
.plan-best-for {
  padding: 0 20px;
  font-size: 13px !important;
  color: #4A5568 !important;
  margin-bottom: 14px;
}
.plan-card .btn-primary { margin: 0 20px 20px; width: calc(100% - 40px); }

/* Free Trial Section */
.free-trial-section { background: linear-gradient(135deg, rgba(56,178,172,0.05), rgba(72,187,120,0.05)); }
.free-trial-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  margin-top: 20px;
}
.trial-features-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.trial-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.trial-feature i { color: var(--green); }
.free-trial-cta-box {
  background: var(--dark-navy);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  min-width: 240px;
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.trial-days-badge {
  font-size: 64px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-mono);
}
.trial-days-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.free-trial-cta-box p {
  font-size: 13px !important;
  color: rgba(255,255,255,0.6) !important;
  margin-bottom: 20px;
}
.free-trial-cta-box small {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
}

/* Eligibility Grid */
.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.eligibility-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--teal);
  transition: var(--transition);
}
.eligibility-item:hover { box-shadow: var(--shadow-sm); }
.eli-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--white);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.eli-text strong { display: block; font-size: 14px; color: var(--near-black); margin-bottom: 3px; }
.eli-text p { font-size: 12px; color: var(--muted-gray); margin: 0; }

/* Case Study */
.case-study-box {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #374151 100%);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 20px 0;
  color: var(--white);
}
.case-study-quote .fa-quote-left {
  color: var(--gold);
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.case-study-quote p {
  font-size: 16px !important;
  line-height: 1.75;
  color: rgba(255,255,255,0.85) !important;
  font-style: italic;
}
.case-study-quote strong { color: var(--gold); }
.case-study-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.author-info strong { display: block; color: var(--white); font-size: 15px; }
.author-info span { font-size: 13px; color: rgba(255,255,255,0.55); }

/* Saving Tips */
.saving-tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.tip-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.tip-item:hover { box-shadow: var(--shadow-sm); border-color: var(--teal); }
.tip-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--teal);
  opacity: 0.6;
  font-family: var(--font-mono);
  flex-shrink: 0;
  line-height: 1;
}
.tip-content h4 { font-size: 15px; font-weight: 700; color: var(--near-black); margin-bottom: 6px; }
.tip-content p { font-size: 13px; color: #2D3748; margin: 0; }
.pro-tip-box {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(236,201,75,0.12);
  border: 1px solid rgba(236,201,75,0.3);
  border-radius: var(--radius-sm);
  margin-top: 24px;
}
.pro-tip-icon { color: var(--gold); font-size: 22px; flex-shrink: 0; }
.pro-tip-content { font-size: 15px; line-height: 1.7; }
.pro-tip-content strong { color: var(--near-black); }

/* Video */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
}

/* YouTube lite player (thumbnail → iframe on click) */
.yt-lite {
  position: absolute;
  inset: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.yt-lite:hover .yt-thumb { transform: scale(1.03); }
.yt-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  transition: background 0.3s;
}
.yt-lite:hover .yt-overlay { background: rgba(0,0,0,0.1); }
.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  transition: transform 0.2s ease, filter 0.2s ease;
  z-index: 2;
}
.yt-lite:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.6));
}
.yt-lite.loaded { cursor: default; }

/* FAQ */
.faq-list { margin-top: 24px; }
.faq-item {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--teal); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--near-black);
  gap: 12px;
  transition: var(--transition);
}
.faq-question:hover { background: var(--light-gray); }
.faq-question[aria-expanded="true"] { background: var(--dark-navy); color: var(--white); }
.faq-icon {
  font-size: 13px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--gold); }
.faq-answer {
  padding: 20px 20px 20px;
  background: var(--table-stripe);
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-text);
  border-top: 1px solid var(--border-gray);
}
.faq-answer p { margin-bottom: 0; }

/* Bottom CTA */
.bottom-cta-section { background: none; border: none; box-shadow: none; padding: 0; }
.final-cta-box {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #1a2436 100%);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  text-align: center;
  margin-top: 24px;
  border: 1px solid rgba(72,187,120,0.2);
  box-shadow: var(--shadow-lg);
}
.final-cta-box h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.final-cta-box > p {
  color: rgba(255,255,255,0.65) !important;
  font-size: 16px !important;
  margin-bottom: 32px;
}
.final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.final-cta-perks {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta-perks span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}
.final-cta-perks span i { color: var(--green); }

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
  color: var(--white) !important;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 3px 15px rgba(72,187,120,0.4);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(72,187,120,0.5);
  color: var(--white) !important;
}
.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white) !important;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 3px 15px rgba(237,137,54,0.4);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(237,137,54,0.5);
  color: var(--white) !important;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: var(--white) !important; }
.btn-full { width: 100%; text-align: center; }
.btn-large { padding: 15px 36px; font-size: 17px; }
.btn-pulse { animation: ctaPulse 2.5s infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 3px 15px rgba(72,187,120,0.4); }
  50% { box-shadow: 0 6px 30px rgba(72,187,120,0.7); }
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--teal) !important;
  border: 2px solid var(--teal);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.btn-secondary:hover { background: var(--teal); color: var(--white) !important; }

/* ============================================================
   SIDEBAR
============================================================ */
/* Sidebar: below main, displayed as a horizontal wrap of widgets */
.sidebar-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  margin: 32px 0 0;
}
.sticky-sidebar-widget {
  grid-column: 1 / -1;  /* full-width sticky CTA at top of sidebar row */
  position: static !important;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sticky-sidebar-widget {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  border: 2px solid var(--orange);
  background: linear-gradient(135deg, #fffaf7 0%, #fff 100%);
}
.sidebar-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.sidebar-widget-header i { color: var(--orange); font-size: 18px; }
.sidebar-widget-header h3 { margin: 0; }
.sidebar-deal-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  padding: 6px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.sidebar-widget > p { font-size: 14px; color: var(--muted-gray); margin-bottom: 14px; }
.sidebar-coupon-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light-gray);
  border: 2px dashed var(--orange);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
}
.sidebar-coupon-box code { font-size: 16px; font-weight: 700; color: var(--near-black); letter-spacing: 1px; flex: 1; }
.sidebar-cta-btn { font-size: 15px !important; }
.sidebar-deal-expires {
  font-size: 12px;
  color: var(--muted-gray);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}
.sidebar-deal-expires strong { color: var(--orange); }

/* Trust Score */
.trust-score-display { text-align: center; margin-bottom: 18px; }
.trust-score-num { font-size: 48px; font-weight: 900; color: var(--near-black); font-family: var(--font-mono); line-height: 1; }
.trust-stars { font-size: 22px; margin: 4px 0; }
.trust-reviews { font-size: 13px; color: var(--muted-gray); }
.rating-bars { display: flex; flex-direction: column; gap: 10px; }
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.rating-bar-row > span:first-child { width: 76px; flex-shrink: 0; color: var(--body-text); font-weight: 500; }
.rating-bar-row > span:last-child { width: 28px; text-align: right; color: var(--muted-gray); font-weight: 600; }
.rating-bar {
  flex: 1;
  height: 8px;
  background: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}
.rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 4px;
}

/* Sidebar Stats */
.sidebar-stats-list { display: flex; flex-direction: column; gap: 10px; }
.sidebar-stats-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--body-text);
}
.sidebar-stats-list li i { color: var(--teal); width: 16px; }

/* Sidebar Coupon List */
.sidebar-coupon-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.mini-coupon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
}
.mini-coupon-badge {
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  min-width: 48px;
  text-align: center;
}
.mini-coupon-badge.orange { background: var(--orange); }
.mini-coupon-badge.purple { background: var(--purple); }
.mini-coupon-info { flex: 1; }
.mini-coupon-info strong { display: block; font-size: 13px; color: var(--near-black); }
.mini-coupon-info code { font-size: 12px; color: var(--orange); font-family: var(--font-mono); background: var(--white); padding: 1px 5px; border-radius: 3px; }
.mini-coupon-info small { font-size: 11px; color: var(--muted-gray); }
.mini-claim-btn {
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
  transition: var(--transition);
}
.mini-claim-btn:hover { background: var(--green); color: var(--white); }
.view-all-link {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}
.view-all-link:hover { color: var(--green-dark); }

/* Sidebar Links */
.sidebar-links-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--body-text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-gray);
  transition: var(--transition);
}
.sidebar-links-list li:last-child a { border-bottom: none; }
.sidebar-links-list li a:hover { color: var(--teal); padding-left: 6px; }
.sidebar-links-list li a i { color: var(--teal); font-size: 11px; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--dark-navy); color: var(--white); }
.footer-main { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand-col .footer-logo { margin-bottom: 16px; }
.footer-desc {
  font-size: 14px;
  color: var(--muted-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--muted-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--teal); color: var(--white); }
.footer-rating-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-stars { font-size: 18px; }
.footer-rating-badge span:last-child { font-size: 13px; color: var(--muted-gray); }
.footer-links-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links-col ul li a {
  color: var(--muted-gray);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-links-col ul li a i { font-size: 11px; color: var(--teal); }
.footer-links-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-affiliate-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 16px;
  border-left: 3px solid var(--teal);
}
.footer-affiliate-notice i { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.footer-affiliate-notice p { font-size: 12px; color: var(--muted-gray); margin: 0; line-height: 1.6; }
.footer-affiliate-notice strong { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copyright { font-size: 13px; color: var(--muted-gray); }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a { font-size: 13px; color: var(--muted-gray); }
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================================
   SCROLL TOP BUTTON
============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--dark-navy);
  color: var(--white);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
  z-index: 800;
  border: 1px solid rgba(255,255,255,0.15);
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover { background: var(--teal); }

/* ============================================================
   COPY TOAST
============================================================ */
.copy-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--near-black);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2000;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}
.copy-toast i { color: var(--green); }
.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
============================================================ */
@media (max-width: 1024px) {
  /* content-layout already single-column — no change needed */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .plan-cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .deals-grid { grid-template-columns: 1fr; }
  .main-nav { display: none !important; }
  .header-cta-btn { display: none !important; }
  .hamburger { display: flex !important; }
  .feature-grid-2col { grid-template-columns: 1fr; }
  .eligibility-grid { grid-template-columns: 1fr 1fr; }
}
/* Ensure hamburger never shows on desktop */
@media (min-width: 1025px) {
  .hamburger { display: none !important; }
  .mobile-menu-overlay { display: none !important; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
============================================================ */
@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .container { padding: 0 20px; }
  .content-section { padding: 28px 0; }
  .hero-section { padding: 48px 0 40px; }
  .coupon-cards-grid { grid-template-columns: 1fr; }
  .featured-coupon { transform: none; }
  .hero-stats {
    gap: 12px;
    padding: 16px 20px;
    flex-wrap: wrap;
  }
  .hero-stat-divider { display: none; }
  .hero-stat { flex: 1 1 calc(50% - 12px); }
  .platform-overview-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .saving-tips-grid { grid-template-columns: 1fr; }
  .eligibility-grid { grid-template-columns: 1fr 1fr; }
  .free-trial-grid { grid-template-columns: 1fr; }
  .trial-features-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .sidebar-col { grid-template-columns: 1fr; margin-top: 24px; }
  .d-none-sm { display: none; }
  .features-card-grid { grid-template-columns: 1fr 1fr; }
  .announcement-bar { padding: 10px 46px 10px 14px; font-size: 13px; }
  .announcement-inner { flex-wrap: nowrap; gap: 8px; }
  .pricing-cta-row { flex-direction: column; }
  .final-cta-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
  .final-cta-buttons a,
  .final-cta-buttons button { width: 100%; text-align: center; justify-content: center; }
  .final-cta-perks { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .gift-widget { right: 14px; bottom: 76px; }
  .gift-dropdown { width: calc(100vw - 28px); max-width: 300px; right: 0; }
  .deals-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; gap: 16px; padding: 24px 20px; }
  .cta-banner-left { flex-direction: column; align-items: center; }
  /* Table horizontal scroll */
  .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Video responsive */
  .video-embed-wrap { padding-bottom: 56.25%; height: 0; position: relative; overflow: hidden; }
  .video-embed-wrap iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; }
  /* Hero coupon row */
  .hero-coupon-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .coupon-code-display { width: 100%; }
  /* How to steps grid */
  .how-to-steps-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: clamp(1.4rem, 7vw, 1.8rem); }
  .coupon-cards-grid { gap: 14px; }
  .eligibility-grid { grid-template-columns: 1fr; }
  .trial-features-row { grid-template-columns: 1fr; }
  .features-card-grid { grid-template-columns: 1fr; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
  .trust-grid { gap: 10px; flex-wrap: wrap; }
  .trust-item { flex: 0 0 calc(50% - 6px); }
  .table-wrapper { font-size: 12px; }
  .section-heading { font-size: clamp(1.1rem, 5vw, 1.3rem); }
  .announcement-icon { display: none; }
  /* Scroll top btn above gift widget — bottom: 148px gives 16px clear gap above the 60px gift btn sitting at bottom:72px */
  .scroll-top-btn { bottom: 148px; right: 12px; width: 38px; height: 38px; }
}
