/* ==========================================================================
   ScaleUp Biz - The 1% Daily System Design System & Stylesheet
   Modern, Luxury, High-Converting Vanilla CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #051016;
  --bg-navy: #081a22;
  --bg-surface: #0e2732;
  --bg-surface-elevated: #143542;
  --bg-card: rgba(16, 42, 53, 0.75);
  --bg-card-hover: rgba(22, 56, 70, 0.85);
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8899a6;
  --text-gold: #f6c87a;
  
  --brand-orange: #f26522;
  --brand-gold: #f59e0b;
  --brand-amber: #d97706;
  --brand-teal: #14b8a6;
  --brand-teal-light: #2dd4bf;
  --brand-glow: rgba(245, 158, 11, 0.18);
  --teal-glow: rgba(20, 184, 166, 0.15);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(245, 158, 11, 0.28);
  --border-focus: #f59e0b;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(245, 158, 11, 0.25);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --font-heading: 'Outfit', sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(20, 184, 166, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(245, 158, 11, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(14, 39, 50, 0.7) 0%, transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #fbbf24;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 16, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-orange));
  color: #051016 !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* Section Headings */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: rgba(8, 26, 34, 0.5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--text-gold);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 4.5rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--brand-teal-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 10px var(--brand-teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--brand-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-gold);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  width: 100%;
  margin-bottom: 2.25rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.highlight-icon {
  color: var(--brand-gold);
  font-weight: bold;
}

/* Hero Pricing Box & CTA */
.hero-cta-box {
  width: 100%;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.current-price {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-gold);
}

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

.discount-tag {
  background: rgba(242, 101, 34, 0.15);
  border: 1px solid var(--brand-orange);
  color: var(--brand-orange);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.price-notice {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cta-button {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-orange) 100%);
  color: #051016;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1rem 1.8rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  width: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.5);
  color: #051016;
}

.cta-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

/* 3D Mockup Container */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.mockup-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(20, 184, 166, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-slow);
}

.mockup-wrapper:hover {
  transform: translateY(-6px) scale(1.01);
}

.mockup-img {
  width: 100%;
  max-width: 440px;
  display: block;
  border-radius: var(--radius-lg);
}

.mockup-floating-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(5, 16, 22, 0.88);
  backdrop-filter: blur(12px);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gold);
}

/* ==========================================================================
   Problem Section ("Why Good Intentions Fade on Thursday")
   ========================================================================== */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 101, 34, 0.35);
}

.problem-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-orange);
  margin-bottom: 0.75rem;
}

.problem-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.problem-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Characters Tab Component */
.characters-box {
  margin-top: 3.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.character-header {
  margin-bottom: 1.5rem;
}

.character-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.char-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--transition-fast);
}

.char-tab-btn.active {
  background: var(--brand-gold);
  color: #051016;
  font-weight: 700;
}

.char-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.char-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-gold);
  border-left: 3px solid var(--brand-gold);
  padding-left: 1.25rem;
  line-height: 1.6;
}

.char-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   The Solution Section ("The 1% Daily System")
   ========================================================================== */
.solution-math-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.math-formula {
  background: rgba(5, 16, 22, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.25rem 0;
}

.math-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.math-stat:last-child {
  border-bottom: none;
}

.math-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.math-good {
  color: var(--brand-teal-light);
}

.math-bad {
  color: var(--brand-orange);
}

/* 4 Levers Grid */
.levers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.lever-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform var(--transition-normal);
}

.lever-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.4);
}

.lever-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-teal-light);
  margin-bottom: 0.5rem;
}

.lever-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lever-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   What's Inside Section (4 Parts, 30 Habits, 5 Worksheets)
   ========================================================================== */
.toolkits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.toolkit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.toolkit-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.toolkit-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.habit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.habit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.habit-num {
  font-weight: 700;
  color: var(--brand-teal-light);
  min-width: 22px;
}

/* 4 Parts Road */
.parts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.part-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.part-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
}

.part-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0.4rem 0;
}

.part-chaps {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Worksheets Showcase */
.worksheets-section {
  margin-top: 3.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.worksheets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.worksheet-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  font-size: 0.88rem;
}

.worksheet-pill strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--brand-gold);
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   Genuine Page Previews Section
   ========================================================================== */
.previews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.preview-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-md), 0 0 20px rgba(245, 158, 11, 0.2);
}

.preview-thumbnail {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: #ffffff;
  display: block;
}

.preview-meta {
  padding: 1rem;
  background: var(--bg-card);
}

.preview-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-teal-light);
  text-transform: uppercase;
}

.preview-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

/* Modal Lightbox for Page Previews */
.preview-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.preview-modal.active {
  display: flex;
}

.modal-content-box {
  position: relative;
  max-width: 700px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-preview-img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  display: block;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #051016;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

/* ==========================================================================
   Product Specifications Table
   ========================================================================== */
.specs-table-box {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.specs-table {
  min-width: 480px;
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table th {
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-gold);
  width: 32%;
  background: rgba(255, 255, 255, 0.02);
}

.specs-table td {
  padding: 1.1rem 1.5rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Checkout & Offer Section
   ========================================================================== */
.offer-box {
  background: linear-gradient(135deg, rgba(14, 39, 50, 0.95), rgba(8, 26, 34, 0.95));
  border: 2px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.offer-details h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.offer-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--brand-teal-light);
  font-weight: bold;
}

/* Checkout Form */
.checkout-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.checkout-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.checkout-card-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--brand-gold);
  outline: none;
}

.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--brand-gold);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #030a0e;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link-btn {
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.footer-link-btn:hover {
  color: var(--brand-gold);
}

.disclaimer-box {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

/* ==========================================================================
   Legal & Information Modals
   ========================================================================== */
.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.legal-modal.active {
  display: flex;
}

.legal-modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.legal-modal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text-gold);
}

.legal-modal-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-modal-content p, .legal-modal-content li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.legal-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
}

.legal-modal-close:hover {
  color: var(--text-main);
}

/* ==========================================================================
   Toast / Notification Component
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-accent);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

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

.toast.error {
  border-color: var(--brand-orange);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-highlights {
    justify-content: center;
  }
  .problem-cards {
    grid-template-columns: 1fr;
  }
  .toolkits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-math-grid {
    grid-template-columns: 1fr;
  }
  .levers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .parts-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .worksheets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .previews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .offer-box {
    grid-template-columns: 1fr;
  }
  .char-content {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 2rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .toolkits-grid {
    grid-template-columns: 1fr;
  }
  .levers-grid {
    grid-template-columns: 1fr;
  }
  .previews-grid {
    grid-template-columns: 1fr;
  }
  .worksheets-grid {
    grid-template-columns: 1fr;
  }
  .parts-strip {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* Hide regular links on narrow phones, keep cta */
  }
}

/* ==========================================================================
   ENHANCED RESPONSIVE DESIGN (MOBILE, TABLET, LAPTOP)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links {
    display: none !important; /* Keep tablet header clean & uncluttered */
  }
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block !important;
  }
  body {
    padding-bottom: 74px; /* Space for fixed mobile bottom CTA bar */
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }
  .offer-box {
    padding: 1.5rem 1rem !important;
  }
  .hero-title {
    font-size: 1.95rem;
    overflow-wrap: break-word;
  }
  .section-title {
    font-size: 1.8rem;
    overflow-wrap: break-word;
  }
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 26, 34, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  padding: 10px 16px;
  z-index: 99;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}

.mobile-sticky-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
