/* ==========================================================================
   SOLVAYA — Concept E: The Roast
   Personality-driven design system
   ========================================================================== */

:root {
  /* Light mode (warm cream palette) */
  --bg: #FFFBF5;
  --bg-alt: #FFF0E6;
  --surface: #FFFFFF;
  --surface-2: #FFF5EC;
  --border: #F0D8C0;
  --border-strong: #E8C19E;
  --ink: #2A1A33;
  --ink-soft: #5D4E68;
  --ink-muted: #8B7E96;

  /* Brand accents (consistent across themes) */
  --coral: #FF6B6B;
  --coral-deep: #E84F4F;
  --peach: #FF8A65;
  --yellow: #FFD93D;
  --yellow-deep: #F4C20D;
  --mint: #4ECDC4;
  --lavender: #B8B0C8;
  --plum: #6B3FA0;

  /* Highlights */
  --highlight-yellow: rgba(255, 217, 61, 0.55);
  --highlight-coral: rgba(255, 107, 107, 0.35);
  --highlight-mint: rgba(78, 205, 196, 0.40);

  --shadow-paper: 0 2px 0 rgba(42, 26, 51, 0.08), 0 6px 18px -8px rgba(42, 26, 51, 0.18);
  --shadow-pop: 6px 6px 0 var(--ink);
  --shadow-pop-coral: 6px 6px 0 var(--coral);
  --shadow-pop-yellow: 5px 5px 0 var(--yellow-deep);

  --radius-soft: 18px;
  --radius-blob: 28px 36px 24px 38px;
  --radius-blob-2: 36px 22px 40px 24px;
}

.dark {
  --bg: #1A0E1F;
  --bg-alt: #221428;
  --surface: #2D1B35;
  --surface-2: #371F40;
  --border: #4A2E58;
  --border-strong: #6B3FA0;
  --ink: #F8F5F0;
  --ink-soft: #D8CFE4;
  --ink-muted: #B8B0C8;

  --highlight-yellow: rgba(255, 217, 61, 0.30);
  --highlight-coral: rgba(255, 107, 107, 0.30);
  --highlight-mint: rgba(78, 205, 196, 0.28);

  --shadow-paper: 0 2px 0 rgba(0, 0, 0, 0.35), 0 8px 20px -8px rgba(0, 0, 0, 0.6);
  --shadow-pop: 6px 6px 0 #0c060f;
  --shadow-pop-coral: 6px 6px 0 var(--coral-deep);
  --shadow-pop-yellow: 5px 5px 0 var(--yellow-deep);
}

/* ==========================================================================
   BASE
   ========================================================================== */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  font-feature-settings: 'ss01', 'cv11';
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Fredoka One', 'Inter', sans-serif;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.font-hand {
  font-family: 'Caveat', cursive;
  font-weight: 600;
}

/* Selection */
::selection {
  background: var(--yellow);
  color: var(--ink);
}

/* Decorative wavy background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--coral) 18%, transparent), transparent 28%),
    radial-gradient(circle at 92% 76%, color-mix(in srgb, var(--mint) 16%, transparent), transparent 30%),
    radial-gradient(circle at 78% 12%, color-mix(in srgb, var(--yellow) 20%, transparent), transparent 22%);
  pointer-events: none;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px dashed var(--border);
}

.nav-link {
  position: relative;
  padding: 6px 4px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 8px;
  background: var(--yellow);
  opacity: 0;
  transform: translateY(4px) skewX(-12deg) scaleX(0.6);
  transition: all 0.25s ease;
  z-index: -1;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: translateY(0) skewX(-12deg) scaleX(1);
}

.nav-link.is-active {
  color: var(--ink);
}

/* Logo */
.logo-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-mark .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
  position: relative;
  top: -4px;
  margin-left: 2px;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--coral);
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.12); }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2.5px solid var(--ink);
}

.btn-primary {
  background: var(--coral);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.btn-primary:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

.dark .btn-primary {
  background: var(--coral);
  color: #1A0E1F;
  border-color: #0c060f;
  box-shadow: 6px 6px 0 #0c060f;
}

.dark .btn-primary:hover {
  box-shadow: 8px 8px 0 #0c060f;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
}

.btn-secondary:hover {
  transform: translate(-2px, -2px);
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--ink);
}

