/*
Theme Name: RightFret
Theme URI: https://rightfret.com
Author: RightFret
Author URI: https://rightfret.com
Description: Custom marketing theme for RightFret: Smart Practice System.
Version: 2.1.1
License: Proprietary
Text Domain: rightfret
*/

/* ========================================
   CSS VARIABLES — WOODSHOP DESIGN SYSTEM
   ======================================== */
:root {
  /* Accent Colors */
  --cherry: #C4323C;
  --cherry-light: #D94452;
  --cherry-deep: #9E2832;
  --amber: #D4953A;
  --honey: #E8B84A;
  --gold: #C9A84C;
  --cream: #E8DCC8;
  --rosewood: #3D2B22;
  --rosewood-deep: #2A1D17;
  --wood-med: #8B6F4E;
  --wood-light: #B89868;
  --correct: #4CAF50;

  /* Dark Surfaces */
  --bg: #141210;
  --bg-alt: #0E0D0B;
  --surface: #1E1B18;
  --surface2: #2A2622;
  --border: #3A3530;
  --text: #F0E8DE;
  --text2: #A89880;
  --muted: #6B5D4D;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #C4323C, #D4953A);
  --grad-sunburst: linear-gradient(135deg, #C4323C, #D4953A, #E8B84A);
  --grad-rosewood: linear-gradient(180deg, #3D2B22 0%, #2A1D17 100%);
  --grad-surface: linear-gradient(180deg, #1E1B18 0%, #141210 100%);

  /* Typography */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-accent: 'Crimson Pro', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* iOS Safari ignores overflow-x on body alone — the page pans sideways if
     anything overflows. Clipping must live on the root element. `clip` is
     preferred (no scroll container created); `hidden` is the fallback for
     engines without it. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* WordPress-specific overrides */
body.rightfret-front { margin: 0; padding: 0; }
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 18px;
  color: var(--text2);
  max-width: 600px;
  line-height: 1.5;
}

/* ========================================
   GRAIN OVERLAY — TEXTURE
   ======================================== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(20, 18, 16, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  overflow: hidden;
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.nav-logo-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.nav-logo-text span {
  background: var(--grad-sunburst);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--text2);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--grad-primary);
  color: white !important;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196, 50, 60, 0.3);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(196, 50, 60, 0.12) 0%, rgba(212, 149, 58, 0.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(212, 149, 58, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  margin-bottom: var(--space-lg);
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--cherry);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero h1 .gradient-text {
  background: var(--grad-sunburst);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: var(--space-xl);
  max-width: 520px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--grad-primary);
  color: white;
  padding: 16px 32px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196, 50, 60, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px 28px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--cherry);
  background: var(--surface2);
}

/* Hero Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 620px;
  background: #0A0908;
  border-radius: 44px;
  border: 3px solid var(--border);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 120px rgba(196, 50, 60, 0.08);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0A0908;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating elements around phone */
.hero-float {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}

.hero-float-1 {
  top: 60px;
  right: -30px;
  animation-delay: 0s;
}

.hero-float-1 .value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--correct);
}

.hero-float-2 {
  bottom: 120px;
  left: -20px;
  animation-delay: -2s;
}

.hero-float-2 .value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--amber);
}

.hero-float-3 {
  top: 200px;
  left: -40px;
  animation-delay: -4s;
}

.hero-float-3 .value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cherry-light);
}

/* ========================================
   SOCIAL PROOF BAR
   ======================================== */
.proof-bar {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

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

.proof-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 28px;
  background: var(--grad-sunburst);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem {
  padding: var(--space-4xl) 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-top: var(--space-2xl);
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
}

.problem-card .icon {
  font-size: 32px;
  margin-bottom: var(--space-md);
}

.problem-card h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

.problem-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

.solution-text h3 {
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.solution-text h3 .cherry { color: var(--cherry-light); }
.solution-text h3 .amber { color: var(--amber); }

.solution-text p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.solution-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.solution-checks li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
}

.solution-checks li::before {
  content: '\2713';
  color: var(--correct);
  font-weight: 800;
  font-size: 16px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
  padding: var(--space-4xl) 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(196, 50, 60, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.features-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--space-xl);
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--cherry);
  transform: translateY(-4px);
}

