/* ═══════════════════════════════════════════════════════════════════════════
   GRÜNDERSJEKKEN - HIGH-CONVERSION DESIGN SYSTEM
   Premium information product aesthetic with conversion psychology
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Core palette */
  --bg: #f8f5ef;
  --bg-2: #e9f1f0;
  --ink: #151617;
  --muted: #3d4349; /* Darkened for WCAG AA contrast */
  --accent: #0e5a57;
  --accent-hover: #0a4744;
  --accent-2: #c35b1c;
  --accent-2-hover: #a84d18;
  --accent-3: #0b3b39;
  --card: #ffffff;
  --line: #e2d5c4;
  --success: #1a7f64;

  /* Shadows - layered depth */
  --shadow-sm: 0 2px 8px rgba(18, 24, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 24, 32, 0.1);
  --shadow-lg: 0 24px 56px rgba(18, 24, 32, 0.14);
  --shadow-glow: 0 0 0 4px rgba(14, 90, 87, 0.15);

  /* Timing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BASE RESET & FOUNDATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", -apple-system, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric gradient backgrounds */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}

body::before {
  top: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 90, 87, 0.18) 0%, transparent 60%);
  filter: blur(40px);
}

body::after {
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(195, 91, 28, 0.14) 0%, transparent 55%);
  filter: blur(50px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY - Strong hierarchy for conversions
   ═══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease-out);
}

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

strong {
  font-weight: 600;
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 140px;
  position: relative;
  background-color: var(--bg); /* Solid background for proper contrast calculation */
}

@media (min-width: 768px) {
  .wrap {
    padding: 72px 32px 160px;
  }
}

.section {
  margin-top: 80px;
}

@media (min-width: 768px) {
  .section {
    margin-top: 100px;
  }
}

/* Grid systems */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION - Above the fold optimization
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }
}

.hero h1 {
  margin-bottom: 20px;
}

.hero > div:first-child p {
  font-size: 1.15rem;
  max-width: 540px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   KICKER / BADGE - Trust & freshness signals
   ═══════════════════════════════════════════════════════════════════════════ */

.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARDS - Visual containers
   ═══════════════════════════════════════════════════════════════════════════ */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card.soft {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.card.soft:hover {
  box-shadow: var(--shadow-md);
}

.card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--ink);
}

/* Hero card - premium treatment */
.hero-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Process cards - numbered steps */
.process-card {
  background: linear-gradient(180deg, #fffefa 0%, #fff 100%);
  position: relative;
  padding-top: 48px;
}

.process-card strong {
  position: relative;
}

.process-card strong::before {
  content: "";
  position: absolute;
  top: -32px;
  left: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 8px;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS - Thumb-friendly, high-impact CTAs
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Primary CTA - Maximum impact with pulse animation */
.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  color: #fff;
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(14, 90, 87, 0);
  font-size: 1.05rem;
  animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(14, 90, 87, 0.4);
  }
  50% {
    box-shadow: var(--shadow-md), 0 0 0 12px rgba(14, 90, 87, 0);
  }
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: none;
}

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

/* Animated arrow on primary buttons */
.btn.primary::after {
  content: "→";
  transition: transform 0.25s var(--ease-out);
}

.btn.primary:hover::after {
  transform: translateX(4px);
}

/* Ghost button - Secondary action */
.btn.ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}

.btn.ghost:hover {
  background: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Dark button - Checkout emphasis */
.btn.dark {
  background: linear-gradient(135deg, var(--ink) 0%, #2a2c2f 100%);
  color: #fff;
  font-size: 1.1rem;
  min-height: 56px;
}

.btn.dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Urgency button - Orange CTA */
.btn.urgency {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-2-hover) 100%);
  color: #fff;
}

.btn.urgency:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(195, 91, 28, 0.15);
}