.dark .btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: #0c060f;
  box-shadow: 6px 6px 0 #0c060f;
}

.dark .btn-secondary:hover {
  box-shadow: 8px 8px 0 #0c060f;
  background: var(--yellow);
  color: #1A0E1F;
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink-soft);
  box-shadow: none;
  padding: 10px 18px;
}

.btn-ghost:hover {
  color: var(--ink);
  background: var(--surface);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
  border-width: 2px;
}

/* ==========================================================================
   HIGHLIGHTS & UNDERLINES (hand-drawn feel)
   ========================================================================== */
.hl-yellow {
  background-image: linear-gradient(120deg, var(--highlight-yellow) 0%, var(--highlight-yellow) 100%);
  background-repeat: no-repeat;
  background-size: 100% 45%;
  background-position: 0 88%;
  padding: 0 4px;
}

.hl-coral {
  background-image: linear-gradient(120deg, var(--highlight-coral) 0%, var(--highlight-coral) 100%);
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 88%;
  padding: 0 4px;
}

.hl-mint {
  background-image: linear-gradient(120deg, var(--highlight-mint) 0%, var(--highlight-mint) 100%);
  background-repeat: no-repeat;
  background-size: 100% 45%;
  background-position: 0 88%;
  padding: 0 4px;
}

/* Squiggly underline using SVG background */
.squiggle-under {
  position: relative;
  display: inline-block;
}

.squiggle-under::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -14px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M2 6 Q 12 0, 22 6 T 42 6 T 62 6 T 82 6 T 102 6 T 118 6' fill='none' stroke='%23FF6B6B' stroke-width='3' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.squiggle-under-yellow::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M2 6 Q 12 0, 22 6 T 42 6 T 62 6 T 82 6 T 102 6 T 118 6' fill='none' stroke='%23F4C20D' stroke-width='3' stroke-linecap='round'/></svg>");
}

.squiggle-under-mint::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M2 6 Q 12 0, 22 6 T 42 6 T 62 6 T 82 6 T 102 6 T 118 6' fill='none' stroke='%234ECDC4' stroke-width='3' stroke-linecap='round'/></svg>");
}

/* Circle scribble around text (for emphasis) */
.circled {
  position: relative;
  display: inline-block;
  padding: 0 6px;
}

.circled::before {
  content: '';
  position: absolute;
  inset: -10px -14px -8px -14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'><path d='M 25 18 Q 100 4, 178 22 Q 192 40, 175 60 Q 100 76, 22 58 Q 8 38, 25 18 Z' fill='none' stroke='%23FF6B6B' stroke-width='2.5' stroke-linecap='round' stroke-dasharray='1 0'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

/* Strike-through (for joking) */
.strike-funny {
  position: relative;
  text-decoration: none;
  color: var(--ink-muted);
}

.strike-funny::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 3px;
  background: var(--coral);
  transform: rotate(-3deg);
  border-radius: 2px;
}

/* ==========================================================================
   CARDS & PAPER
   ========================================================================== */
.paper {
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-pop);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dark .paper {
  border-color: #0c060f;
  box-shadow: 6px 6px 0 #0c060f;
}

.paper-hover:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

.dark .paper-hover:hover {
  box-shadow: 9px 9px 0 #0c060f;
}

/* Sticky note */
.sticky-note {
  background: var(--yellow);
  color: #2A1A33;
  padding: 26px 28px;
  border-radius: 4px 18px 4px 16px;
  box-shadow: 0 14px 28px -10px rgba(42, 26, 51, 0.4),
              0 2px 4px rgba(42, 26, 51, 0.15);
  position: relative;
  font-weight: 500;
  transform: rotate(-1.2deg);
  transition: transform 0.3s ease;
}

.sticky-note::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 56px;
  height: 18px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.sticky-note:hover {
  transform: rotate(-0.5deg) scale(1.02);
}

.sticky-note.tilt-r { transform: rotate(1.6deg); }
.sticky-note.tilt-r:hover { transform: rotate(0.6deg) scale(1.02); }

