/* ============================================
   Solvaya — Concept E: The Roast
   All personality lives here.
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Caveat:wght@400;600;700&display=swap');

/* --- Theme Variables --- */
:root {
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-hand: 'Caveat', cursive;

  --c-bg: #FFFBF5;
  --c-surface: #FFF0E6;
  --c-surface-alt: #FFF5ED;
  --c-text: #1A0E1F;
  --c-text-secondary: #3A2A45;
  --c-muted: #8A7B9A;
  --c-accent: #FF6B6B;
  --c-accent-hover: #FF5252;
  --c-accent-soft: #FFE0E0;
  --c-secondary: #FFD93D;
  --c-secondary-soft: #FFF3C4;
  --c-success: #4ECDC4;
  --c-success-soft: #D4F5F2;
  --c-border: #E8DCD0;
  --c-highlight: #FFD93D;
  --c-ota: #FF5A5F;
  --c-nav-bg: rgba(255, 251, 245, 0.92);
  --shadow-sm: 0 2px 8px rgba(26, 14, 31, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 14, 31, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 14, 31, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

.dark {
  --c-bg: #1A0E1F;
  --c-surface: #2D1B35;
  --c-surface-alt: #3A2445;
  --c-text: #F8F5F0;
  --c-text-secondary: #E0D6E8;
  --c-muted: #B8B0C8;
  --c-accent: #FF6B6B;
  --c-accent-hover: #FF8A65;
  --c-accent-soft: #4A2030;
  --c-secondary: #FFD93D;
  --c-secondary-soft: #4A4020;
  --c-success: #4ECDC4;
  --c-success-soft: #1A3D3A;
  --c-border: #3D2A48;
  --c-highlight: #FFD93D;
  --c-ota: #FF5A5F;
  --c-nav-bg: rgba(26, 14, 31, 0.92);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

::selection {
  background: var(--c-secondary);
  color: var(--c-text);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.font-hand { font-family: var(--font-hand); }

/* --- Highlighter Effect --- */
.highlight {
  background: linear-gradient(180deg, transparent 60%, var(--c-secondary) 60%);
  display: inline;
  padding: 0 0.1em;
}

.highlight-pink {
  background: linear-gradient(180deg, transparent 60%, var(--c-accent-soft) 60%);
  display: inline;
  padding: 0 0.1em;
}

/* --- Links & Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--c-accent);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 50px;
  border: 3px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary:hover {
  background: var(--c-accent-hover);
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--c-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 50px;
  border: 3px solid var(--c-accent);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--c-accent);
  color: white;
  transform: translateY(-2px);
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--c-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--c-border);
  transition: background-color 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--c-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.03em;
}

.nav-logo-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--c-accent);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.925rem;
  color: var(--c-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--c-text);
  background: var(--c-surface);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--c-border);
  border-radius: 50%;
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  background: var(--c-surface);
  transform: rotate(15deg);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--c-text);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: var(--c-bg);
  border-bottom: 2px solid var(--c-border);
  padding: 1rem;
  z-index: 99;
  flex-direction: column;
  gap: 0.5rem;
}

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

.mobile-link {
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--c-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.mobile-link:hover {
  color: var(--c-text);
  background: var(--c-surface);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* --- Sections --- */
.section-padding {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--c-text);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--c-muted);
  max-width: 650px;
  line-height: 1.6;
}

/* --- Hero --- */
.hero {
  padding: 8rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--c-text);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-headline-line {
  display: block;
}

.hero-headline .accent-text {
  color: var(--c-accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-micro {
  font-size: 0.875rem;
  color: var(--c-muted);
  margin-top: 0.75rem;
  font-style: italic;
}

/* --- CSS Bar Chart --- */
.chart-wrapper {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 3px solid var(--c-border);
  position: relative;
}

.chart-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-muted);
  margin-bottom: 1.5rem;
  text-align: center;
}

.chart-area {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5rem;
  height: 240px;
  padding-bottom: 2rem;
  position: relative;
}

.chart-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  max-width: 160px;
}

.chart-bar {
  width: 100%;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
  transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 20px;
}

.chart-bar.airbnb-bar {
  background: linear-gradient(180deg, var(--c-ota), #E0484D);
  height: 220px;
}

.chart-bar.you-bar {
  background: linear-gradient(180deg, var(--c-success), #3AB0A8);
  height: 60px;
}

.chart-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
  text-align: center;
}

.chart-value {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-muted);
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.chart-annotation {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--c-accent);
  position: absolute;
  top: -0.5rem;
  right: -1rem;
  transform: rotate(8deg);
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .chart-area { height: 180px; }
  .chart-bar.airbnb-bar { height: 160px; }
  .chart-bar.you-bar { height: 45px; }
}

/* --- Roast Section --- */
.roast-section {
  background: var(--c-surface);
  position: relative;
}

.roast-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--c-bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.roast-stack {
  position: relative;
  padding-bottom: 2rem;
}

.roast-item {
  position: sticky;
  top: 5rem;
  padding: 1.5rem 0;
  margin-bottom: 0;
}

.roast-item + .roast-item {
  margin-top: -2rem;
}

.roast-item:nth-child(1) { z-index: 5; }
.roast-item:nth-child(2) { z-index: 4; }
.roast-item:nth-child(3) { z-index: 3; }
.roast-item:nth-child(4) { z-index: 2; }
.roast-item:nth-child(5) { z-index: 1; }

/* Roast card styles — each one different */
.roast-card {
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roast-card:hover {
  transform: translateY(-3px) rotate(-0.5deg);
}

/* Style 1: Torn paper sticky note */
.roast-torn {
  background: var(--c-secondary-soft);
  border: 3px solid var(--c-secondary);
  padding: 1.75rem 2rem;
  border-radius: 4px 16px 16px 16px;
  position: relative;
  box-shadow: var(--shadow-md), 4px 4px 0 var(--c-secondary);
}

.roast-torn::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  height: 16px;
  background: linear-gradient(135deg, transparent 33%, var(--c-secondary) 33%, var(--c-secondary) 66%, transparent 66%);
  background-size: 12px 12px;
  border-radius: 4px 4px 0 0;
}

/* Style 2: Warning banner */
.roast-warning {
  background: var(--c-accent-soft);
  border: 3px solid var(--c-accent);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-sm);
  border-left-width: 8px;
  position: relative;
}