.feature-card.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  background: var(--grad-rosewood);
  border-color: rgba(196, 50, 60, 0.2);
}

.feature-card.featured:hover {
  border-color: var(--cherry);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--surface2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-md);
}

.feature-card.featured .feature-icon {
  background: rgba(196, 50, 60, 0.15);
}

.feature-card h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

.feature-card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cherry-light);
  background: rgba(196, 50, 60, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: var(--space-md);
}

/* Heatmap visual inside featured card */
.heatmap-demo {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 3px;
  padding: var(--space-md);
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
}

.heatmap-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  min-width: 0;
  transition: transform 0.2s;
}

.heatmap-cell:hover { transform: scale(1.3); }

.heatmap-cell.untried { background: var(--surface2); }
.heatmap-cell.struggling { background: var(--cherry); }
.heatmap-cell.learning { background: var(--amber); }
.heatmap-cell.proficient { background: var(--gold); }
.heatmap-cell.mastered { background: var(--correct); }

.heatmap-legend {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.heatmap-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
}

.heatmap-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

/* ========================================
   PHASE CARDS (4-Phase Curriculum)
   ======================================== */
.phase-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.phase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.phase-card:hover {
  border-color: var(--cherry);
  transform: translateY(-4px);
}

.phase-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.phase-card:nth-child(1)::before { background: var(--cherry); }
.phase-card:nth-child(2)::before { background: var(--amber); }
.phase-card:nth-child(3)::before { background: var(--gold); }
.phase-card:nth-child(4)::before { background: var(--correct); }

.phase-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.phase-card:nth-child(1) .phase-number { color: var(--cherry-light); }
.phase-card:nth-child(2) .phase-number { color: var(--amber); }
.phase-card:nth-child(3) .phase-number { color: var(--gold); }
.phase-card:nth-child(4) .phase-number { color: var(--correct); }

.phase-card h3 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--space-sm);
}

.phase-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
  padding: var(--space-4xl) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.how-header .section-subtitle {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--surface);
  border: 2px solid var(--cherry);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  color: var(--cherry-light);
}

.step h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

.step p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

.step-detail {
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.5px;
}

/* ========================================
   APP SCREENSHOTS SECTION
   ======================================== */
.screenshots {
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

.screenshots-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.screenshots-header .section-subtitle {
  margin: 0 auto;
}

.screenshot-carousel {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 240px;
  text-align: center;
}

.screenshot-phone {
  width: 240px;
  height: 500px;
  background: #0A0908;
  border-radius: 36px;
  border: 2.5px solid var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}

.screenshot-phone:hover {
  transform: translateY(-8px);
}

.screenshot-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #0A0908;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.screenshot-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-phone .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  background: var(--bg);
}

.screenshot-phone .placeholder .icon { font-size: 36px; }

.screenshot-phone .placeholder p {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.screenshot-label {
  margin-top: var(--space-md);
  font-weight: 700;
  font-size: 14px;
  color: var(--text2);
}

/* ========================================
   COMPETITOR COMPARISON
   ======================================== */
.comparison {
  padding: var(--space-4xl) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comparison-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.comparison-header .section-subtitle {
  margin: 0 auto;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 700px;
}

.comparison-table thead th {
  background: var(--surface);
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.comparison-table thead th.highlight {
  background: rgba(196, 50, 60, 0.08);
  color: var(--cherry-light);
  position: relative;
}

.comparison-table thead th.highlight::after {
  content: '\2605';
  margin-left: 6px;
  font-size: 10px;
}

.comparison-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}

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

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
}

.comparison-table tbody td.highlight {
  background: rgba(196, 50, 60, 0.04);
}

.check { color: var(--correct); font-weight: 700; }
.cross { color: var(--muted); }
.partial { color: var(--amber); font-size: 12px; }

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
  padding: var(--space-4xl) 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.pricing-header .section-subtitle {
  margin: 0 auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--space-xl);
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.popular {
  border-color: var(--cherry);
  background: var(--grad-rosewood);
}

.pricing-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-plan {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-md);
}

