/* ============================================
   CoffeeCage - Warm & Artisanal Design System
   ============================================ */

:root {
  /* Color Palette - Warm & Natural */
  --cream: #FAF8F5;
  --linen: #F5F1EA;
  --clay: #D4A98A;
  --coffee-bean: #6B4E3D;
  --steel: #6B7478;
  --copper: #B87646;
  --sage: #A8B5A4;
  --charcoal: #3A3431;
  
  /* Semantic Colors */
  --bg-primary: var(--cream);
  --bg-secondary: var(--linen);
  --text-primary: var(--charcoal);
  --text-secondary: var(--coffee-bean);
  --text-muted: var(--steel);
  --accent-primary: var(--copper);
  --accent-secondary: var(--clay);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(58, 52, 49, 0.08);
  --shadow-md: 0 4px 16px rgba(58, 52, 49, 0.12);
  --shadow-lg: 0 8px 32px rgba(58, 52, 49, 0.16);
  
  /* Spacing */
  --maxw: 1200px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 72px;
  
  /* Typography */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
  box-sizing: border-box;
}

/* Improve text selection on mobile */
::selection {
  background: var(--clay);
  color: var(--charcoal);
}

::-moz-selection {
  background: var(--clay);
  color: var(--charcoal);
}

html {
  scroll-behavior: smooth;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Optimize images for mobile performance */
@media (max-width: 768px) {
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
  touch-action: manipulation;
}

a:hover {
  color: var(--coffee-bean);
}

a:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================
   Accessibility Utilities
   ============================================ */

/* Skip Link for Keyboard Navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-primary);
  color: var(--cream);
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--coffee-bean);
  outline-offset: 2px;
}

/* Screen Reader Only Content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ============================================
   Layout Utilities
   ============================================ */

.container {
  max-width: var(--maxw);
  padding: 0 var(--spacing-md);
  margin: 0 auto;
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

/* Section decorative wave dividers */
.problem-section::before,
.benefits-section::before,
.faq-section::before,
.compare-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-primary);
  clip-path: ellipse(60% 100% at 50% 0%);
  z-index: 1;
}

.how-section::before,
.compatibility-section::before,
.buy-section::before,
.specs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-secondary);
  clip-path: ellipse(60% 100% at 50% 0%);
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-size: 42px;
}

.section-intro {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 169, 138, 0.2);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
}

.brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  text-decoration: none;
}

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

.brand .tm {
  font-family: var(--font-sans);
  font-size: 0.4em;
  vertical-align: super;
  font-weight: 400;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  z-index: 200;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: background 0.2s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  left: 0;
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

body.nav-active {
  overflow: hidden;
}

/* Mobile navigation backdrop */
body.nav-active::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(58, 52, 49, 0.5);
  z-index: 140;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.header-nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.header-nav a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.header-nav a:hover {
  color: var(--accent-primary);
}

.header-nav a:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.header-nav a.btn-primary {
  color: white;
  font-weight: 700;
}

.header-nav a.btn-primary:hover {
  color: white;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 12px 24px;
  min-height: 44px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--cream);
  border-color: var(--accent-primary);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--coffee-bean);
  border-color: var(--coffee-bean);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 2px;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--clay);
}

.btn-secondary:hover {
  background: var(--linen);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  min-height: 52px;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  background: 
    radial-gradient(ellipse 1000px 500px at 50% -20%, rgba(212, 169, 138, 0.15), transparent),
    linear-gradient(180deg, var(--linen), var(--cream) 60%);
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.hero-text {
  max-width: 600px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin: 0 0 var(--spacing-sm);
}

.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.hero h1 strong {
  color: var(--accent-primary);
  font-weight: 700;
}

.lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Price Badge in Hero */
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-md);
  background: linear-gradient(135deg, var(--accent-primary), #9A5A32);
  border-radius: 50px;
  padding: 12px 28px;
  margin-bottom: var(--spacing-md);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(184, 118, 70, 0.35);
  transition: all 0.3s ease;
}

