/* ============================================
   LITTLE SITE SECRETS - Shared Stylesheet
   ============================================ */

/* --- Design Tokens --- */
:root {
  --color-cta: #E85D3A;
  --color-cta-hover: #D14B2A;
  --color-cta-glow: rgba(232, 93, 58, 0.35);
  --color-highlight: #FEF9EF;
  --color-highlight-border: #E8C97A;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F3EE;
  --color-bg-dark: #1B2332;
  --color-bg-dark-lighter: #243044;
  --color-text: #1A1A1A;
  --color-text-muted: #6C757D;
  --color-text-on-dark: #E8E6E1;
  --color-text-on-dark-muted: #9BA1AD;
  --color-success: #3A8F6E;
  --color-accent: #4A7FD4;
  --color-accent-light: #EBF1FA;
  --color-guarantee: #155724;
  --color-guarantee-bg: #D4EDDA;
  --color-guarantee-border: #3A8F6E;
  --color-border: #DEE2E6;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --space-unit: 8px;
  --space-xs: calc(var(--space-unit) * 1);   /* 8px */
  --space-sm: calc(var(--space-unit) * 2);    /* 16px */
  --space-md: calc(var(--space-unit) * 3);    /* 24px */
  --space-lg: calc(var(--space-unit) * 5);    /* 40px */
  --space-xl: calc(var(--space-unit) * 8);    /* 64px */
  --space-xxl: calc(var(--space-unit) * 12);  /* 96px */

  --max-width: 800px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(27, 35, 50, 0.06), 0 1px 2px rgba(27, 35, 50, 0.04);
  --shadow-md: 0 4px 12px rgba(27, 35, 50, 0.08), 0 2px 4px rgba(27, 35, 50, 0.04);
  --shadow-lg: 0 12px 32px rgba(27, 35, 50, 0.12), 0 4px 8px rgba(27, 35, 50, 0.06);
  --shadow-xl: 0 24px 48px rgba(27, 35, 50, 0.16), 0 8px 16px rgba(27, 35, 50, 0.08);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-cta);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

h2 {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.75rem);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem);
  margin-bottom: var(--space-xs);
}

h4 {
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.3rem);
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: var(--space-sm);
}

.pre-headline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.subheadline {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.credibility-line {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text-muted);
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-success { color: var(--color-success); }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-light {
  background: var(--color-bg);
}

.section-dark {
  background: linear-gradient(175deg, #1B2332 0%, #243044 100%);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #FFFFFF;
}

.section-dark p {
  color: var(--color-text-on-dark);
}

.section-dark .text-muted,
.section-dark .credibility-line {
  color: var(--color-text-on-dark-muted);
}

.section-dark .pre-headline {
  color: var(--color-accent);
}

.section-dark .subheadline {
  color: var(--color-text-on-dark-muted);
}

.section-alt {
  background: var(--color-bg-alt);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.section-cta {
  background: var(--color-bg-alt);
  padding: var(--space-lg) 0;
  text-align: center;
}

/* --- CTA Button --- */
.btn-cta {
  display: inline-block;
  background: linear-gradient(180deg, #EF7A5A 0%, var(--color-cta) 50%, #D14B2A 100%);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  min-height: 48px;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), filter 0.2s ease;
  box-shadow: 0 4px 14px var(--color-cta-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(232, 93, 58, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: brightness(1.05);
}

.btn-cta:active {
  transform: scale(0.98);
}

/* One-shot shimmer animation (triggered by JS) */
@keyframes cta-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.btn-cta.animate-in::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: cta-shimmer 0.8s ease-out forwards;
  pointer-events: none;
}

.btn-cta-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.9;
}

.btn-secondary {
  display: inline-block;
  background: var(--color-success);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-secondary:hover {
  background: #2E7A5B;
  transform: scale(1.03);
  text-decoration: none;
}

.decline-link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  cursor: pointer;
}

.decline-link:hover {
  color: var(--color-text);
}

/* --- Highlight Box --- */
.highlight-box {
  background: var(--color-highlight);
  border: none;
  border-left: 4px solid var(--color-cta);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  box-shadow: var(--shadow-sm);
}

.highlight-box h3,
.highlight-box h4 {
  color: var(--color-text);
}

.highlight-box p {
  color: var(--color-text);
}

/* --- Price Stack --- */
.price-stack {
  margin: var(--space-md) 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) 0;
  overflow: hidden;
}

.price-stack .price-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) var(--space-md);
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
}

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

.price-stack .price-total {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  font-size: 1.2rem;
  font-weight: 700;
  border-top: 2px solid var(--color-cta);
  background: linear-gradient(90deg, rgba(232, 93, 58, 0.08), rgba(232, 93, 58, 0.15));
  margin-top: 0;
}

/* Price stack in dark sections */
.section-dark .price-stack {
  background: var(--color-bg-dark-lighter);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .price-stack .price-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-on-dark);
}

.section-dark .price-stack .price-total {
  color: #FFFFFF;
  border-top-color: var(--color-cta);
  background: linear-gradient(90deg, rgba(232, 93, 58, 0.15), rgba(232, 93, 58, 0.25));
}

.price-strikethrough {
  text-decoration: line-through;
  color: var(--color-text-muted);
  font-size: 1.3rem;
}

.price-current {
  font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-cta);
}

.price-compare {
  text-align: center;
  margin: var(--space-md) 0;
}

