/* =============================================================
   AI Gatecrashers — Warm, SMB-friendly design system
   Aesthetic: approachable cream canvas, warm-orange primary CTA,
   accent purple/teal for brand recognition, dark footer anchor.
   ============================================================= */

/* === GOOGLE FONTS IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Surfaces — warm cream canvas preserves "inviting" feel */
  --bg-body: #fefaf6;          /* warm off-white (cream) */
  --bg-card: #ffffff;          /* pure white cards */
  --bg-hover: #f0f7fc;         /* subtle cyan-tinted hover */
  --bg-section: #fdf6ed;       /* alternating warm cream sections */
  --bg-footer: #0f1c3f;        /* brand navy (matches logo wordmark) */

  /* Brand colors (from AI Gatecrashers logo) */
  --primary: #0fa4d9;          /* brand cyan — readable version for CTAs/links */
  --primary-bright: #4cc9f0;   /* brighter cyan for gradients & glows */
  --secondary: #0f1c3f;        /* brand navy — anchoring neutral */
  --accent-purple: #7c3aed;    /* optional flourish for variety */
  --accent-amber: #f59e0b;     /* warm pop for badges & stars */
  --green: #16a34a;            /* success / pricing */
  --orange: #ff6b35;           /* warm accent retained for "New" badges */

  /* Text */
  --text-white: #0f1c3f;       /* legacy alias — now brand navy for readability on cream */
  --text-heading: #0f1c3f;     /* brand navy for headings */
  --text-body: #3a4258;        /* readable navy-leaning body text */
  --text-muted: #6b7280;       /* secondary gray */

  /* Borders — kept warm so cards breathe on cream bg */
  --border: #e9e2d8;
  --border-light: #f0e9de;

  /* Radii */
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-full: 9999px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --transition: 0.25s ease;
  --shadow-glow: 0 8px 24px rgba(15, 164, 217, 0.2);
  --shadow-card: 0 4px 20px rgba(15, 28, 63, 0.07);
  --shadow-card-hover: 0 12px 32px rgba(15, 28, 63, 0.12);
}

/* === GLOBAL RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

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

a:hover {
  color: var(--text-white);
  opacity: 0.9;
}

ul, ol {
  padding-left: 1.5rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
  color: var(--text-body);
}

section {
  padding: 80px 0;
}

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

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.text-primary { color: var(--primary); }
.text-green { color: var(--green); }

.gradient-text {
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === FADE ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === KEYFRAMES === */
@keyframes pulse-glow {
  0%   { box-shadow: 0 0 5px rgba(15, 164, 217, 0.2); }
  50%  { box-shadow: 0 0 20px rgba(15, 164, 217, 0.4), 0 0 40px rgba(124, 58, 237, 0.2); }
  100% { box-shadow: 0 0 5px rgba(15, 164, 217, 0.2); }
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================================================================
   SITE HEADER
   ================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 250, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo:hover {
  opacity: 0.85;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text-white);
  background: var(--bg-hover);
}

.nav-links a.active {
  color: var(--primary);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Cart button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-heading);
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.cart-btn:hover {
  border-color: var(--primary);
  background: rgba(15, 164, 217, 0.06);
}

.cart-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================
   HERO SECTION
   ================================================================ */

.hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    rgba(255, 255, 255, 0) 0%,
    rgba(15, 164, 217, 0.06) 40%,
    rgba(245, 158, 11, 0.08) 70%,
    var(--bg-body) 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(15, 164, 217, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(15, 164, 217, 0.1);
  border: 1px solid rgba(15, 164, 217, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-white);
  max-width: 800px;
  margin: 0 auto 24px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.hero-stat .stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ================================================================
   BUTTONS / CTAs
   ================================================================ */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.cta-button:hover {
  transform: scale(1.02);
  color: var(--text-white);
  animation: pulse-glow 2s infinite;
}

.cta-button:active {
  transform: scale(0.98);
}

.cta-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 27px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.cta-button-secondary:hover {
  background: rgba(15, 164, 217, 0.08);
  color: var(--text-white);
  transform: scale(1.02);
}

.cta-button-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.cta-button-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #000;
  font-weight: 800;
}