/* CTA row layout */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BADGES & TAGS - Trust signals
   ═══════════════════════════════════════════════════════════════════════════ */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  transition: all 0.2s var(--ease-out);
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tag.highlight {
  background: linear-gradient(135deg, rgba(14, 90, 87, 0.1), rgba(14, 90, 87, 0.05));
  border-color: rgba(14, 90, 87, 0.3);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SOCIAL PROOF - Numbers & credibility
   ═══════════════════════════════════════════════════════════════════════════ */

.social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 24px 0;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-number {
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.proof-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LISTS - Feature lists with checkmarks
   ═══════════════════════════════════════════════════════════════════════════ */

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.list li {
  padding: 14px 16px 14px 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  position: relative;
  font-size: 0.98rem;
  line-height: 1.5;
  transition: all 0.2s var(--ease-out);
}

.list li:hover {
  border-color: rgba(14, 90, 87, 0.3);
  background: #fff;
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--success), var(--accent));
  border-radius: 6px;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING - Clear value communication
   ═══════════════════════════════════════════════════════════════════════════ */

.price-inline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 8px;
}

.price {
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.price-inline span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Pricing component */
.pricing {
  display: grid;
  gap: 20px;
}

.price-option {
  display: block;
  padding: 16px 20px;
  border: 2px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  position: relative;
  background: #fff;
}

.price-option:hover {
  border-color: var(--accent);
}

.price-option.selected {
  border-color: var(--accent);
  background: rgba(14, 90, 87, 0.04);
  box-shadow: var(--shadow-glow);
}

.price-option.recommended {
  border-color: var(--accent-2);
  border-width: 3px;
  background: linear-gradient(135deg, rgba(195, 91, 28, 0.08) 0%, rgba(195, 91, 28, 0.02) 100%);
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(195, 91, 28, 0.2);
  position: relative;
}

.price-option.recommended::before {
  content: "🔥 MEST POPULÆR";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-2), #e86c2c);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(195, 91, 28, 0.3);
}

.price-option.recommended .checkout-row::after {
  display: none;
}

/* VIP tier special styling */
.price-option.vip-tier {
  border-color: #d4af37;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
}

/* Mentoring tier premium styling */
.price-option.mentoring-tier {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.total {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  padding: 16px 0;
  border-top: 2px solid var(--line);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHECKOUT FORM
   ═══════════════════════════════════════════════════════════════════════════ */

.checkout-form {
  display: grid;
  gap: 16px;
}

.checkout-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  position: relative;
}

.checkout-row input[type="checkbox"],
.checkout-row input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ - Expandable details
   ═══════════════════════════════════════════════════════════════════════════ */

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: all 0.2s var(--ease-out);
}

.faq details:hover {
  border-color: rgba(14, 90, 87, 0.3);
}

.faq details[open] {
  box-shadow: var(--shadow-sm);
}

.faq summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s var(--ease-out);
}

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

.faq details p {
  padding: 0 20px 18px;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STICKY CTA BAR - Conversion maximizer
   ═══════════════════════════════════════════════════════════════════════════ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 1));
  backdrop-filter: blur(16px);
  border-top: 2px solid var(--accent);
  padding: 16px 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta .btn.primary {
  animation: ctaPulse 2s ease-in-out infinite;
  font-size: 1rem;
  padding: 16px 32px;
}

.sticky-cta-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-cta-text {
  display: none;
}

@media (min-width: 640px) {
  .sticky-cta-text {
    display: block;
  }

  .sticky-cta-text strong {
    display: block;
    font-size: 1rem;
    color: var(--ink);
  }

  .sticky-cta-text span {
    font-size: 0.85rem;
    color: var(--muted);
  }
}

.sticky-cta .btn {
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 640px) {
  .sticky-cta .btn {
    width: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   EXIT INTENT POPUP
   ═══════════════════════════════════════════════════════════════════════════ */

.exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out);
}

.exit-popup.visible {
  opacity: 1;
  visibility: visible;
}

.exit-popup-content {
  background: white;
  border-radius: 24px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-bounce);
  position: relative;
}

.exit-popup.visible .exit-popup-content {
  transform: scale(1) translateY(0);
}

.exit-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--muted);
  transition: all 0.2s var(--ease-out);
}