.sticky-note.is-coral { background: #FFC4B0; }
.sticky-note.is-mint { background: #B8EAE6; }
.sticky-note.is-pink { background: #FFD0DA; }
.sticky-note.is-lavender { background: #DCD0EE; }

/* Torn paper (for OTA roast list) */
.torn-paper {
  background: var(--surface);
  position: relative;
  padding: 32px 34px;
  color: var(--ink);
  border-left: 4px solid var(--coral);
  box-shadow: var(--shadow-paper);
}

.torn-paper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-image:
    radial-gradient(circle at 6px 8px, transparent 4px, var(--surface) 4.5px),
    radial-gradient(circle at 14px 4px, transparent 4px, var(--surface) 4.5px);
  background-size: 20px 8px;
  background-repeat: repeat-x;
}

/* Speech bubble */
.bubble {
  position: relative;
  background: var(--surface);
  padding: 22px 26px;
  border: 2.5px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow-pop);
}

.dark .bubble {
  border-color: #0c060f;
  box-shadow: 6px 6px 0 #0c060f;
}

.bubble::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 36px;
  width: 28px;
  height: 28px;
  background: var(--surface);
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg);
}

.dark .bubble::after {
  border-color: #0c060f;
}

.bubble.bubble-right::after {
  left: auto;
  right: 36px;
}

.bubble.bubble-coral { background: var(--coral); color: white; }
.bubble.bubble-coral::after { background: var(--coral); }

.bubble.bubble-yellow { background: var(--yellow); color: #2A1A33; }
.bubble.bubble-yellow::after { background: var(--yellow); }

.bubble.bubble-mint { background: var(--mint); color: #14403C; }
.bubble.bubble-mint::after { background: var(--mint); }

/* ==========================================================================
   HERO BARS (Airbnb vs You chart)
   ========================================================================== */
.bar-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.bar-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.bar-track {
  height: 36px;
  background: var(--bg-alt);
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.dark .bar-track { border-color: #0c060f; }

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral) 0%, var(--peach) 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
}

.bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(255,255,255,0.12) 8px,
    rgba(255,255,255,0.12) 12px
  );
}

.bar-fill.you {
  background: linear-gradient(90deg, var(--mint) 0%, #6FE3DA 100%);
  color: #14403C;
}

.bar-value {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.1rem;
  color: var(--ink);
  white-space: nowrap;
}

/* ==========================================================================
   SECTION TITLES
   ========================================================================== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--coral);
  font-weight: 700;
  transform: rotate(-1.5deg);
}

.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.section-h {
  font-family: 'Fredoka One', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1rem;
}

/* ==========================================================================
   PRICE TAGS (hero)
   ========================================================================== */
.price-tag {
  position: absolute;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  padding: 14px 18px 12px 28px;
  border-radius: 4px 16px 16px 4px;
  font-family: 'Fredoka One', sans-serif;
  font-size: 0.9rem;
  line-height: 1.2;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-4deg);
  z-index: 4;
  max-width: 220px;
}

.dark .price-tag { border-color: #0c060f; box-shadow: 4px 4px 0 #0c060f; }

.price-tag::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--bg);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
}