.price-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(184, 118, 70, 0.45);
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--cream);
}

.price-note {
  font-size: 14px;
  color: rgba(250, 248, 245, 0.9);
  padding-left: var(--spacing-md);
  border-left: 1px solid rgba(250, 248, 245, 0.3);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--linen);
}

.scroll-indicator {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  animation: float 2s ease-in-out infinite;
}

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

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered animations for grids */
.benefits-grid.revealed .benefit-card,
.buy-grid.revealed .buy-card,
.comparison-grid.revealed .comparison-card,
.compat-grid.revealed .compat-column {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.benefits-grid.revealed .benefit-card:nth-child(1),
.comparison-grid.revealed .comparison-card:nth-child(1),
.compat-grid.revealed .compat-column:nth-child(1) { animation-delay: 0.1s; }

.benefits-grid.revealed .benefit-card:nth-child(2),
.comparison-grid.revealed .comparison-card:nth-child(2),
.compat-grid.revealed .compat-column:nth-child(2) { animation-delay: 0.2s; }

.benefits-grid.revealed .benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefits-grid.revealed .benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefits-grid.revealed .benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefits-grid.revealed .benefit-card:nth-child(6) { animation-delay: 0.6s; }
.benefits-grid.revealed .benefit-card:nth-child(7) { animation-delay: 0.7s; }
.benefits-grid.revealed .benefit-card:nth-child(8) { animation-delay: 0.8s; }
.benefits-grid.revealed .benefit-card:nth-child(9) { animation-delay: 0.9s; }

.buy-grid.revealed .buy-card:nth-child(1) { animation-delay: 0.1s; }
.buy-grid.revealed .buy-card:nth-child(2) { animation-delay: 0.2s; }
.buy-grid.revealed .buy-card:nth-child(3) { animation-delay: 0.3s; }

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

/* Steps timeline staggered animation */
.steps-timeline.revealed .step {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.steps-timeline.revealed .step:nth-child(1) { animation-delay: 0.1s; }
.steps-timeline.revealed .step:nth-child(3) { animation-delay: 0.3s; }
.steps-timeline.revealed .step:nth-child(5) { animation-delay: 0.5s; }
.steps-timeline.revealed .step:nth-child(7) { animation-delay: 0.7s; }

/* ============================================
   Waitlist Section
   ============================================ */

.waitlist-section {
  background: var(--bg-secondary);
  padding: var(--spacing-lg) 0;
}

.waitlist-content {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-title {
  font-size: 28px;
  margin-bottom: var(--spacing-xs);
}

.waitlist-subtitle {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.waitlist-form {
  display: flex;
  gap: var(--spacing-xs);
  max-width: 400px;
  margin: 0 auto;
}

.waitlist-input {
  flex: 1;
  padding: 12px 16px;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--cream);
  border: 2px solid var(--clay);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(184, 118, 70, 0.2);
}

.waitlist-input::placeholder {
  color: var(--steel);
}

.waitlist-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form .btn {
    width: 100%;
  }
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
  background: var(--charcoal);
  padding: var(--spacing-sm) 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
}

.trust-item svg {
  stroke: var(--clay);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trust-items {
    gap: var(--spacing-md);
  }

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

  .trust-item svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .trust-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    text-align: left;
  }
}

/* ============================================
   Problem/Solution Section
   ============================================ */

.problem-section {
  background: var(--bg-secondary);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.comparison-card {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.comparison-card.problem {
  border-color: rgba(139, 147, 150, 0.3);
}

.comparison-card.problem .comparison-label {
  color: var(--steel);
}

.comparison-card.solution {
  border-color: var(--sage);
  background: linear-gradient(135deg, var(--bg-primary), rgba(168, 181, 164, 0.1));
}

.comparison-card.solution .comparison-label {
  color: var(--charcoal);
  font-weight: 700;
}

.comparison-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

.comparison-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
  background: var(--linen);
}

.comparison-text {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-section {
  background: var(--bg-primary);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--coffee-bean));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  box-shadow: 0 4px 16px rgba(184, 118, 70, 0.35);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(184, 118, 70, 0.3);
}

.step-icon {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  max-width: 90%;
  max-height: 90%;
}

.step-text h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-text p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 200px;
}