.roast-warning::before {
  content: '!';
  position: absolute;
  left: -1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background: var(--c-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Style 3: Speech bubble */
.roast-bubble {
  background: white;
  border: 3px solid var(--c-border);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-md);
}

.dark .roast-bubble {
  background: #2D1B35;
}

.roast-bubble::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 2rem;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 16px solid var(--c-border);
}

.roast-bubble::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 2rem;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid white;
  z-index: 1;
}

.dark .roast-bubble::before {
  border-top-color: #2D1B35;
}

/* Style 4: Notebook paper */
.roast-notebook {
  background: repeating-linear-gradient(
    var(--c-bg) 0px,
    var(--c-bg) 28px,
    #E8E0D8 28px,
    #E8E0D8 29px
  );
  border: 3px solid var(--c-border);
  padding: 1.75rem 2rem;
  border-radius: 0;
  border-top: none;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.dark .roast-notebook {
  background: repeating-linear-gradient(
    #1A0E1F 0px,
    #1A0E1F 28px,
    #3D2A48 28px,
    #3D2A48 29px
  );
}

.roast-notebook::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--c-accent);
  border-radius: 0 0 2px 2px;
}

/* Style 5: Postcard */
.roast-postcard {
  background: var(--c-success-soft);
  border: 3px solid var(--c-success);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
  transform: rotate(-0.5deg);
}

.roast-postcard::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 24px;
  height: 24px;
  border: 3px solid var(--c-success);
  border-radius: 50%;
}

.roast-quote {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--c-text);
  line-height: 1.6;
  font-weight: 500;
}

.roast-quote strong {
  color: var(--c-accent);
  font-weight: 600;
}

.roast-label {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-top: 0.75rem;
}

/* OTA logo placeholder */
.ota-logo-mock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.ota-airbnb { background: #FF5A5F; }
.ota-booking { background: #003580; }
.ota-expedia { background: #BF1E2E; }

/* --- Pivot Section --- */
.pivot {
  position: relative;
}

.pivot-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--c-border);
  box-shadow: var(--shadow-md);
}

.pivot-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.pivot-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(26, 14, 31, 0.7));
  color: white;
}

.pivot-overlay-text {
  font-family: var(--font-hand);
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .pivot-image-wrap img {
    height: 280px;
  }
}

/* --- Testimonials (Chat Bubbles) --- */
.testimonials-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-bubble {
  position: relative;
  padding: 1.75rem 2rem;
  border-radius: 20px;
  background: var(--c-surface-alt);
  border: 3px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

.testimonial-bubble::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--c-surface-alt);
  border: 3px solid var(--c-border);
  transform: rotate(45deg);
}

.testimonial-bubble.left::before {
  bottom: -10px;
  left: 2.5rem;
  border-top: none;
  border-left: none;
  background: var(--c-surface-alt);
}

.testimonial-bubble.right::before {
  bottom: -10px;
  right: 2.5rem;
  border-top: none;
  border-left: none;
  background: var(--c-surface-alt);
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-text);
  font-weight: 400;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px dashed var(--c-border);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  border: 2px solid var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-accent);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-text);
}

.testimonial-detail {
  font-size: 0.85rem;
  color: var(--c-muted);
}