.pricing-amount {
  font-weight: 900;
  font-size: 42px;
  letter-spacing: -2px;
  margin-bottom: 4px;
}

.pricing-amount .currency { font-size: 24px; color: var(--text2); }
.pricing-amount .period { font-size: 14px; font-weight: 600; color: var(--muted); }

.pricing-trial {
  font-size: 13px;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text2);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.pricing-features li::before {
  content: '\2713';
  color: var(--correct);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-btn.primary {
  background: var(--grad-primary);
  color: white;
}

.pricing-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 50, 60, 0.3);
}

.pricing-btn.secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}

.pricing-btn.secondary:hover {
  border-color: var(--cherry);
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: 13px;
  color: var(--muted);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
  padding: var(--space-4xl) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--space-xl);
}

.testimonial-stars {
  color: var(--amber);
  font-size: 16px;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 16px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: white;
}

.testimonial-name {
  font-weight: 700;
  font-size: 14px;
}

.testimonial-detail {
  font-size: 12px;
  color: var(--muted);
}

/* ========================================
   EMAIL SIGNUP / CTA SECTION
   ======================================== */
.cta-section {
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(196, 50, 60, 0.1) 0%, rgba(212, 149, 58, 0.05) 40%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner .section-title {
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 18px;
  color: var(--text2);
  margin-bottom: var(--space-xl);
}

.email-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto var(--space-md);
}

.email-input {
  flex: 1;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s;
}

.email-input::placeholder { color: var(--muted); }
.email-input:focus { border-color: var(--cherry); }

.email-btn {
  background: var(--grad-primary);
  color: white;
  padding: 16px 28px;
  border-radius: 14px;
  border: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 50, 60, 0.3);
}

.cta-privacy {
  font-size: 12px;
  color: var(--muted);
}

/* ========================================
   WPFORMS — WOODSHOP OVERRIDES
   ======================================== */
.cta-section .wpforms-container {
  max-width: 480px;
  margin: 0 auto var(--space-md);
}

.cta-section .wpforms-form .wpforms-field {
  padding: 0 !important;
  margin-bottom: 0 !important;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  width: 100% !important;
}

.cta-section .wpforms-form .wpforms-field .wpforms-field-row,
.cta-section .wpforms-form .wpforms-field .wpforms-field-medium,
.cta-section .wpforms-form .wpforms-field .wpforms-field-large,
.cta-section .wpforms-form .wpforms-field > div {
  max-width: 100% !important;
  width: 100% !important;
}

.cta-section .wpforms-form .wpforms-field-label {
  display: none;
}

.cta-section .wpforms-form input[type="email"],
.cta-section .wpforms-form input[type="text"] {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  color: var(--text) !important;
  font-family: var(--font-display) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 16px 20px !important;
  outline: none !important;
  transition: border-color 0.2s !important;
  width: 100% !important;
}

.cta-section .wpforms-form input[type="email"]::placeholder,
.cta-section .wpforms-form input[type="text"]::placeholder {
  color: var(--muted) !important;
}

.cta-section .wpforms-form input[type="email"]:focus,
.cta-section .wpforms-form input[type="text"]:focus {
  border-color: var(--cherry) !important;
  box-shadow: none !important;
}

