/* ==========================================================================
   Skill Library - Premium Dark Theme CSS
   ========================================================================== */

/* =====================================================
   MOBILE-ONLY ELEMENTS  (hidden on desktop by default)
   ===================================================== */
.hero-mobile-image,
.hero-mobile-cta,
.hero-mobile-price {
  display: none;
}

/* Desktop CTA always visible on ≥769px */
.hero-desktop-ctas {
  display: flex;
}

:root {
  /* Color Palette - Obsidian Slate base with Emerald & Gold Accents */
  --bg-darker: #07090e;
  --bg-dark: #0d121f;
  --bg-card: #131b2e;
  --bg-card-hover: #1c2742;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #8b95a6;
  
  --accent-emerald: #10b981;
  --accent-emerald-hover: #059669;
  --accent-emerald-glow: rgba(16, 185, 129, 0.15);
  
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.15);
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-hover: rgba(255, 255, 255, 0.12);
  
  --glass-bg: rgba(13, 18, 31, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Typography */
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Utilities */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  z-index: -1;
  pointer-events: none;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-darker);
}

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

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  color: var(--accent-emerald);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background-color: var(--accent-emerald);
  opacity: 0.5;
}

.section-head h2 {
  font-family: var(--font-title);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-head h2 span {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Background Gradients & Glows */
.glow-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(245, 158, 11, 0.03) 50%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
}

.glow-bg-footer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 80vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, rgba(16, 185, 129, 0.02) 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  filter: blur(100px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-emerald-hover) 100%);
  color: #07090e;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #07090e;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

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

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo svg {
  color: var(--accent-emerald);
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.5));
}

.logo span {
  color: var(--accent-gold);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.header-meta-item strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 120px 0 80px;
  overflow: hidden;
  z-index: 1;
}

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