.step-connector {
  display: none;
}

/* ============================================
   Clean Section
   ============================================ */

.clean-section {
  background: var(--bg-secondary);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.feature-image {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-primary);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.feature-text h2 {
  margin-bottom: var(--spacing-sm);
}

.feature-text p {
  color: var(--text-secondary);
}

/* ============================================
   Benefits Section
   ============================================ */

.benefits-section {
  background: var(--bg-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.benefit-card {
  background: var(--linen);
  border-radius: 12px;
  padding: var(--spacing-md);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clay);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), #96a892);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
  box-shadow: 0 4px 12px rgba(168, 181, 164, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--cream);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(168, 181, 164, 0.4);
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-primary);
  text-align: center;
}

.benefit-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Value Callout after Benefits */
.value-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  padding: var(--spacing-md) var(--spacing-lg);
  background: linear-gradient(135deg, var(--linen), var(--cream));
  border: 2px solid var(--clay);
  border-radius: 12px;
  text-align: center;
}

.value-price {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-primary);
}

.value-text {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 300px;
  text-align: left;
}

@media (max-width: 600px) {
  .value-callout {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .value-price {
    font-size: 36px;
  }

  .value-text {
    text-align: center;
    font-size: 16px;
  }
}

/* ============================================
   Compare Section
   ============================================ */

.compare-section {
  background: var(--bg-secondary);
}

.compare-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.compare-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background: var(--bg-primary);
  font-size: 14px;
}

.compare-table thead {
  background: var(--charcoal);
  color: var(--cream);
}

.compare-table th {
  padding: 16px 12px;
  text-align: left;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-table td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(212, 169, 138, 0.15);
  vertical-align: top;
  color: var(--text-secondary);
}

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

.compare-table tbody tr:hover {
  background: var(--linen);
}

.compare-table .compare-highlight {
  background: linear-gradient(135deg, rgba(168, 181, 164, 0.15), rgba(184, 118, 70, 0.08));
  border-left: 4px solid var(--accent-primary);
}

.compare-table .compare-highlight td {
  color: var(--text-primary);
}

.compare-table .compare-highlight:hover {
  background: linear-gradient(135deg, rgba(168, 181, 164, 0.2), rgba(184, 118, 70, 0.12));
}

/* Responsive table for mobile */
@media (max-width: 768px) {
  .compare-table {
    min-width: 100%;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody tr {
    display: block;
    margin-bottom: var(--spacing-sm);
    border-radius: 8px;
    border: 1px solid rgba(212, 169, 138, 0.2);
    overflow: hidden;
  }

  .compare-table tbody tr:hover {
    background: var(--bg-primary);
  }

  .compare-table .compare-highlight {
    border: 2px solid var(--accent-primary);
    border-left: 4px solid var(--accent-primary);
  }

  .compare-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(212, 169, 138, 0.1);
  }

  .compare-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    width: 90px;
  }

  .compare-table td:last-child {
    border-bottom: none;
  }
}

/* ============================================
   Specs Section
   ============================================ */

.specs-section {
  background: var(--bg-primary);
}

.specs-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.specs-image {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-primary);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
}

.specs-content h2 {
  margin-bottom: var(--spacing-md);
}

.specs-grid {
  display: grid;
  gap: var(--spacing-sm);
}

.spec-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--spacing-sm);
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 169, 138, 0.2);
}

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

.spec-item dt {
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-serif);
}

.spec-item dd {
  margin: 0;
  color: var(--text-secondary);
}

