/* ========================================
   OpenArt Coupon Site — Dark Theme
   Matches gens.coupons design exactly
   ======================================== */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-card: #151515;
  --bg-card-hover: #1A1A1A;
  --bg-elevated: #1C1C1C;
  --bg-input: #1A1A1A;
  --border-color: #2A2A2A;
  --border-light: #333333;
  --border-hover: #444444;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --text-muted: #888888;
  --text-dim: #666666;
  --accent-gold: #F5C518;
  --accent-gold-dark: #D4A80E;
  --green: #22C55E;
  --green-dim: rgba(34, 197, 94, 0.15);
  --red: #EF4444;
  --red-dim: rgba(239, 68, 68, 0.12);
  --blue: #3B82F6;
  --blue-dim: rgba(59, 130, 246, 0.12);
  --teal: #14B8A6;
  --purple: #A855F7;
  --orange: #F97316;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.6);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  --transition: all 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: var(--text-secondary);
  background: var(--bg-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-width: 0;
}

/* Prevent content from breaking out of containers */
main, section, article, aside, figure, figcaption {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

iframe {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Announcement Bar --- */
.announcement-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  position: relative;
  z-index: 1001;
}

.announcement-bar .highlight-text {
  background: var(--accent-gold);
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  margin: 0 4px;
  display: inline-block;
}

.announcement-bar a {
  color: var(--accent-gold);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announcement-bar a:hover {
  color: #FCD34D;
}

.announcement-bar .close-announce {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}

.announcement-bar .close-announce:hover {
  color: var(--text-primary);
}

/* --- Header / Navbar --- */
.header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}

.logo .logo-icon {
  font-size: 20px;
  color: var(--accent-gold);
}

.logo img {
  height: 28px;
  width: 28px;
  border-radius: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-menu a.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  font-family: var(--font-primary);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-primary);
  color: #000;
}

.btn-primary:hover {
  background: #E5E5E5;
  color: #000;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.btn-success {
  background: var(--green);
  color: #000;
  font-weight: 600;
}

.btn-success:hover {
  background: #16A34A;
  color: #000;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--accent-gold);
  color: #000;
  font-weight: 600;
}

.btn-gold:hover {
  background: var(--accent-gold-dark);
  color: #000;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.05);
}

.btn-nav {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
}

.btn-nav:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.btn i {
  font-size: inherit;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
}

/* --- Hero Section --- */
.hero {
  background: var(--bg-primary);
  padding: 60px 0 50px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge .badge-icon {
  color: var(--accent-gold);
  font-size: 14px;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content .hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 540px;
}

.hero-content .hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-trust-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Hero Visual — Promo Card */
.hero-visual {
  position: relative;
}

.hero-card {
  background: linear-gradient(135deg, #1a1040 0%, #2d1457 30%, #1e3a5f 60%, #f0a0a0 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card .save-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #EF4444;
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-card .brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.hero-card .brand-tag .icon {
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
}

.hero-card h2 {
  font-size: 32px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-card .card-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

.hero-card .card-subtitle .highlight {
  color: var(--accent-gold);
  font-weight: 700;
}

.hero-card .play-btn {
  width: 48px;
  height: 48px;
  background: #FF0000;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  margin-top: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.hero-card .play-btn:hover {
  transform: scale(1.1);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.stat-item .stat-icon {
  font-size: 16px;
}

.stat-item .stat-icon.gold { color: var(--accent-gold); }
.stat-item .stat-icon.blue { color: var(--blue); }
.stat-item .stat-icon.green { color: var(--green); }
.stat-item .stat-icon.teal { color: var(--teal); }
.stat-item .stat-icon.purple { color: var(--purple); }

.stat-item .stat-value {
  font-weight: 700;
  color: var(--text-primary);
}

.stat-item .stat-label {
  color: var(--text-muted);
  font-weight: 400;
}

/* --- Active Deals Badge --- */
.deals-badge-wrapper {
  text-align: center;
  padding: 32px 0 0;
}

.deals-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.deals-badge i {
  color: var(--accent-gold);
}

/* --- Section Styles --- */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-badge i {
  color: var(--accent-gold);
  font-size: 12px;
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Content Grid (Main + Sidebar) --- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.content-grid > * {
  min-width: 0;
  overflow: hidden;
}

.content-sidebar {
  position: sticky;
  top: 80px;
}

/* --- Last Updated Bar --- */
.last-updated {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.last-updated span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating-stars {
  color: var(--accent-gold);
  font-size: 13px;
  letter-spacing: 1px;
}

.rating-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
}

/* --- Coupon Cards --- */
.coupon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  transition: var(--transition);
  position: relative;
}

.coupon-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.coupon-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.coupon-card-info {
  flex: 1;
}

.coupon-card .deal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.coupon-card .deal-badge.hot {
  background: var(--red-dim);
  color: var(--red);
}

.coupon-card .deal-badge.best {
  background: var(--green-dim);
  color: var(--green);
}

.coupon-card .deal-badge.bonus {
  background: rgba(245, 197, 24, 0.12);
  color: var(--accent-gold);
}

.coupon-card .deal-badge.free {
  background: var(--blue-dim);
  color: var(--blue);
}

.coupon-card .deal-badge.starter {
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal);
}

.coupon-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--text-primary);
}

.coupon-card .deal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.coupon-card .deal-desc strong {
  color: var(--text-secondary);
}

.coupon-card .deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-dim);
}