.cta-button-green:hover {
  animation: none;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

/* ================================================================
   SECTION HEADER
   ================================================================ */

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

.section-header h2 {
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

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

/* ================================================================
   BADGES
   ================================================================ */

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  line-height: 1;
  z-index: 2;
}

.badge-popular {
  background: var(--primary);
  color: #fff;
}

.badge-bestseller {
  background: var(--green);
  color: #fff;
}

.badge-value {
  background: var(--accent-purple);
  color: #fff;
}

.badge-new {
  background: var(--orange);
  color: var(--text-white);
}

/* ================================================================
   CATEGORY FILTERS
   ================================================================ */

.category-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.category-filter::-webkit-scrollbar {
  height: 4px;
}

.category-filter::-webkit-scrollbar-track {
  background: transparent;
}

.category-filter::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-hover);
  color: var(--text-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}

.filter-pill:hover {
  color: var(--text-white);
  border-color: var(--primary);
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  color: var(--text-white);
  border-color: transparent;
  font-weight: 600;
}

/* ================================================================
   PRODUCT GRID
   ================================================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ================================================================
   PRODUCT CARD
   ================================================================ */

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover), 0 0 0 1px rgba(15, 164, 217, 0.15);
  border-color: rgba(15, 164, 217, 0.3);
}

/* Card image area */
.card-image {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image.chatgpt {
  background: linear-gradient(135deg, #fff4e9, rgba(15, 164, 217, 0.18));
}

.card-image.midjourney {
  background: linear-gradient(135deg, #f4ecff, rgba(124, 58, 237, 0.18));
}

.card-image.course {
  background: linear-gradient(135deg, #eaf7ef, rgba(22, 163, 74, 0.18));
}

.card-image.bundle {
  background: linear-gradient(135deg, #fff1e6, rgba(15, 164, 217, 0.22));
}

.card-image.premium {
  background: linear-gradient(135deg, #fff4e9, rgba(124, 58, 237, 0.12), rgba(15, 164, 217, 0.14));
}
.card-image.kits {
  background: linear-gradient(135deg, #fff1e6, rgba(15, 164, 217, 0.18));
}
.card-image.courses {
  background: linear-gradient(135deg, #eaf7ef, rgba(22, 163, 74, 0.18));
}
.card-image.bundles {
  background: linear-gradient(135deg, #f4ecff, rgba(124, 58, 237, 0.18));
}

.card-emoji {
  font-size: 3.5rem;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition);
}

.product-card:hover .card-emoji {
  transform: scale(1.1);
}

/* Card body */
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.card-title {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.card-price {
  color: var(--green);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
}

.card-price-original {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: line-through;
  margin-left: 8px;
}

.card-cta {
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  text-align: center;
}

.card-cta:hover {
  opacity: 0.9;
  transform: scale(1.01);
}

/* ================================================================
   PRODUCT HERO (Product detail page)
   ================================================================ */

.product-hero {
  padding: 80px 0 60px;
  background: radial-gradient(
    ellipse 100% 80% at 50% 0%,
    rgba(15, 164, 217, 0.04) 0%,
    rgba(124, 58, 237, 0.04) 50%,
    transparent 100%
  );
  border-bottom: 1px solid var(--border);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.breadcrumbs .separator {
  color: var(--border-light);
}

.breadcrumbs .current {
  color: var(--text-body);
}

/* ================================================================
   PRODUCT DETAILS LAYOUT
   ================================================================ */

.product-details {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 48px;
  align-items: start;
}

.product-main-content {
  min-width: 0;
}

.product-sidebar {
  position: sticky;
  top: 88px;
}

/* ================================================================
   PURCHASE BOX
   ================================================================ */

.purchase-box {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border);
  position: sticky;
  top: 88px;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  display: block;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.price-original {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.price-savings {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  background: rgba(34, 197, 94, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.purchase-box .cta-button {
  width: 100%;
  margin-bottom: 12px;
  padding: 16px;
  font-size: 1rem;
}

.purchase-box .cta-button-secondary {
  width: 100%;
}

.purchase-guarantee {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.purchase-includes {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.purchase-includes h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.purchase-includes ul {
  list-style: none;
  padding: 0;
}

.purchase-includes ul li {
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.purchase-includes ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ================================================================
   WHAT'S INSIDE LIST
   ================================================================ */

.whats-inside {
  list-style: none;
  padding: 0;
  margin: 0;
}

.whats-inside li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-body);
  line-height: 1.5;
  font-size: 0.95rem;
}

.whats-inside li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
}

/* ================================================================
   WHO IT'S FOR
   ================================================================ */

.who-its-for {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.persona-card {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  transition: border-color var(--transition), background var(--transition);
}

.persona-card:hover {
  border-color: rgba(15, 164, 217, 0.2);
  background: rgba(15, 164, 217, 0.02);
}

.persona-card .persona-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.persona-card .persona-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.persona-card .persona-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================================================================
   ORDER BUMP
   ================================================================ */

.order-bump {
  border: 2px dashed var(--secondary);
  background: rgba(124, 58, 237, 0.04);
  border-radius: var(--radius-card);
  padding: 20px;
  margin-top: 20px;
  transition: border-style var(--transition), background var(--transition);
}

.order-bump.checked {
  border-style: solid;
  background: rgba(124, 58, 237, 0.09);
}

.order-bump label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: 12px;
}

.order-bump input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.order-bump .bump-label-content {
  flex: 1;
}

.order-bump .bump-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.order-bump .bump-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.order-bump .bump-price {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 4px;
  display: block;
}

/* ================================================================
   FAQ SECTION
   ================================================================ */

.faq-section {
  max-width: 760px;
  margin: 0 auto;
}

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

.faq-section details:hover {
  border-color: var(--border-light);
}

.faq-section details[open] {
  border-color: rgba(15, 164, 217, 0.2);
}

.faq-section summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-white);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-section details[open] summary::after {
  transform: rotate(45deg);
}

.faq-section details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-section details p {
  padding: 16px 20px;
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.testimonial-card:hover {
  border-color: rgba(15, 164, 217, 0.15);
  transform: translateY(-2px);
}

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.7;
  position: relative;
  font-size: 0.93rem;
}

.testimonial-card .quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: -12px;
  left: -8px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-white);
}

.author-info .name {
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.author-info .role {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ================================================================
   BLOG CARDS
   ================================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 164, 217, 0.15);
}

.blog-image {
  height: 200px;
  background: linear-gradient(135deg, #fff4e9, rgba(15, 164, 217, 0.22));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-image-emoji {
  font-size: 3rem;
}

.blog-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.blog-title {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ================================================================
   BLOG POST (Article page)
   ================================================================ */

.blog-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0;
}

.blog-post h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.blog-post h2 {
  font-size: 1.8rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.blog-post h3 {
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.blog-post p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-body);
}

.blog-post a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-post ul,
.blog-post ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.blog-post ul li,
.blog-post ol li {
  margin-bottom: 8px;
  color: var(--text-body);
  line-height: 1.7;
}

.blog-post blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 0 12px 20px;
  margin: 32px 0;
  color: var(--text-body);
  font-style: italic;
  line-height: 1.7;
}

.reading-time {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.author-byline .avatar {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.author-byline .name {
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}

.author-byline .date {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

.related-posts {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.related-posts h3 {
  margin-bottom: 24px;
}

/* ================================================================
   NEWSLETTER SECTION
   ================================================================ */

.newsletter-section {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  border: 1px solid var(--border);
}

.newsletter-section h2 {
  margin-bottom: 12px;
}

.newsletter-section > p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-btn) 0 0 var(--radius-btn);
  padding: 14px 16px;
  color: var(--text-heading);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  min-width: 0;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--primary);
}

.newsletter-form button {
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 24px;
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.newsletter-form button:hover {
  opacity: 0.9;
}

.success-message {
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}

.newsletter-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */

.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  color: var(--text-white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(15, 164, 217, 0.2);
}

.step-title {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 260px;
}

/* ================================================================
   VALUE STACK
   ================================================================ */

.value-stack {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
}

.value-stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.value-stack-row:last-child {
  border-bottom: none;
}

.value-stack-row .item-name {
  color: var(--text-body);
  flex: 1;
}

.value-stack-row .item-value {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: line-through;
}

.value-stack-total {
  background: rgba(34, 197, 94, 0.06);
  border-top: 2px solid var(--green);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.value-stack-total .total-label {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
}

.value-stack-total .total-price {
  color: var(--green);
  font-weight: 800;
  font-size: 1.2rem;
}

/* ================================================================
   UPSELL BOX
   ================================================================ */

.upsell-box {
  background: linear-gradient(135deg, rgba(15, 164, 217, 0.04), rgba(124, 58, 237, 0.04));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
}

.upsell-box h3 {
  margin-bottom: 12px;
}

.upsell-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

/* ================================================================
   CART OVERLAY + PANEL
   ================================================================ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 380px;
  background: var(--bg-card);
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.cart-panel.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}

.cart-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-btn);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  line-height: 1;
}

.cart-close:hover {
  color: var(--text-white);
  border-color: var(--primary);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.cart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  text-align: center;
}

.cart-empty p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item-price {
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 700;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color var(--transition);
}

.cart-item-remove:hover {
  color: #ef4444;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-total-label {
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-total-amount {
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 800;
}

.cart-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}

.cart-checkout:hover {
  opacity: 0.9;
  transform: scale(1.01);
}

/* Prevent body scroll when cart open */
body.cart-open {
  overflow: hidden;
}

/* ================================================================
   CURRICULUM LIST
   ================================================================ */

.curriculum-list {
  list-style: none;
  padding: 0;
  counter-reset: curriculum;
}

.curriculum-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: curriculum;
}

.curriculum-list li:last-child {
  border-bottom: none;
}

.curriculum-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  color: var(--text-white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.curriculum-info {
  flex: 1;
}

.curriculum-module {
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.curriculum-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ================================================================
   STATS ROW
   ================================================================ */

.stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  background: var(--bg-footer);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

/* Footer is dark — override text colors for light-on-dark legibility */
.footer,
.footer p,
.footer .footer-brand p,
.footer .footer-col a,
.footer .footer-bottom p,
.footer .footer-bottom-links a,
.site-footer,
.site-footer p,
.site-footer .footer-col a,
.site-footer .footer-col p,
.site-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
}

.footer .footer-col h4,
.site-footer .footer-col h4,
.footer .footer-brand .site-logo,
.site-footer .footer-brand .site-logo,
.footer h4, .site-footer h4 {
  color: #ffffff;
}

.footer .footer-col a:hover,
.site-footer .footer-col a:hover,
.footer .footer-bottom-links a:hover {
  color: var(--primary);
}

.footer .social-link,
.site-footer .social-link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.footer .footer-bottom,
.site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 0;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .site-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-btn);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}

.social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--primary);
}

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

.footer-bottom p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ================================================================
   MOBILE NAVIGATION (dropdown)
   ================================================================ */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(254, 250, 246, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 99;
    animation: fadeSlideUp 0.2s ease;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 12px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .site-header .container {
    position: static;
  }
}

/* ================================================================
   RESPONSIVE — TABLET (640–1024px)
   ================================================================ */

@media (max-width: 1024px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

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

  .product-details {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
    order: -1;
  }

  .purchase-box {
    position: static;
  }

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

  .footer-brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }

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

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

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

  section {
    padding: 60px 0;
  }
}

/* ================================================================
   RESPONSIVE — MOBILE (<640px)
   ================================================================ */

@media (max-width: 640px) {
  html { font-size: 15px; }

  .container {
    padding: 0 16px;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  section {
    padding: 48px 0;
  }

  /* Hero */
  .hero {
    padding: 72px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

  .hero-cta-group .cta-button,
  .hero-cta-group .cta-button-secondary {
    width: 100%;
    max-width: 320px;
  }

  .hero-stats {
    gap: 32px;
  }

  /* Product grid */
  .product-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* How it works */
  .how-it-works {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .step-desc {
    max-width: none;
  }

  /* Who it's for */
  .who-its-for {
    grid-template-columns: 1fr;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Newsletter */
  .newsletter-section {
    padding: 32px 24px;
    border-radius: var(--radius-card);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    border-right: 1px solid var(--border);
    border-radius: var(--radius-btn) var(--radius-btn) 0 0;
  }

  .newsletter-form button {
    border-radius: 0 0 var(--radius-btn) var(--radius-btn);
    padding: 14px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

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

  /* Cart panel */
  .cart-panel {
    width: 100%;
  }

  /* Blog post */
  .blog-post h1 {
    font-size: 1.8rem;
  }

  .blog-post h2 {
    font-size: 1.4rem;
  }

  /* Buttons */
  .cta-button-lg {
    padding: 15px 28px;
    font-size: 1rem;
  }

  /* Purchase box */
  .purchase-box {
    padding: 24px;
  }

  .price-tag {
    font-size: 2rem;
  }

  /* Stats row */
  .stats-row {
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Curriculum */
  .curriculum-number {
    width: 30px;
    height: 30px;
    font-size: 0.72rem;
  }
}

/* ================================================================
   MISC / UTILITY
   ================================================================ */

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* Tag chips */
.tag-chip {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-right: 6px;
  margin-bottom: 6px;
}

/* Sticky notice bar */
.notice-bar {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  color: var(--text-white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.88rem;
  font-weight: 500;
}

.notice-bar a {
  color: var(--text-white);
  font-weight: 700;
  text-decoration: underline;
}

/* Alert / info boxes */
.alert {
  border-radius: var(--radius-btn);
  padding: 14px 18px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-info {
  background: rgba(15, 164, 217, 0.07);
  border: 1px solid rgba(15, 164, 217, 0.2);
  color: var(--primary);
}

.alert-success {
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-btn);
}

@keyframes skeleton-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-body);
  font-size: 1rem;
  transition: all var(--transition);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Selection */
::selection {
  background: rgba(15, 164, 217, 0.2);
  color: var(--text-white);
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scrollbar (webkit) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ================================================================
   PRODUCT PAGES — shared styling so all 34 product pages inherit
   the warm cream + brand cyan palette from the homepage
   ================================================================ */

/* Header layout variants product pages use */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover {
  color: var(--text-heading);
  background: var(--bg-hover);
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary-bright), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(254, 250, 246, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--text-heading); background: var(--bg-hover); }

/* Breadcrumb separator alias (product pages use .breadcrumb-sep) */
.breadcrumb-sep {
  color: var(--text-muted);
  font-weight: 400;
}

/* Product hero */
.product-hero {
  padding: 64px 0 48px;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.product-hero--chatgpt,
.product-hero--midjourney,
.product-hero--courses,
.product-hero--kits,
.product-hero--bundles,
.product-hero--premium {
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-body) 100%);
}

.product-hero-inner {
  display: block;
}
.product-hero-text {
  max-width: 820px;
}
.product-hero h1 {
  font-size: 2.4rem;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 14px 0 14px;
}

.product-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(15, 164, 217, 0.1);
  border: 1px solid rgba(15, 164, 217, 0.22);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.product-tagline {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 12px 0 22px;
  max-width: 640px;
}

.product-hero-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.price-main {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.price-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Product main content layout */
.product-main {
  padding: 56px 24px 24px;
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: start;
}
.product-content { min-width: 0; }

.content-section {
  margin-bottom: 48px;
}
.content-section h2 {
  font-size: 1.55rem;
  color: var(--text-heading);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.content-section p {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* Checklist: "What's Inside" list with checkmarks */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  position: relative;
  padding: 12px 0 12px 34px;
  color: var(--text-body);
  line-height: 1.6;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }
.checklist li .check {
  position: absolute;
  left: 0;
  top: 13px;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}
.checklist li strong {
  color: var(--text-heading);
  font-weight: 700;
}

/* Outcomes list ("What You'll Be Able To Do") */
.outcomes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.outcomes-list li {
  padding: 12px 0;
  color: var(--text-body);
  line-height: 1.6;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--border);
}
.outcomes-list li:last-child { border-bottom: none; }

/* Persona cards (Who This Is For) */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.persona-card .persona-emoji {
  font-size: 1.9rem;
  margin-bottom: 10px;
  display: block;
  line-height: 1;
}
.persona-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.persona-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .persona-grid { grid-template-columns: 1fr; }
}

/* Purchase box (right-rail sidebar) */
.product-purchase-box {
  position: sticky;
  top: 88px;
}
.purchase-box-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.purchase-price { margin-bottom: 18px; }
.purchase-price-main {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  display: block;
}
.purchase-price-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}
.purchase-box-inner .purchase-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.purchase-box-inner .purchase-includes li {
  padding: 6px 0;
  color: var(--text-body);
  font-size: 0.9rem;
}
.purchase-guarantee {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.guarantee-icon {
  font-size: 1rem;
}
.bump-price {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 6px;
  display: inline-block;
}

/* Bottom CTA section (full-width strip on product pages) */
.product-cta-section {
  padding: 64px 0 72px;
  background: linear-gradient(180deg, var(--bg-section), var(--bg-body));
  border-top: 1px solid var(--border);
  text-align: center;
}
.product-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.product-cta-inner h2 {
  font-size: 1.9rem;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.product-cta-inner p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 22px;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 14px;
}

/* FAQ accordion alias (product pages use .faq-item) */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: rgba(15, 164, 217, 0.32); }
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-heading);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 300;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 20px 18px;
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 0;
}

/* Mobile: collapse product layout grid */
@media (max-width: 960px) {
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-purchase-box { position: static; }
}
@media (max-width: 768px) {
  .product-hero { padding: 44px 0 36px; }
  .product-hero h1 { font-size: 1.85rem; }
  .product-main { padding: 40px 20px 20px; }
  .main-nav { display: none; }
}

/* Site footer aliases (product pages use .site-footer) */
.site-footer {
  background: var(--bg-footer);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary-bright), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
}

/* Cart panel header (product pages use .cart-panel-header instead of .cart-header) */
.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-panel-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
}

/* ================================================================
   BLOG POSTS — polish so rewritten posts inherit the homepage feel
   ================================================================ */

/* TL;DR box (already inline on rewritten posts — this is a fallback) */
.tldr {
  background: #eaf5fc;
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 10px;
  margin: 24px 0;
}
.tldr strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 700;
}
.tldr p {
  margin: 0;
  color: var(--text-body);
  line-height: 1.6;
}

/* Author byline (inline in rewritten posts, fallback here) */
.author-byline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 32px;
}
.author-byline strong {
  color: var(--text-heading);
  font-weight: 600;
}

/* Blog post body styling refresh — warm cream readability */
.blog-post p,
article p {
  color: var(--text-body);
}
.blog-post h2,
article h2 {
  color: var(--text-heading);
  margin-top: 40px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.blog-post h3,
article h3 {
  color: var(--text-heading);
  margin-top: 28px;
  margin-bottom: 10px;
}
.blog-post blockquote,
article blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 18px;
  margin: 28px 0;
  color: var(--text-body);
  font-style: italic;
}
.blog-post code,
article code {
  background: var(--bg-section);
  color: var(--text-heading);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: "SF Mono", Menlo, Consolas, monospace;
}
.blog-post pre,
article pre {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  margin: 20px 0;
}
.blog-post pre code,
article pre code {
  background: transparent;
  padding: 0;
}

/* ================================================================
   PRODUCT COVER MOCKUP FRAMES
   Applied to a cover image on the product hero + store cards.
   Auto-assigned by product type via a data attribute on the outer
   wrapper: data-mockup="book" | "notion" | "device" | "flat"
   ================================================================ */

.product-cover {
  position: relative;
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
}
.product-cover img,
.product-cover svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* --- Flat: just the cover with a soft shadow --- */
.product-cover[data-mockup="flat"] img,
.product-cover[data-mockup="flat"] svg {
  box-shadow: 0 16px 40px rgba(15, 28, 63, 0.18), 0 4px 12px rgba(15, 28, 63, 0.08);
  border-radius: 14px;
}

/* --- Book: cover with a 3D spine and page edge --- */
.product-cover[data-mockup="book"] {
  perspective: 1800px;
}
.product-cover[data-mockup="book"] .cover-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateY(-8deg);
  transform-origin: left center;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}
.product-cover[data-mockup="book"]:hover .cover-inner {
  transform: rotateY(-4deg);
}
.product-cover[data-mockup="book"] img,
.product-cover[data-mockup="book"] svg {
  box-shadow: 0 24px 50px rgba(15, 28, 63, 0.3), 0 6px 16px rgba(15, 28, 63, 0.12);
  border-radius: 4px 12px 12px 4px;
}
/* Spine gradient on the left */
.product-cover[data-mockup="book"]::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 18px;
  background: linear-gradient(90deg,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.12) 40%,
    rgba(0,0,0,0) 100%);
  border-radius: 4px 0 0 4px;
  z-index: 2;
  pointer-events: none;
}
/* Page edge suggestion on the right */
.product-cover[data-mockup="book"]::after {
  content: '';
  position: absolute;
  top: 2%; bottom: 2%; right: -6px;
  width: 8px;
  background: linear-gradient(90deg, #e9e2d8 0%, #fff 60%, #e9e2d8 100%);
  border-radius: 0 4px 4px 0;
  box-shadow: 1px 0 3px rgba(0,0,0,0.08);
  z-index: 0;
  pointer-events: none;
}

/* --- Notion: cover shown with a faux Notion sidebar/content preview --- */
.product-cover[data-mockup="notion"] {
  aspect-ratio: 5 / 4;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 28, 63, 0.12), 0 2px 8px rgba(15, 28, 63, 0.06);
  padding: 10px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  overflow: hidden;
}
.product-cover[data-mockup="notion"]::before {
  /* Faux sidebar */
  content: '';
  display: block;
  background: linear-gradient(180deg, #f7f5ef 0%, #ece8dd 100%);
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, #f7f5ef 0%, #ece8dd 100%),
    repeating-linear-gradient(180deg,
      transparent 0, transparent 18px,
      rgba(15,28,63,0.08) 18px, rgba(15,28,63,0.08) 20px,
      transparent 20px, transparent 40px);
}
.product-cover[data-mockup="notion"] img,
.product-cover[data-mockup="notion"] svg {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(15, 28, 63, 0.1);
}

/* --- Device: cover shown inside a laptop-screen frame --- */
.product-cover[data-mockup="device"] {
  aspect-ratio: 16 / 11;
  max-width: 560px;
  padding: 18px 18px 36px;
  background: linear-gradient(180deg, #e5e5e5 0%, #c4c4c4 100%);
  border-radius: 14px 14px 4px 4px;
  box-shadow:
    0 20px 40px rgba(15, 28, 63, 0.18),
    inset 0 2px 4px rgba(255,255,255,0.4);
  position: relative;
}
.product-cover[data-mockup="device"]::after {
  /* Laptop base */
  content: '';
  position: absolute;
  bottom: -14px; left: -6%; right: -6%;
  height: 14px;
  background: linear-gradient(180deg, #d0d0d0 0%, #a0a0a0 100%);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 6px 14px rgba(15, 28, 63, 0.25);
}
.product-cover[data-mockup="device"] img,
.product-cover[data-mockup="device"] svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-body);
}

/* --- Product hero layout with cover on right --- */
.product-hero.has-cover .product-hero-inner,
.product-hero .product-hero-inner.with-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .product-hero.has-cover .product-hero-inner,
  .product-hero .product-hero-inner.with-cover {
    grid-template-columns: 1fr;
  }
  .product-cover {
    max-width: 320px;
    margin: 20px auto 0;
  }
}

/* --- Store card thumbnail with cover SVG (replaces emoji) --- */
.product-card .card-image {
  position: relative;
  overflow: hidden;
}
.product-card .card-image.has-cover {
  padding: 0;
  background: none;
}
.product-card .card-image.has-cover img,
.product-card .card-image.has-cover svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.product-card .card-image.has-cover .emoji {
  /* Hide fallback emoji when cover image is present */
  display: none;
}