.dark .price-tag::before { border-color: #0c060f; }

.price-tag::after {
  content: '';
  position: absolute;
  left: -36px;
  top: 50%;
  width: 36px;
  height: 2px;
  background: var(--ink);
  transform: translateY(-50%) rotate(-10deg);
  transform-origin: right center;
}

.price-tag .tag-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.price-tag.tag-big {
  background: var(--coral);
  color: white;
  font-size: 1.05rem;
  padding: 18px 22px 16px 32px;
  max-width: 280px;
}

.price-tag.tag-big .tag-label { color: rgba(255,255,255,0.85); }

.price-tag.tag-small {
  background: var(--mint);
  color: #14403C;
}

/* ==========================================================================
   IMAGE FRAMES (Polaroid-ish)
   ========================================================================== */
.polaroid {
  background: var(--surface);
  border: 2.5px solid var(--ink);
  padding: 12px 12px 50px;
  position: relative;
  box-shadow: var(--shadow-pop);
  transition: transform 0.3s ease;
}

.dark .polaroid {
  border-color: #0c060f;
  box-shadow: 6px 6px 0 #0c060f;
}

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

.polaroid .caption {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: var(--ink-soft);
}

.polaroid.tilt-l { transform: rotate(-3deg); }
.polaroid.tilt-r { transform: rotate(3deg); }
.polaroid.tilt-l:hover, .polaroid.tilt-r:hover { transform: rotate(0deg) scale(1.02); }

/* Tape on top */
.tape {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 80px;
  height: 22px;
  background: rgba(255, 217, 61, 0.65);
  border-left: 1px dashed rgba(0,0,0,0.15);
  border-right: 1px dashed rgba(0,0,0,0.15);
  z-index: 3;
}

/* ==========================================================================
   DOODLES (SVG-via-CSS arrows, stars, sparkles)
   ========================================================================== */
.doodle {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.arrow-curve {
  width: 90px;
  height: 60px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 60'><path d='M 8 12 Q 30 5, 50 28 T 78 48' fill='none' stroke='%23FF6B6B' stroke-width='2.5' stroke-linecap='round'/><path d='M 78 48 L 70 42 M 78 48 L 72 55' fill='none' stroke='%23FF6B6B' stroke-width='2.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
}

.arrow-down {
  width: 40px;
  height: 60px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60'><path d='M 20 4 Q 12 24, 22 40 T 20 56' fill='none' stroke='%23FF6B6B' stroke-width='2.5' stroke-linecap='round'/><path d='M 20 56 L 13 48 M 20 56 L 27 48' fill='none' stroke='%23FF6B6B' stroke-width='2.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
}

.star-burst {
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g stroke='%23FFD93D' stroke-width='2.5' stroke-linecap='round'><line x1='20' y1='2' x2='20' y2='12'/><line x1='20' y1='28' x2='20' y2='38'/><line x1='2' y1='20' x2='12' y2='20'/><line x1='28' y1='20' x2='38' y2='20'/><line x1='6' y1='6' x2='13' y2='13'/><line x1='27' y1='27' x2='34' y2='34'/><line x1='34' y1='6' x2='27' y2='13'/><line x1='13' y1='27' x2='6' y2='34'/></g></svg>");
  background-repeat: no-repeat;
}

.squiggle-line {
  width: 100px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'><path d='M 4 10 Q 14 2, 24 10 T 44 10 T 64 10 T 84 10 T 96 10' fill='none' stroke='%234ECDC4' stroke-width='2.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
}

.bolt {
  width: 30px;
  height: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 40'><path d='M 18 2 L 4 22 L 14 22 L 10 38 L 26 16 L 16 16 Z' fill='%23FFD93D' stroke='%232A1A33' stroke-width='2' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
}

/* ==========================================================================
   ACCORDION (Features Q&A)
   ========================================================================== */
.qa-item {
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dark .qa-item {
  border-color: #0c060f;
  box-shadow: 6px 6px 0 #0c060f;
}

.qa-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.dark .qa-item:hover {
  box-shadow: 8px 8px 0 #0c060f;
}

.qa-item.is-open {
  background: var(--surface-2);
}

.qa-question {
  width: 100%;
  text-align: left;
  padding: 24px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
  font-style: italic;
}

.qa-question .me-tag {
  flex-shrink: 0;
  background: var(--yellow);
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Inter', sans-serif;
}

.dark .qa-question .me-tag { border-color: #0c060f; }

.qa-question .chev {
  margin-left: auto;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  transition: transform 0.3s ease, background 0.2s ease;
}

.dark .qa-question .chev { border-color: #0c060f; }

.qa-item.is-open .qa-question .chev {
  transform: rotate(180deg);
  background: var(--coral);
  color: white;
}

.qa-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.qa-item.is-open .qa-answer-wrap {
  max-height: 800px;
}

.qa-answer {
  padding: 0 28px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: flex-start;
}

.qa-answer .sol-tag {
  flex-shrink: 0;
  background: var(--coral);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dark .qa-answer .sol-tag { border-color: #0c060f; }

.qa-answer p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.qa-answer .qa-illustration {
  grid-column: 1 / -1;
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--ink);
  position: relative;
}

.dark .qa-answer .qa-illustration { border-color: #0c060f; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.price-card {
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 10px 10px 0 var(--ink);
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.dark .price-card {
  border-color: #0c060f;
  box-shadow: 10px 10px 0 #0c060f;
}

.price-card .ribbon {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--coral);
  color: white;
  padding: 8px 22px;
  font-family: 'Fredoka One', sans-serif;
  font-size: 0.9rem;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  white-space: nowrap;
}

.dark .price-card .ribbon { border-color: #0c060f; box-shadow: 3px 3px 0 #0c060f; }

.price-big {
  font-family: 'Fredoka One', sans-serif;
  font-size: clamp(4rem, 10vw, 6rem);
  line-height: 1;
  color: var(--coral);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.price-big .currency {
  font-size: 0.55em;
  color: var(--ink);
}

.price-big .per {
  font-size: 0.22em;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 4px;
}

/* Toggle */
.bill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-alt);
  border: 2.5px solid var(--ink);
  border-radius: 99px;
  padding: 6px;
  position: relative;
}

.dark .bill-toggle { border-color: #0c060f; }

.bill-toggle button {
  padding: 8px 18px;
  border-radius: 99px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
}

.bill-toggle button.is-active {
  color: white;
}

.bill-toggle .slider {
  position: absolute;
  top: 6px;
  bottom: 6px;
  background: var(--ink);
  border-radius: 99px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.dark .bill-toggle .slider { background: var(--coral); }

/* ==========================================================================
   FORM (Contact)
   ========================================================================== */
.form-field {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.95rem;
}

.form-label .lbl-sub {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  color: var(--coral);
  font-size: 1.1rem;
  margin-left: 6px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  box-shadow: 3px 3px 0 var(--ink);
}

.dark .form-input,
.dark .form-textarea,
.dark .form-select {
  border-color: #0c060f;
  box-shadow: 3px 3px 0 #0c060f;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--coral);
}

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

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--surface-2);
  border-top: 3px dashed var(--border-strong);
  padding: 64px 0 32px;
  margin-top: 96px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background-image:
    radial-gradient(circle at 10px 0, var(--bg) 10px, transparent 11px);
  background-size: 20px 20px;
  background-repeat: repeat-x;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes bounceIn {
  0% { transform: scale(0.92) translateY(20px); opacity: 0; }
  60% { transform: scale(1.02) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--rot, 0deg)); }
}

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

@keyframes drawIn {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

.animate-bounce-in {
  animation: bounceIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.float-slow {
  animation: floatGentle 5s ease-in-out infinite;
}

.float-slower {
  animation: floatGentle 7s ease-in-out infinite;
}

.wiggle-on-hover:hover {
  animation: wiggle 0.4s ease-in-out;
}

/* Reveal on scroll (Alpine handles toggling) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-tilt-l { transform: translateY(24px) rotate(-3deg); }
.reveal-tilt-l.is-visible { transform: translateY(0) rotate(-1.5deg); }
.reveal-tilt-r { transform: translateY(24px) rotate(3deg); }
.reveal-tilt-r.is-visible { transform: translateY(0) rotate(1.5deg); }

/* ==========================================================================
   LOGO STRIP (OTAs we work with)
   ========================================================================== */
.ota-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  margin: 4px;
  white-space: nowrap;
}

.dark .ota-chip { border-color: #0c060f; box-shadow: 3px 3px 0 #0c060f; }

/* Strikethrough variant — for "things OTAs do" */
.ota-chip.is-struck {
  text-decoration: line-through;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
  color: var(--ink-muted);
  opacity: 0.7;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stat-big {
  font-family: 'Fredoka One', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--coral);
}

/* ==========================================================================
   404 / utility
   ========================================================================== */
.divider-wave {
  height: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'><path d='M 0 10 Q 25 0, 50 10 T 100 10 T 150 10 T 200 10' fill='none' stroke='%23FF6B6B' stroke-width='2' stroke-linecap='round' opacity='0.5'/></svg>");
  background-repeat: repeat-x;
  background-size: 100px 20px;
  margin: 32px 0;
}

/* ==========================================================================
   RESPONSIVE TWEAKS
   ========================================================================== */
@media (max-width: 768px) {
  .price-tag { font-size: 0.75rem; max-width: 180px; padding: 10px 14px 8px 22px; }
  .price-tag.tag-big { font-size: 0.85rem; max-width: 200px; }
  .qa-question { font-size: 1rem; padding: 18px 20px; gap: 12px; }
  .qa-answer { padding: 0 20px 22px; }
  .price-card { padding: 36px 24px; }
  .sticky-note { padding: 22px 22px; }
  .torn-paper { padding: 24px 22px; }
  .bubble { padding: 18px 22px; }
  .doodle { display: none; }
  .arrow-curve, .arrow-down { display: block; } /* keep critical doodles */
}

/* Smooth scrollbar on the page */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 99px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--coral); }