.specs-note {
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm);
  background: var(--bg-primary);
  border-left: 3px solid var(--accent-primary);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
}

/* ============================================
   Compatibility Section
   ============================================ */

.compatibility-section {
  background: var(--bg-primary);
}

.compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.compat-column h3 {
  font-size: 22px;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

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

.compat-list li {
  padding: 12px 0;
  min-height: 44px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(212, 169, 138, 0.15);
  font-size: 16px;
  display: flex;
  align-items: center;
}

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

.compat-list li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  margin-right: 12px;
}

.compat-image {
  margin-top: var(--spacing-lg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.compat-note {
  margin-top: var(--spacing-md);
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 900px;
  margin: var(--spacing-lg) auto 0;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid rgba(212, 169, 138, 0.2);
  border-radius: 12px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--clay);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 0;
  min-height: 44px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

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

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq-item summary::after {
  content: '+';
  font-size: 28px;
  color: var(--accent-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: var(--spacing-sm);
}

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

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-item[open] {
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.faq-content {
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(212, 169, 138, 0.15);
}

.faq-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   Buy Section
   ============================================ */

.buy-section {
  background: var(--bg-primary);
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.buy-single {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.buy-single .buy-card {
  max-width: 400px;
  width: 100%;
}

.buy-card {
  background: var(--linen);
  border: 2px solid rgba(212, 169, 138, 0.2);
  border-radius: 16px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.buy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clay);
}

.buy-card-featured {
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, var(--linen), var(--bg-primary));
  position: relative;
  overflow: hidden;
}

.buy-card-featured::before {
  content: 'Recommended';
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--accent-primary);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 40px;
  transform: rotate(45deg);
}

.buy-card-icon {
  color: var(--accent-primary);
  margin-bottom: var(--spacing-sm);
}

.buy-card h3 {
  font-size: 24px;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.buy-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  font-size: 15px;
}

.buy-card-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
  margin-bottom: 0;
}

.gift-note {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: var(--spacing-md);
  margin-bottom: 0;
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(212, 169, 138, 0.3);
}

.buy-card .btn {
  width: 100%;
}

.buy-card-title {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.buy-card-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--spacing-xs);
}

.launch-status {
  font-size: 13px;
  color: var(--sage);
  margin-bottom: var(--spacing-md);
  font-style: italic;
  font-weight: 700;
}

.buy-price-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--accent-primary), #9A5A32);
  color: var(--cream);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(184, 118, 70, 0.3);
}

.buy-price {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}

.buy-price-sub {
  font-size: 14px;
  color: rgba(250, 248, 245, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
  font-weight: 500;
}

.buy-note {
  margin-top: var(--spacing-md);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.gift-note {
  margin-top: var(--spacing-md);
  margin-bottom: 0;
  font-size: 14px;
  color: var(--accent-primary);
  font-style: italic;
}

/* ============================================
   CTA / Contact Section
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--clay), var(--accent-primary));
  color: var(--cream);
  text-align: center;
}

.cta-content h2 {
  color: var(--cream);
  margin-bottom: var(--spacing-sm);
}

.cta-content p {
  color: rgba(250, 248, 245, 0.9);
  font-size: 18px;
  margin-bottom: var(--spacing-md);
}

.cta-content .btn {
  background: var(--cream);
  color: var(--text-primary);
  border-color: var(--cream);
}

.cta-content .btn:hover {
  background: var(--linen);
  border-color: var(--linen);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.form-group label .required {
  color: rgba(255, 200, 200, 0.9);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--steel);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coffee-bean);
  box-shadow: 0 0 0 3px rgba(107, 78, 61, 0.2);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B4E3D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  margin-top: var(--spacing-xs);
}

/* Honeypot - hidden from real users, visible to bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Thank You Page */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--linen), var(--cream) 60%);
}

.thank-you-content {
  text-align: center;
  max-width: 500px;
}