/* --- Final CTA --- */
.cta-final {
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-surface-alt) 100%);
  border-top: 3px solid var(--c-border);
  border-bottom: 3px solid var(--c-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--c-accent) 0px,
    var(--c-accent) 20px,
    var(--c-secondary) 20px,
    var(--c-secondary) 40px,
    var(--c-success) 40px,
    var(--c-success) 60px
  );
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--c-text);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.15;
}

.cta-micro {
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-top: 1rem;
}

/* --- Features Accordion --- */
.accordion-item {
  border: 3px solid var(--c-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
  background: var(--c-surface);
}

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

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--c-text);
  gap: 1rem;
}

.accordion-question {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.4;
  flex: 1;
}

.accordion-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-surface-alt);
  border: 2px solid var(--c-border);
  transition: all 0.3s ease;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-muted);
}

.accordion-item.active .accordion-icon {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: white;
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 1.75rem 1.75rem;
  color: var(--c-text-secondary);
  line-height: 1.7;
}

.accordion-answer {
  font-size: 1.05rem;
}

.accordion-answer strong {
  color: var(--c-accent);
  font-weight: 600;
}

.accordion-image {
  margin-top: 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--c-border);
}

.accordion-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Pricing --- */
.pricing-card {
  background: var(--c-surface);
  border: 3px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 20%;
  right: 20%;
  height: 6px;
  background: var(--c-accent);
  border-radius: 0 0 4px 4px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1;
}

.pricing-amount .currency {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--c-muted);
}

.pricing-amount .period {
  font-size: 0.35em;
  color: var(--c-muted);
  font-weight: 400;
}

.pricing-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--c-muted);
  margin: 0.75rem 0 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--c-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px dashed var(--c-border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-success);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Annual toggle */
.annual-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--c-muted);
}

.toggle-track {
  width: 52px;
  height: 28px;
  background: var(--c-border);
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  border: 2px solid var(--c-border);
}

.toggle-track.active {
  background: var(--c-success);
  border-color: var(--c-success);
}

.toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.toggle-track.active .toggle-knob {
  transform: translateX(24px);
}

.annual-save {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--c-success);
  font-weight: 600;
  display: none;
}

.annual-save.visible {
  display: inline;
}

/* Comparison box */
.pricing-compare {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: var(--c-accent-soft);
  border: 3px solid var(--c-accent);
  border-radius: var(--radius-md);
  text-align: center;
}

.pricing-compare p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--c-text);
}

.pricing-compare strong {
  color: var(--c-accent);
  font-weight: 600;
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-surface);
}

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

.faq-toggle {
  font-size: 1.25rem;
  color: var(--c-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

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

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

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

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--c-surface);
  border: 3px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-accent-soft);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-muted);
  font-style: italic;
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A7B9A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-error {
  font-size: 0.85rem;
  color: var(--c-accent);
  margin-top: 0.3rem;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--c-surface);
  border: 3px solid var(--c-success);
  border-radius: var(--radius-lg);
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--c-success-soft);
  border: 3px solid var(--c-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.form-success-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-text);
}

/* --- Footer --- */
.site-footer {
  border-top: 3px solid var(--c-border);
  padding: 3rem 1.5rem;
  background: var(--c-surface);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-credit {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.5;
}

.footer-credit strong {
  color: var(--c-accent);
}

.footer-links {
  display: flex;
  gap: 0.25rem;
}

.footer-link {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  color: var(--c-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: var(--c-text);
  background: var(--c-bg);
}

/* --- Doodle Decorations --- */
.doodle {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}

.doodle-star {
  color: var(--c-secondary);
  width: 32px;
  height: 32px;
}

.doodle-arrow {
  color: var(--c-accent);
  width: 80px;
  height: 30px;
}

.doodle-squiggle {
  color: var(--c-accent);
  width: 100px;
  height: 16px;
}

/* --- Torn Paper Section Divider --- */
.torn-divider {
  height: 30px;
  background: var(--c-surface);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
  margin-top: -2px;
}

.torn-divider-inverse {
  height: 30px;
  background: var(--c-surface);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  margin-bottom: -2px;
}

/* --- Animations --- */
@keyframes bounceIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.96); }
  60% { opacity: 1; transform: translateY(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255, 107, 107, 0); }
}

.animate-bounce-in {
  animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-wiggle {
  animation: wiggle 2s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Scroll-reveal with Intersection Observer */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* --- Hand-drawn border helper --- */
.border-doodle {
  border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%;
}

/* --- Active page nav indicator --- */
.nav-link.active {
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .section-padding { padding: 3rem 1.25rem; }
  .roast-quote { font-size: 1rem; }
  .pricing-card { padding: 2rem 1.5rem; }
  .testimonial-bubble { padding: 1.25rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