.coupon-card .deal-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.coupon-card .deal-meta .fa-check-circle {
  color: var(--green);
}

.coupon-card-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 160px;
}

.coupon-card-action .code-display {
  background: var(--bg-primary);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-gold);
  letter-spacing: 3px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  min-width: 140px;
}

.coupon-card-action .code-display:hover {
  border-color: var(--accent-gold);
  background: rgba(245, 197, 24, 0.05);
}

.coupon-card-action .auto-text {
  font-size: 11px;
  color: var(--text-dim);
}

.coupon-card .verified-text {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
}

/* --- What Is Section --- */
.about-content {
  max-width: 820px;
  margin: 0 auto;
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-content strong {
  color: var(--text-primary);
}

/* --- Inline CTA --- */
.inline-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.inline-cta p {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.inline-cta p strong {
  color: var(--text-primary);
}

/* --- Info / Tip Boxes --- */
.info-box {
  background: var(--bg-card);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.info-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.info-box strong {
  color: var(--text-primary);
}

.tip-box {
  background: var(--bg-card);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.tip-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tip-box strong {
  color: var(--text-primary);
}

/* --- Steps Grid --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-primary);
  color: #000;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Detailed Steps */
.steps-detailed {
  max-width: 720px;
  margin: 36px auto 0;
}

.step-detail-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.step-detail-item:last-child {
  border-bottom: none;
}

.step-detail-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--text-primary);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-detail-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-detail-item p a {
  color: var(--accent-gold);
}

.step-detail-item p strong {
  color: var(--text-primary);
}

/* --- Pricing Table --- */
.pricing-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.pricing-table thead th {
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.pricing-table tbody td {
  padding: 12px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.pricing-table .plan-name {
  font-weight: 600;
  color: var(--text-primary);
}

.pricing-table .popular-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: #000;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.pricing-table .price-highlight {
  font-weight: 600;
  color: var(--text-primary);
}

.pricing-table small {
  color: var(--text-dim);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.feature-icon.gold { background: rgba(245,197,24,0.12); color: var(--accent-gold); }
.feature-icon.green { background: var(--green-dim); color: var(--green); }
.feature-icon.blue { background: var(--blue-dim); color: var(--blue); }
.feature-icon.red { background: var(--red-dim); color: var(--red); }
.feature-icon.teal { background: rgba(20,184,166,0.12); color: var(--teal); }
.feature-icon.purple { background: rgba(168,85,247,0.12); color: var(--purple); }
.feature-icon.orange { background: rgba(249,115,22,0.12); color: var(--orange); }

.feature-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Savings Table --- */
.savings-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.savings-table {
  width: 100%;
  border-collapse: collapse;
}

.savings-table thead th {
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.savings-table tbody td {
  padding: 12px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.savings-table tbody tr:last-child td {
  border-bottom: none;
}

.savings-table .savings-amount {
  color: var(--green);
  font-weight: 600;
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.comparison-table thead th {
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody td {
  padding: 12px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table .highlight-row {
  background: rgba(245, 197, 24, 0.04);
}

.comparison-table .highlight-row td {
  color: var(--text-primary);
  font-weight: 500;
}

/* --- Who Benefits --- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.who-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.who-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.who-card i {
  font-size: 28px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.who-card h4 {
  font-size: 14px;
  margin-bottom: 6px;
}

.who-card p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* --- Sales Grid --- */
.sales-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sale-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 16px;
  transition: var(--transition);
}

.sale-card:hover {
  border-color: var(--border-hover);
}

.sale-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sale-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.sale-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-question i {
  font-size: 11px;
  color: var(--text-dim);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Final CTA Section --- */
.final-cta {
  padding: 80px 0;
  background: var(--bg-secondary);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.final-cta h2 {
  font-size: 34px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.final-cta > .container > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .cta-code {
  display: inline-block;
  background: var(--bg-card);
  border: 2px dashed var(--border-light);
  padding: 12px 36px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 5px;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Sidebar Cards --- */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 16px;
}

.sidebar-card h4 {
  font-size: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-card h4 i {
  color: var(--accent-gold);
  font-size: 14px;
}

.sidebar-card ul li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.sidebar-card ul li:last-child {
  border-bottom: none;
}

.sidebar-card ul li i {
  color: var(--green);
  font-size: 11px;
}

/* TOC Widget */
.toc-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 16px;
}

.toc-widget h4 {
  font-size: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.toc-widget h4 i {
  color: var(--accent-gold);
}

.toc-widget ol {
  list-style: decimal;
  padding-left: 18px;
}

.toc-widget ol li {
  margin-bottom: 5px;
}

.toc-widget ol li a {
  font-size: 13px;
  color: var(--text-muted);
}

.toc-widget ol li a:hover {
  color: var(--accent-gold);
}

/* --- Sidebar Deal (Gold accent) --- */
.sidebar-deal {
  background: var(--bg-card) !important;
  border: 1px solid var(--accent-gold) !important;
  position: relative;
  overflow: hidden;
}

.sidebar-deal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gold);
}

.sidebar-deal .deal-code {
  background: var(--bg-primary);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 3px;
  margin: 12px 0 14px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  color: var(--text-muted);
  padding: 56px 0 28px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 12px;
  color: var(--text-dim);
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text-dim);
  font-size: 13px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text-primary);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 13px;
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* --- Sticky Gift Widget --- */
.sticky-gift {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.gift-popup {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  width: 300px;
  display: none;
  animation: slideUp 0.3s ease;
  position: relative;
}

.gift-popup.active {
  display: block;
}

.gift-popup .close-gift {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--text-dim);
  cursor: pointer;
}

.gift-popup .close-gift:hover {
  color: var(--text-primary);
}

.gift-popup h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.gift-popup p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.gift-popup .gift-code {
  background: var(--bg-primary);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.gift-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text-primary);
  color: #000;
  border: none;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: pulse 2.5s infinite;
  position: relative;
}

.gift-btn:hover {
  transform: scale(1.08);
}

.gift-btn .badge-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: var(--text-primary);
  color: #000;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  color: var(--green);
  font-size: 16px;
}

/* --- Copy code button --- */
.copy-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-primary);
  color: #000;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.copy-code-btn:hover {
  background: #E5E5E5;
}

.copy-code-btn.copied {
  background: var(--green);
  color: #000;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-dim);
  white-space: nowrap;
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.breadcrumb .sep {
  color: var(--text-dim);
}

.breadcrumb span:last-child {
  color: var(--text-muted);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb ol li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}

.breadcrumb ol li a {
  color: var(--text-dim);
}

.breadcrumb ol li a:hover {
  color: var(--text-primary);
}

.breadcrumb ol li::after {
  content: '›';
  color: var(--text-dim);
}

.breadcrumb ol li:last-child::after {
  display: none;
}

.breadcrumb ol li:last-child {
  color: var(--text-muted);
}

/* --- Animations --- */
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,255,255,0.15); }
  50% { box-shadow: 0 4px 30px rgba(255,255,255,0.25); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 480px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .announcement-bar {
    font-size: 12px;
    padding: 8px 40px 8px 12px;
  }

  .header .container {
    height: 56px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 72px 20px 20px;
    gap: 2px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 998;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu a {
    font-size: 15px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu .mobile-cta {
    display: block !important;
    margin-top: 16px;
  }

  .menu-toggle {
    display: block;
    z-index: 999;
  }

  .hero {
    padding: 40px 0 36px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content .hero-subtitle {
    font-size: 15px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .coupon-card-header {
    flex-direction: column;
  }

  .coupon-card-action {
    align-items: flex-start;
    min-width: auto;
    width: 100%;
  }

  .coupon-card-action .code-display {
    width: 100%;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .sales-grid {
    grid-template-columns: 1fr;
  }

  .who-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    gap: 16px;
    justify-content: flex-start;
  }

  .stat-item {
    font-size: 13px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .final-cta h2 {
    font-size: 26px;
  }

  .final-cta .cta-code {
    font-size: 22px;
    letter-spacing: 3px;
    padding: 10px 24px;
  }

  .gift-popup {
    width: 280px;
  }

  .sticky-gift {
    bottom: 16px;
    right: 16px;
  }

  .gift-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .inline-cta {
    flex-direction: column;
    text-align: center;
  }

  .hero-card {
    min-height: 260px;
    padding: 24px;
  }

  .hero-card h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  /* Gift popup - compact for mobile */
  .sticky-gift {
    bottom: 12px;
    right: 12px;
  }

  .gift-popup {
    width: 220px;
    padding: 16px;
  }

  .gift-trigger {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .gift-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  /* Buttons: allow wrapping on mobile */
  .btn {
    white-space: normal;
    text-align: center;
  }

  .btn-lg {
    padding: 10px 18px;
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .who-grid {
    grid-template-columns: 1fr;
  }

  .coupon-card {
    padding: 16px;
  }

  .hero-card {
    min-height: 200px;
    padding: 18px;
  }

  .hero-card h2 {
    font-size: 20px;
  }

  .hero-card .card-subtitle {
    font-size: 15px;
  }

  .stats-grid {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .features-grid {
    gap: 12px;
  }

  .feature-card {
    padding: 18px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 16px 14px;
  }

  .final-cta h2 {
    font-size: 22px;
  }

  .final-cta .cta-code {
    font-size: 18px;
    letter-spacing: 2px;
    padding: 8px 18px;
  }

  .sidebar-card {
    padding: 16px;
  }

  .toc-widget {
    padding: 16px;
  }

  .footer {
    padding: 36px 0 20px;
  }

  .footer-grid {
    gap: 20px;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .announcement-bar {
    font-size: 11px;
    padding: 6px 36px 6px 10px;
  }

  .sales-grid {
    gap: 12px;
  }

  .sale-card {
    padding: 16px;
  }

  .btn-lg {
    padding: 10px 20px;
    font-size: 14px;
  }

  .inline-cta {
    padding: 18px;
  }

  .gift-popup {
    width: 240px;
  }
}

/* --- Print --- */
@media print {
  .header, .announcement-bar, .sticky-gift, .back-to-top, .gift-btn {
    display: none !important;
  }
  body {
    background: white;
    color: #000;
  }
}