.hero-content {
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: clamp(40px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-content h1 span.highlight-green {
  background: linear-gradient(135deg, #10B981, #059669);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}

.hero-content p.lede {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 52ch;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

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

.trust-item svg {
  color: var(--accent-gold);
}

/* Hero Bundle Image Stack */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.visual-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 2 / 3;
}

.visual-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--accent-gold);
  color: var(--bg-darker);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
  transform: rotate(6deg);
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

.image-card {
  position: absolute;
  width: 90%;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: var(--transition);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stack styling */
.image-card-1 {
  top: 8%;
  left: -8%;
  transform: rotate(-8deg) scale(0.9);
  z-index: 1;
  opacity: 0.6;
}

.image-card-2 {
  top: 5%;
  right: -8%;
  transform: rotate(6deg) scale(0.92);
  z-index: 2;
  opacity: 0.8;
}

.image-card-3 {
  top: 0;
  left: 5%;
  transform: rotate(-1deg);
  z-index: 3;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.visual-container:hover .image-card-1 {
  transform: rotate(-10deg) translate(-20px, 10px) scale(0.95);
  opacity: 0.8;
}

.visual-container:hover .image-card-2 {
  transform: rotate(8deg) translate(20px, -10px) scale(0.95);
  opacity: 0.9;
}

.visual-container:hover .image-card-3 {
  transform: scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.2);
}

@keyframes float {
  0% { transform: translateY(0) rotate(6deg); }
  100% { transform: translateY(-8px) rotate(8deg); }
}

/* ==========================================================================
   Stats Band Section
   ========================================================================== */
.stats-band {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 10px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-color);
}

.stat-value {
  font-family: var(--font-title);
  font-size: clamp(32px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-value.gold {
  color: var(--accent-gold);
}

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


/* ==========================================================================
   Categories Showcase Section
   ========================================================================== */
.categories-section {
  background-color: var(--bg-dark);
}

.category-blocks {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.category-block {
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  gap: 56px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: var(--transition);
}

.category-block:hover {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.08);
}

.category-block.reverse {
  grid-template-columns: 1.34fr 0.66fr;
}

.category-block.reverse .category-img-wrapper {
  order: 2;
}

/* Unified poster sizing — identical across every shelf */
.category-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-darker);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 2 / 3;
  max-width: 350px;
  width: 100%;
  margin: 0 auto;
}

/* Shelves 01–04 source posters are 3:4 (1086×1448), not 2:3 like 05+.
   Match the frame to the image ratio so the poster fills it with only a
   thin border (removes the black top/bottom margins). */
.category-block:nth-of-type(-n+4) .category-img-wrapper {
  aspect-ratio: 3 / 4;
}

.category-img-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
}

.category-block:hover .category-img-wrapper img {
  transform: scale(1.03);
}

.category-content {
  display: flex;
  flex-direction: column;
}

.category-index {
  font-family: var(--font-title);
  color: var(--accent-emerald);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.category-content h3 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.category-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 620px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.category-tag {
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.category-popular {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.category-popular-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.category-popular-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  font-size: 14px;
  color: var(--text-primary);
}

.category-popular-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-popular-list li::before {
  content: "✦";
  color: var(--accent-emerald);
  font-size: 12px;
}

/* ==========================================================================
   Features / Why Bundle
   ========================================================================== */
.features-section {
  background-color: var(--bg-dark);
}

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

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

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.feature-icon-box {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card.green-icon .feature-icon-box {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
}

.feature-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  background-color: var(--bg-darker);
}

.pricing-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.pricing-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-gold));
}

.pricing-popular-badge {
  position: absolute;
  top: 24px;
  right: -32px;
  background: var(--accent-emerald);
  color: #07090e;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  padding: 6px 36px;
  transform: rotate(45deg);
}

.price-box {
  text-align: center;
  margin-bottom: 30px;
}

.price-was {
  font-size: 16px;
  color: var(--text-dark);
  text-decoration: line-through;
  margin-bottom: 4px;
  display: block;
}

.price-now {
  font-family: var(--font-title);
  font-size: 68px;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}

.price-now span.currency {
  font-size: 32px;
  margin-top: 8px;
  font-weight: 700;
}

.price-term {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* Timer styles */
.timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 30px;
}

.timer-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.timer-label svg {
  animation: pulse 1.5s infinite;
}

.timer-countdown {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.price-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.price-feature-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.price-checkout-btn {
  width: 100%;
  margin-bottom: 16px;
}

.price-checkout-footer {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   Reviews / Testimonials Section
   ========================================================================== */
.reviews-section {
  background-color: var(--bg-dark);
}

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

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

.review-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.review-stars {
  color: var(--accent-gold);
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.review-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.review-avatar {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-gold));
  color: var(--bg-darker);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 15px;
}

.review-user-info h4 {
  font-family: var(--font-title);
  font-size: 14.5px;
  font-weight: 700;
}

.review-user-info span {
  font-size: 12.5px;
  color: var(--text-dark);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background-color: var(--bg-darker);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item:hover {
  border-color: rgba(255,255,255,0.12);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-header svg {
  color: var(--text-dark);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active {
  border-color: rgba(16, 185, 129, 0.3);
}

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

.faq-item.active .faq-header svg {
  transform: rotate(45deg);
  color: var(--accent-emerald);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-body p {
  padding: 0 28px 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px; /* base: desktop has no sticky bar */
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-logo span {
  color: var(--accent-gold);
}

.footer-logo svg {
  color: var(--accent-emerald);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13.5px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-copyright {
  font-size: 12.5px;
  color: var(--text-dark);
  text-align: center;
}

.footer-owner {
  display: block;
  font-size: 12px;
  color: var(--text-dark);
  margin-top: 6px;
}

/* ==========================================================================
   Sticky Mobile Bottom Bar
   ========================================================================== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(13, 18, 31, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border);
  padding: 16px 24px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  display: none;
  animation: slideUp 0.5s ease;
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
}

.sticky-bar-price {
  display: flex;
  flex-direction: column;
}

.sticky-bar-price .label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-dark);
  font-weight: 700;
}

.sticky-bar-price .value {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-gold);
}

.sticky-bar .btn {
  padding: 12px 24px;
  font-size: 14px;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ==========================================================================
   Toast Notifications (Social Proof)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 110;
  pointer-events: none;
}

.toast {
  background: rgba(19, 27, 46, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(150px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
  pointer-events: auto;
  max-width: 320px;
}

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

/* Screenshot helper: hide the floating purchase toast for clean captures */
body.no-toast .toast-container {
  display: none;
}

.toast-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: ripple 2s infinite;
}

.toast-content {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-primary);
}

.toast-content strong {
  color: var(--accent-emerald);
}

@keyframes ripple {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}



/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-eyebrow {
    margin-bottom: 18px;
  }
  
  .hero-content p.lede {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas, .hero-trust {
    justify-content: center;
  }
  
  .category-block, .category-block.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
    text-align: center;
  }
  
  .category-block.reverse .category-img-wrapper {
    order: 0;
  }

  .category-content {
    align-items: center;
  }

  .category-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .category-tags {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-item::after {
    display: none;
  }
}

/* ==========================================================================
   MOBILE BREAKPOINTS — Complete Rewrite
   Optimized for: 320px / 360px / 375px / 390px / 414px / 430px / 480px
   Desktop layout (≥769px) is NEVER touched.
   ========================================================================== */

/* -------------------------------------------------------------------
   768px and below: Show mobile hero elements, hide desktop equivalents
   ------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* ── Container & Section spacing ── */
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  /* ── Header ── */
  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .header-inner {
    height: 60px;
  }

  .header-meta-item {
    display: none;
  }

  .header-cta {
    gap: 10px;
  }

  .header-cta .btn {
    padding: 9px 16px !important;
    font-size: 13px !important;
  }

  /* ── Hero Section ── */
  /* Tighten top padding so content starts close to navbar */
  .hero {
    padding: 20px 0 48px;
  }

  /* Stack everything vertically, no side-by-side grid */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  /* Hide the desktop stacked image visual */
  .hero-visual {
    display: none;
  }

  /* Hide the desktop CTA row */
  .hero-desktop-ctas {
    display: none;
  }

  /* ── Eyebrow ── */
  .hero-eyebrow {
    margin-bottom: 16px;
  }

  /* ── Heading ── */
  .hero-content h1 {
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.15;
    margin-bottom: 24px;
  }

  /* ── MOBILE: main image.png ── */
  .hero-mobile-image {
    display: block;
    width: 100%;
    margin: 0 auto 20px;
  }

  .hero-mobile-image img {
    display: block;
    width: 95%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* ── MOBILE: CTA button (right after image) ── */
  .hero-mobile-cta {
    display: block;
    width: 100%;
    margin: 0 auto 24px;
  }

  .hero-mobile-cta .btn {
    width: 100%;
    height: 58px;
    font-size: 16px;
    border-radius: 14px;
    justify-content: center;
    letter-spacing: 0.01em;
  }

  /* ── Description (below CTA) ── */
  .hero-content p.lede {
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 24px;
    color: var(--text-muted);
    max-width: 100%;
    text-align: center;
  }

  /* ── MOBILE: Price mini card (below description) ── */
  .hero-mobile-price {
    display: block;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 0 auto 24px;
    text-align: center;
  }

  .hero-price-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dark);
    margin-bottom: 6px;
  }

  .hero-price-value {
    font-family: var(--font-title);
    font-size: 52px;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
  }

  .hero-price-sub {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
  }

  /* ── Trust badges ── */
  .hero-trust {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
  }

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

  /* ── Global button touch targets ── */
  .btn {
    min-height: 48px;
  }

  /* ── Buttons full-width on mobile ── */
  .hero-ctas .btn,
  .price-checkout-btn {
    width: 100%;
  }

  /* ── Stats band ── */
  .stats-band {
    padding: 32px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .stat-value {
    font-size: 28px;
  }

  /* ── Category blocks ── */
  .category-block,
  .category-block.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px;
  }

  .category-block.reverse .category-img-wrapper {
    order: 0;
  }

  .category-content {
    align-items: center;
  }

  .category-content h3 {
    font-size: 22px;
    text-align: center;
  }

  .category-content p {
    font-size: 14.5px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .category-tags {
    justify-content: center;
  }

  .category-img-wrapper {
    max-width: 240px;
  }

  /* ── Features grid ── */
  .feature-card {
    padding: 28px 22px;
  }

  /* ── Pricing ── */
  .pricing-wrapper {
    padding: 28px 18px;
  }

  .price-now {
    font-size: 56px;
  }


  /* ── Sticky bottom bar ── */
  .sticky-bar {
    display: block;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }

  /* ── Footer: add clearance above sticky bar on mobile ── */
  footer {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  /* ── Toast ── */
  .toast-container {
    bottom: 92px;
    left: 16px;
    right: 16px;
  }

  .toast {
    max-width: none;
    width: 100%;
  }

}

/* -------------------------------------------------------------------
   576px and below
   ------------------------------------------------------------------- */
@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .section-head p {
    font-size: 14.5px;
  }

  /* Hero */
  .hero {
    padding: 16px 0 40px;
  }

  .hero-content h1 {
    font-size: clamp(26px, 7.5vw, 34px);
    margin-bottom: 20px;
  }

  .hero-mobile-image img {
    width: 100%;
    border-radius: 20px;
  }

  .hero-mobile-cta .btn {
    height: 56px;
    font-size: 15.5px;
  }

  .hero-price-value {
    font-size: 46px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 14px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
  }

  .stat-item::after {
    display: none !important;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* Category */
  .category-block,
  .category-block.reverse {
    padding: 22px 16px;
    gap: 20px;
    border-radius: var(--radius-md);
  }

  .category-content h3 {
    font-size: 22px;
  }

  /* Legal pages on small phones */
  .legal-toc ol {
    columns: 1;
  }

  .terms-article {
    padding: 26px 20px;
  }

  .terms-article h2 {
    font-size: 20px;
  }

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

  .contact-cta {
    padding: 28px 20px;
  }

  .category-img-wrapper {
    max-width: 200px;
  }


}

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

  .header-inner {
    height: 56px;
  }

  .logo {
    font-size: 18px;
  }

  .logo svg {
    width: 22px;
    height: 22px;
  }

  .header-cta .btn {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }

  .hero-content h1 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .hero-mobile-image img {
    border-radius: 18px;
  }

  .hero-mobile-cta .btn {
    height: 54px;
    font-size: 15px;
    border-radius: 12px;
  }

  .hero-price-value {
    font-size: 42px;
  }

  .hero-mobile-price {
    padding: 16px 18px;
  }

  .section-head h2 {
    font-size: clamp(22px, 6.5vw, 26px);
  }

  .category-block,
  .category-block.reverse {
    padding: 18px 14px;
  }

  .feature-card {
    padding: 22px 18px;
  }

  .sticky-bar {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .sticky-bar-price .value {
    font-size: 20px;
  }

  .sticky-bar .btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .price-now {
    font-size: 50px;
  }

  .faq-header {
    padding: 18px 18px;
    font-size: 15px;
  }

  .faq-body p {
    padding: 0 18px 18px;
    font-size: 14px;
  }
}

/* ==========================================================================
   Accessibility — focus visibility & reduced motion
   ========================================================================== */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------
   360px and below (small Androids)
   ------------------------------------------------------------------- */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

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

  .hero-mobile-cta .btn {
    height: 52px;
    font-size: 14px;
  }

  .hero-price-value {
    font-size: 38px;
  }

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

  .sticky-bar-price .value {
    font-size: 18px;
  }

}