.thank-you-icon {
  color: var(--sage);
  margin-bottom: var(--spacing-md);
}

.thank-you-content h1 {
  margin-bottom: var(--spacing-sm);
}

.thank-you-content .lead {
  margin-bottom: var(--spacing-lg);
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--charcoal);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--spacing-lg);
  align-items: start;
  text-align: left;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .brand {
  color: var(--cream);
  font-size: 24px;
}

.footer-tagline {
  color: rgba(250, 248, 245, 0.6);
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(250, 248, 245, 0.8);
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-contact {
  text-align: right;
}

.footer-contact a {
  color: var(--clay);
  font-size: 15px;
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--cream);
}

.footer-copyright {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(250, 248, 245, 0.4);
  font-size: 13px;
  margin: var(--spacing-md) 0 0;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(250, 248, 245, 0.1);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 44px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Mobile container padding */
  .container {
    padding: 0 var(--spacing-sm);
  }

  /* Mobile Navigation */
  .nav-toggle {
    display: block;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 80px var(--spacing-md) var(--spacing-md);
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 150;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav.nav-open {
    right: 0;
  }

  .header-nav a {
    display: block;
    padding: 16px 0;
    min-height: 48px;
    font-size: 18px;
    border-bottom: 1px solid rgba(212, 169, 138, 0.15);
    display: flex;
    align-items: center;
  }

  .header-nav a.btn {
    margin-top: var(--spacing-md);
    border-bottom: none;
    min-height: 52px;
  }

  /* Smooth scrolling with offset for sticky header */
  html {
    scroll-padding-top: 80px;
  }

  /* Hide scroll indicator on mobile */
  .scroll-indicator {
    display: none;
  }

  /* Improve mobile typography */
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .lead {
    font-size: 17px;
    line-height: 1.6;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

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

  /* Better spacing on mobile */
  .section {
    padding: var(--spacing-lg) 0;
  }

  /* Improve card spacing */
  .comparison-card,
  .benefit-card,
  .buy-card {
    padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-md);
  }

  /* Better image sizing on mobile */
  .hero-image,
  .comparison-image,
  .feature-image,
  .specs-image,
  .compat-image {
    margin-bottom: var(--spacing-sm);
  }

  /* Optimize step icons for mobile */
  .step-icon {
    max-width: 200px;
  }

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

  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

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

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

  .specs-layout {
    grid-template-columns: 1fr;
  }

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

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

  /* Contact Form Mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Mobile Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-md);
  }

  .footer-brand {
    align-items: center;
  }

  .footer-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }

  .footer-links a {
    padding: 8px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

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

  .footer-contact a {
    padding: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Extra mobile container padding */
  .container {
    padding: 0 var(--spacing-sm);
  }

  /* Smaller typography on very small screens */
  .hero h1 {
    font-size: 28px;
    line-height: 1.25;
  }

  .section-title {
    font-size: 26px;
    line-height: 1.3;
  }

  .section-intro {
    font-size: 16px;
  }

  .section {
    padding: var(--spacing-md) 0;
  }

  .spec-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  /* Reduce button padding on small screens */
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

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

  /* Tighter spacing */
  .comparison-card,
  .benefit-card,
  .buy-card,
  .faq-item {
    padding: var(--spacing-sm);
  }

  /* Smaller benefit icons */
  .benefit-icon,
  .step-number {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  /* Better FAQ spacing */
  .faq-item summary {
    font-size: 16px;
    padding: 8px 4px;
  }

  .faq-content p {
    font-size: 14px;
  }

  /* Reduce hero padding */
  .hero {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }

  /* Smaller eyebrow text */
  .eyebrow {
    font-size: 11px;
  }

  /* Compact header */
  .brand {
    font-size: 32px;
  }

  /* Narrower mobile nav */
  .header-nav {
    width: 260px;
  }
}

/* ============================================
   Reduced Motion Preferences
   ============================================ */

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

  .scroll-indicator {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