.cta-section .wpforms-form .wpforms-submit-container {
  padding: 0;
  margin-top: var(--space-sm);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .wpforms-form button[type="submit"],
.cta-section .wpforms-form .wpforms-submit {
  background: var(--grad-primary) !important;
  color: white !important;
  padding: 16px 28px !important;
  border-radius: 14px !important;
  border: none !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.cta-section .wpforms-form button[type="submit"]:hover,
.cta-section .wpforms-form .wpforms-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(196, 50, 60, 0.3) !important;
}

/* Confirmation/error messages */
.cta-section .wpforms-confirmation-container-full,
.cta-section .wpforms-confirmation-container-full p {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  color: var(--cream) !important;
  font-family: var(--font-display) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: var(--space-lg) !important;
}

.cta-section .wpforms-confirmation-container-full p {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.cta-section .wpforms-form .wpforms-field-sublabel,
.cta-section .wpforms-form .wpforms-field-description {
  color: var(--muted) !important;
  font-size: 12px !important;
}

.cta-section .wpforms-form label.wpforms-error {
  color: var(--cherry-light) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand-icon {
  width: 28px;
  height: 28px;
  background: var(--grad-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  overflow: hidden;
}

.footer-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.footer-brand-text {
  font-weight: 700;
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ========================================
   PRIVACY PAGE STYLES
   ======================================== */
.privacy-page {
  padding: 80px 0 120px;
  max-width: 760px;
  margin: 0 auto;
}

.privacy-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 40px;
  transition: color 0.2s;
}

.privacy-page .back-link:hover {
  color: var(--text);
}

.privacy-page h1 {
  font-weight: 800;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.privacy-page h1 .gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-page .effective-date {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 40px;
}

.privacy-page .summary-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 48px;
}

.privacy-page .summary-box h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.privacy-page .summary-box p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}

.privacy-page h2 {
  font-weight: 700;
  font-size: 20px;
  margin: 48px 0 16px;
}

.privacy-page h3 {
  font-weight: 700;
  font-size: 16px;
  margin: 32px 0 12px;
}

.privacy-page p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.privacy-page a {
  color: var(--amber);
}

.privacy-page .callout {
  background: rgba(196,50,60,0.06);
  border-left: 3px solid var(--cherry);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

.privacy-page .callout p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.privacy-page .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0 24px;
}

.privacy-page .data-table thead th {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}

.privacy-page .data-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.privacy-page .data-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
}

.privacy-page .data-table tbody td:last-child {
  color: var(--text2);
}

.privacy-page .footer-line {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: var(--cherry);
}

.faq-question {
  padding: var(--space-lg);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  transition: color 0.2s;
}

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

.faq-question::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--cherry-light);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-question:hover {
  color: var(--cherry-light);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-answer p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}

.faq-answer a {
  color: var(--amber);
}

/* ========================================
   SPACING GATE SECTION
   ======================================== */
.spacing-gate {
  padding: var(--space-4xl) 0;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .hero-visual { margin-top: var(--space-2xl); }
  .hero-float { display: none; }

  .problem-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card.featured { grid-column: span 1; grid-template-columns: 1fr; }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .steps::before { display: none; }

  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
  .testimonial-cards { grid-template-columns: 1fr; }

  .screenshot-carousel { gap: var(--space-md); }
  .screenshot-item { width: 200px; }
  .screenshot-phone { width: 200px; height: 420px; }

  /* Mobile nav: collapsed by default, revealed by .nav-links.open.
     The button is inert without the handler in main.js. */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm) var(--space-lg) var(--space-lg);
    background: rgba(20, 18, 16, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  }

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

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: var(--space-md) 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a { border-bottom: none; }

  /* The CTA keeps its button treatment rather than reading as another row */
  .nav-links .nav-cta {
    margin-top: var(--space-md);
    text-align: center;
    border-bottom: none;
  }

  .mobile-menu-btn {
    display: block;
    line-height: 1;
    padding: var(--space-xs);
  }

  /* Nav needs a solid backdrop while the panel is open, even at scroll top */
  .nav.menu-open {
    background: rgba(20, 18, 16, 0.98);
    backdrop-filter: blur(20px);
  }

  .nav-inner { position: relative; }

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

@media (max-width: 600px) {
  .proof-inner { gap: var(--space-xl); }
  .email-form { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .phase-cards { grid-template-columns: 1fr; }
}