/* --- Guarantee Box --- */
.guarantee-box {
  background: var(--color-guarantee-bg);
  border: 2px solid var(--color-guarantee-border);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.guarantee-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.guarantee-box .guarantee-icon {
  font-size: 3rem;
  margin-bottom: var(--space-xs);
  position: relative;
}

.guarantee-box h3,
.guarantee-box h4 {
  color: var(--color-guarantee);
  position: relative;
}

.guarantee-box p {
  color: #155724;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* --- Order Bump --- */
.order-bump {
  background: linear-gradient(135deg, #FEF9EF, #FFF7E0);
  border: 2px solid var(--color-cta);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.order-bump::before {
  content: 'SPECIAL OFFER';
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--color-cta);
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 36px;
  transform: rotate(45deg);
  transform-origin: center;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.order-bump-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  font-weight: 700;
  font-size: 1.1rem;
}

.order-bump-header input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-cta);
  cursor: pointer;
}

.order-bump p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- FAQ Accordion --- */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  flex-shrink: 0;
  margin-left: var(--space-sm);
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question::after {
  content: '\2212';
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--space-sm) var(--space-sm);
}

.faq-answer p {
  color: var(--color-text-muted);
}

/* --- Floating Mobile CTA --- */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-xs) var(--space-sm);
  padding-bottom: calc(var(--space-xs) + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.floating-cta .btn-cta {
  width: 100%;
  font-size: 1rem;
  padding: var(--space-xs) var(--space-sm);
}

/* --- Countdown Timer --- */
.countdown-timer {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-dark-lighter) 100%);
  color: #FFFFFF;
  display: inline-flex;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
}

.countdown-timer .time-unit {
  text-align: center;
}

.countdown-timer .time-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* --- Checkmark List --- */
.checkmark-list {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0;
}

.checkmark-list li {
  position: relative;
  padding-left: var(--space-md);
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

.checkmark-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Checkmark list in dark sections */
.section-dark .checkmark-list li {
  color: var(--color-text-on-dark);
}

/* --- Testimonial Card --- */
.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  padding-top: calc(var(--space-md) + 8px);
  margin: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-xs);
  left: var(--space-sm);
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card .stars {
  color: #E8A838;
  margin-bottom: var(--space-xs);
  font-size: 1.2rem;
}

.testimonial-card blockquote {
  font-style: italic;
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

.testimonial-card .attribution {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* --- Pillar Card --- */
.pillar-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent));
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

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

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card .pillar-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}

.pillar-card h4 {
  color: var(--color-text);
}

.pillar-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Pillar grid wrapper */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.pillar-grid .pillar-card {
  margin-bottom: 0;
}

/* --- Data Stats --- */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-sm);
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-cta);
  display: block;
}

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

/* --- Bonus Item --- */
.bonus-item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(133, 100, 4, 0.2);
}

.bonus-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bonus-value {
  font-size: 0.85rem;
  color: #856404;
  font-weight: 700;
}

/* --- Form Styles --- */
.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: var(--space-xs) var(--space-sm);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  min-height: 48px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(74, 127, 212, 0.15);
}

.form-group .form-error {
  color: var(--color-cta);
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.form-group.has-error input {
  border-color: var(--color-cta);
}

.form-group.has-error .form-error {
  display: block;
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-md) 0;
  flex-wrap: wrap;
}

.trust-badge {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.trust-badge .badge-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  margin: 0 auto 4px;
  filter: grayscale(0.3);
}

/* --- Order Summary --- */
.order-summary {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.order-summary h3 {
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
}

.order-line {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
}

.order-total {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-weight: 700;
  font-size: 1.3rem;
  border-top: 2px solid var(--color-text);
  margin-top: var(--space-xs);
  color: var(--color-cta);
}

/* --- Confirmation Page --- */
.confirmation-banner {
  background: linear-gradient(135deg, #3A8F6E 0%, #4AAF8E 100%);
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}

.confirmation-banner .banner-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-xs);
}

.confirmation-banner h1 {
  color: #FFFFFF;
}

.confirmation-banner p,
.confirmation-banner .subheadline {
  color: rgba(255, 255, 255, 0.9);
}

.download-button {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.download-button:hover {
  border-color: var(--color-success);
  background: var(--color-guarantee-bg);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.download-button .dl-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.step-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.step-list li {
  counter-increment: steps;
  position: relative;
  padding-left: calc(var(--space-lg) + var(--space-xs));
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.step-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--color-cta);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Urgency Bar --- */
.urgency-bar {
  background: linear-gradient(90deg, var(--color-cta), #D14B2A);
  color: #FFFFFF;
  text-align: center;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.9rem;
  font-weight: 700;
}

/* --- Divider --- */
.divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: var(--space-lg) 0;
}

/* --- PS Section --- */
.ps-section {
  font-style: italic;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

/* --- Upsell specifics --- */
.upsell-header {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-success) 100%);
  color: #FFFFFF;
  text-align: center;
  padding: var(--space-md) var(--space-sm);
}

.upsell-header h2, .upsell-header p {
  color: #FFFFFF;
}

.downsell-header {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-highlight-border) 100%);
  color: #FFFFFF;
  text-align: center;
  padding: var(--space-md) var(--space-sm);
}

.downsell-header h2 {
  color: #FFFFFF;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 560ms; }

/* Opt-in page entrance animation */
[data-page="optin"] .container {
  animation: entrance-fade 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.revealed {
    transition: none;
  }

  .reveal-stagger > .reveal {
    transition-delay: 0ms !important;
  }

  .btn-cta.animate-in::after {
    animation: none;
  }

  [data-page="optin"] .container {
    animation: none;
  }

  .pillar-card,
  .faq-item,
  .download-button {
    transition: none;
  }
}

/* --- Responsive --- */
@media (max-width: 420px) {
  .trust-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-align: left;
  }

  .trust-badge .badge-icon {
    margin: 0;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .subheadline { font-size: 1.35rem; max-width: 680px; margin-left: auto; margin-right: auto; }
  .container { padding: 0 var(--space-md); }

  .floating-cta {
    display: none;
  }

  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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