.exit-popup-close:hover {
  background: var(--line);
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════════════════
   URGENCY BANNER
   ═══════════════════════════════════════════════════════════════════════════ */

.urgency-banner {
  background: linear-gradient(135deg, var(--accent-2), #d4692a);
  color: white;
  padding: 14px 20px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.urgency-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.urgency-banner strong {
  color: inherit;
}

/* Countdown timer styling */
.countdown {
  display: inline-flex;
  gap: 4px;
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(0,0,0,0.2);
  padding: 4px 12px;
  border-radius: 6px;
  margin-left: 8px;
}

.countdown-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 32px;
}

.countdown-value {
  font-size: 1.1rem;
  line-height: 1;
}

.countdown-label {
  font-size: 0.6rem;
  font-weight: 400;
  text-transform: uppercase;
  opacity: 0.8;
}

.countdown-separator {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.6;
}

/* Payment trust section */
.payment-trust {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.payment-icons svg {
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.security-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.security-text svg {
  color: var(--success);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIAL
   ═══════════════════════════════════════════════════════════════════════════ */

.testimonial {
  background: linear-gradient(135deg, rgba(14, 90, 87, 0.06), rgba(14, 90, 87, 0.02));
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
}

.testimonial blockquote {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}

.testimonial cite {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: normal;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.testimonial-card blockquote {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}

.testimonial-card cite {
  font-size: 0.85rem;
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}

.testimonial-role {
  font-weight: 400;
  color: var(--muted);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* Countdown styling */
.countdown {
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SOCIAL PROOF TOAST (Recently purchased)
   ═══════════════════════════════════════════════════════════════════════════ */

.proof-toast {
  position: fixed;
  bottom: 100px;
  left: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  z-index: 999;
  transform: translateX(-120%);
  transition: transform 0.5s var(--ease-out);
}

.proof-toast.visible {
  transform: translateX(0);
}

.proof-toast-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--success), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.proof-toast-content {
  flex: 1;
}

.proof-toast-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.proof-toast-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .proof-toast {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 90px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INSTANT DELIVERY BADGE
   ═══════════════════════════════════════════════════════════════════════════ */

.instant-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(26, 127, 100, 0.12), rgba(26, 127, 100, 0.06));
  border: 1px solid rgba(26, 127, 100, 0.25);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--success);
  font-weight: 500;
}

.instant-badge::before {
  content: "⚡";
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS & REVEALS
   ═══════════════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.7s var(--ease-out) forwards;
  animation-delay: var(--delay, 0ms);
}

/* Accessibility: Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.5s var(--ease-out) forwards;
}

.stagger > *:nth-child(1) { animation-delay: 100ms; }
.stagger > *:nth-child(2) { animation-delay: 180ms; }
.stagger > *:nth-child(3) { animation-delay: 260ms; }
.stagger > *:nth-child(4) { animation-delay: 340ms; }
.stagger > *:nth-child(5) { animation-delay: 420ms; }

/* Number counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.count-animate {
  animation: countUp 0.6s var(--ease-out) forwards;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CALCULATOR SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.calc-container {
  max-width: 800px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .calc-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.calc-input-group {
  margin-bottom: 24px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--ink);
}

.calc-value {
  color: var(--accent);
  font-weight: 700;
  font-family: "Fraunces", serif;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.calc-result {
  background: var(--ink);
  color: white;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease-out);
}

.calc-result.success {
  background: linear-gradient(135deg, var(--success), #146c54);
}

.calc-result.warning {
  background: linear-gradient(135deg, var(--accent-2), #d4692a);
}

.calc-result.error {
  background: linear-gradient(135deg, #c0392b, #a93226);
}

.calc-score {
  font-family: "Fraunces", serif;
  font-size: 3rem;
  font-weight: 700;
  margin: 16px 0;
  line-height: 1;
}

.calc-feedback {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 24px;
  min-height: 3em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT LOCK (For Gated Previews)
   ═══════════════════════════════════════════════════════════════════════════ */

.content-lock {
  background: var(--bg-2);
  border: 1px dashed var(--accent);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 20px 0;
}

.content-lock::before {
  content: "🔒";
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.content-lock p {
  max-width: 400px;
  margin: 0 auto 16px;
  color: #151617; /* Explicit dark color for WCAG AA contrast */
  font-weight: 500;
}

.blur-text {
  color: transparent;
  text-shadow: 0 0 8px rgba(0,0,0,0.5);
  user-select: none;
}


footer {
  margin-top: 100px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

footer p {
  margin: 0 0 8px;
  font-size: inherit;
}

footer a {
  color: var(--muted);
}

footer a:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════════ */

.muted {
  color: var(--muted);
}

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
  }

  .hero-card {
    margin-top: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════════ */

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

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .stagger > *,
  [data-reveal],
  [data-reveal] * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
