:root {
  /* Modern High-Convertible Light Palette */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f8fafc; /* Very light cool gray */
  --surface-hover: #f1f5f9;
  
  --text: #0f172a; /* Slate 900 */
  --text-light: #475569; /* Slate 600 */
  --muted: #94a3b8; /* Slate 400 */
  
  --line: #e2e8f0; /* Slate 200 */
  
  /* Vibrant Accents - "Viral/Tech" feel but bright */
  --primary: #4f46e5; /* Indigo 600 */
  --primary-dark: #4338ca; /* Indigo 700 */
  --accent: #0ea5e9; /* Sky 500 */
  --accent-secondary: #8b5cf6; /* Violet 500 */
  
  --gradient-main: linear-gradient(135deg, #4f46e5 0%, #381d75 100%);
  --gradient-hover: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
  
  --success: #10b981;
  --danger: #ef4444;
  
  --radius: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 { 
  font-size: clamp(1.75rem, 5vw, 4rem); 
  letter-spacing: -0.02em; 
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.2em;
}

h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.25rem); }

p { margin: 0 0 1rem; }
a { text-decoration: none; color: inherit; transition: all 0.2s; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.narrow { max-width: 800px; width: 100%; }
.text-center { text-align: center; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin: 0;
}

.top-nav {
  display: none; 
}

@media (min-width: 768px) {
  .top-nav {
    display: flex;
    gap: 2rem;
  }
  .top-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
  }
  .top-nav a:hover { color: var(--primary); }
  .top-nav a.is-active {
    color: var(--primary);
    font-weight: 600;
  }
}

.lang-switch label { display: none; }
.lang-switch select {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-light);
  transition: border-color 0.2s;
}
.lang-switch select:hover { border-color: var(--primary); }

/* --- Hero --- */
.section { padding: clamp(2rem, 6vw, 5rem) 0; }
.hero { padding-top: clamp(1.5rem, 4vw, 4rem); padding-bottom: clamp(2rem, 6vw, 6rem); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  background: rgba(79, 70, 229, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  display: inline-block;
}

.lead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-light);
  max-width: 50ch;
  margin-bottom: 2rem;
  font-weight: 400;
}

.trust-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  color: var(--text-light);
  font-weight: 500;
  background: var(--surface-soft);
  padding: 0.4rem 0.75rem;
  border-radius: 99px;
  border: 1px solid var(--line);
}

.trust-badge svg { color: var(--success); }

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: 99px;
  font-weight: 600;
  font-size: clamp(0.875rem, 2.2vw, 1rem);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  max-width: 100%;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.hero-card {
  position: relative;
}

.hero-card-inner {
  background: #fff;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.card-decoration {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  z-index: 0;
  pointer-events: none;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
}

.benefit-list li::before {
  content: "✓";
  color: var(--success);
  position: absolute;
  left: 0;
  font-weight: 800;
}

/* --- Sections --- */
.section-soft { background: var(--surface-soft); }
.section-dark { background: #1e1b4b; color: #fff; } /* Dark section for contrast */

.section-dark h2 { color: #fff; }
.section-dark p { color: #cbd5e1; }

.icon-divider {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* --- How it works --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.process-card {
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.process-card:hover { 
  transform: translateY(-5px); 
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.step-indicator {
  width: 40px;
  height: 40px;
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

/* --- Pricing --- */
.pricing-grid {
  align-items: flex-start;
}

.pricing-card {
  background: #fff;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  color: var(--text);
}

.pricing-card h3 { color: var(--text); }
.pricing-card p { color: var(--text-light); }

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  text-align: left;
}

.pricing-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
  z-index: 2;
}

.badge-popular {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--primary);
  margin: 1rem 0;
  font-weight: 700;
}

.btn-small { padding: 0.75rem 1.5rem; font-size: 0.9rem; width: 100%; }

.pricing-card .btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.pricing-card .btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.pricing-card.featured .btn-primary {
  border: 1.5px solid var(--primary);
}

/* --- Form --- */
.form-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--line);
}

.form-header { text-align: center; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.form-section { margin-bottom: 3rem; }
.form-section-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.form-field { display: flex; flex-direction: column; gap: 0.5rem; }

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.form-field input,
.form-field select {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: all 0.2s;
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-field textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: all 0.2s;
  color: var(--text);
}

.form-field-wide {
  grid-column: 1 / -1;
}

.contact-textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 1.2rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-consent input {
  margin-top: 3px;
}

.select-wrapper { position: relative; }
.hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* Field Warning Bubble */
.field-warning-bubble {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.6rem;
  padding: 0.75rem 1rem;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #92400e;
  animation: bubbleFadeIn 0.3s ease;
}

.field-warning-bubble svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #f59e0b;
}

.field-warning-bubble[hidden] {
  display: none;
}

.birth-date-field input.field-highlight {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

@keyframes bubbleFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Package Selection */
.package-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2rem;
}

.package-fieldset legend {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  display: block;
  width: 100%;
}

.package-options { display: grid; gap: 1rem; }

.package-option {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
}

.package-option:hover { 
  border-color: var(--primary); 
  background: var(--surface-soft);
}
.package-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.package-option:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-radius: 50%;
  margin-right: 1rem;
  position: relative;
  transition: all 0.2s;
}

.package-option input:checked + .radio-custom {
  border-color: var(--primary);
  background: #fff;
}

.package-option input:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

.package-option input:checked ~ .option-content strong { color: var(--primary); }
.package-option input:checked ~ .price-tag { color: var(--primary); }

.package-option:has(input:checked),
.package-option.is-selected {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.03);
  box-shadow: 0 0 0 1px var(--primary);
}

.option-content { flex-grow: 1; }
.option-content strong { display: block; font-size: 1.1rem; margin-bottom: 0.2rem; }
.option-content small { color: var(--text-light); display: block; }

.price-tag { font-weight: 700; font-size: 1.1rem; color: var(--text); }

/* Conditional Sections */
.conditional-box {
  background: var(--surface-soft);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
}

.child-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.child-header { color: var(--primary); margin-bottom: 1rem; font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 0.5rem; }

/* Checkout Row */
.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 2rem;
}

.total-line { font-size: 1.25rem; color: var(--text); margin-bottom: 0.25rem; }
.btn-large { min-width: min(280px, 100%); padding: clamp(0.9rem, 2.5vw, 1.2rem) clamp(1.25rem, 3vw, 2rem); font-size: clamp(0.95rem, 2.5vw, 1.1rem); }

.form-message { text-align: center; margin-top: 1rem; font-weight: 600; min-height: 1.5em; }
.form-message.success { color: var(--success); }
.form-message.error { color: var(--danger); }

/* --- Testimonial Carousel --- */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-card {
  flex: 0 0 calc(100% / 3);
  padding: 0 0.75rem;
  box-sizing: border-box;
}

.carousel-card-inner {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1;
}

.carousel-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.card.quote, .carousel-card-inner .quote-inner {
  border: none;
}

.stars { color: #f59e0b; margin-bottom: 1rem; letter-spacing: 2px; font-size: 0.95rem; }
.quote-text { font-style: italic; font-size: 1rem; color: var(--text); margin-bottom: 1.5rem; line-height: 1.6; flex: 1; }

.quote-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.quote-author { font-weight: 700; font-family: var(--font-heading); color: var(--text); margin: 0; }
.verified-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* --- FAQ --- */
.faq-grid { display: grid; gap: 1.5rem; }
.faq-item {
  background: #fff;
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text); }
.faq-item p { color: var(--text-light); margin: 0; font-size: 0.95rem; }

/* --- Footer --- */
.site-footer {
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem) 0;
  color: var(--text-light);
  border-top: 1px solid var(--line);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.placeholder {
  display: grid;
  place-items: center;
  padding: 3rem 0;
}

.placeholder-box {
  width: 100%;
  max-width: 780px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
}

.legal-page { padding-bottom: 3rem; }
.legal-page h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.legal-page .legal-updated { font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.5rem; color: var(--heading); }
.legal-page h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.4rem; color: var(--heading); }
.legal-page p { line-height: 1.7; margin-bottom: 0.8rem; }
.legal-page ul { margin: 0.5rem 0 1rem 1.5rem; line-height: 1.7; }
.legal-page li { margin-bottom: 0.4rem; }
.legal-page a { color: var(--primary); text-decoration: underline; }
.legal-page a:hover { opacity: 0.8; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .brand { display: block; margin-bottom: 0.5rem; color: var(--primary); }
.footer-copy { font-size: 0.85rem; margin: 0; }

.footer-inner nav { display: flex; gap: 1.5rem; }
.footer-inner nav a { font-size: 0.9rem; color: var(--muted); }
.footer-inner nav a:hover { color: var(--primary); }

/* --- Mobile --- */
@media (max-width: 768px) {
  .hero { text-align: center; }
  .hero-grid { gap: 1.5rem; }
  .hero-card { overflow: hidden; }
  .card-decoration { right: 0; top: -8px; }
  .trust-badge-row { justify-content: center; gap: 0.5rem; }
  .cta-row { justify-content: center; flex-direction: column; align-items: center; }
  .lead { max-width: 100%; }
  
  .grid-3 { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  
  .carousel-card { flex: 0 0 100%; }
  .carousel-arrow { display: none; }
  
  .form-grid { grid-template-columns: 1fr; }
  .checkout-row { flex-direction: column; text-align: center; }
  .btn-large { width: 100%; min-width: 0; }
  .btn { width: 100%; }
  
  .footer-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-inner nav { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
  
  .promo-input-group { max-width: 100%; }
  
  .process-card:hover { transform: none; }
  
  .eyebrow { font-size: 0.7rem; }
  .quote-text { font-size: 0.9rem; }
  .quote-author { font-size: 0.9rem; }
}

@media (max-width: 400px) {
  .header-inner { gap: 0.5rem; }
  .brand { font-size: 1rem; }
  .lang-switch select { padding: 0.3rem 0.5rem; font-size: 0.8rem; }
  
  .trust-badge { font-size: 0.75rem; padding: 0.3rem 0.6rem; }
  .trust-badge svg { width: 14px; height: 14px; }
  
  .pricing-features li { font-size: 0.82rem; padding-left: 1.25rem; }
  .badge-popular { font-size: 0.65rem; padding: 0.2rem 0.75rem; top: -12px; }
  
  .form-section-title { font-size: 0.95rem; }
  .form-field label { font-size: 0.82rem; }
  .form-field input, .form-field select { padding: 0.65rem 0.75rem; font-size: 0.9rem; }
  
  .package-option { padding: 1rem; }
  .option-content strong { font-size: 0.95rem; }
  .price-tag { font-size: 0.95rem; }
  
  .child-card { padding: 1rem; }
  .conditional-box { padding: 1rem; }
  
  .faq-item h3 { font-size: 0.95rem; }
  .faq-item p { font-size: 0.85rem; }
  
  .site-ticker { font-size: 0.75rem; padding: 0.35rem 0.75rem; }
  
  .footer-inner nav a { font-size: 0.8rem; }
  .footer-copy { font-size: 0.78rem; }
}

.tiny { font-size: 0.75rem; color: var(--muted); margin-top: 1rem; }

/* --- Checkout Summary Card --- */
.checkout-summary-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.checkout-summary-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-row[hidden] {
  display: none;
  font-size: 1rem;
  color: var(--text-light);
}

.summary-row strong {
  color: var(--text);
}

.summary-divider {
  height: 1px;
  background: var(--line);
  margin: 0.5rem 0;
}

.summary-total {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.summary-total strong {
  color: var(--primary);
  font-size: 1.3rem;
}

/* --- Checkout Payment Form --- */
.checkout-payment-wrap {
  margin-bottom: 2rem;
}

.stripe-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.stripe-badge-row svg {
  color: var(--success);
  flex-shrink: 0;
}

.card-input-wrap {
  position: relative;
}

.card-input-wrap input {
  width: 100%;
  padding: 0.8rem 1rem;
  padding-right: 3.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: all 0.2s;
  color: var(--text);
}

.card-input-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.card-icons {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn-pay {
  width: 100%;
  margin-top: 2rem;
  font-size: 1.15rem;
}

.btn-pay:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* --- Processing Overlay --- */
.processing-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.processing-overlay[hidden] {
  display: none;
}

.processing-card {
  background: #fff;
  padding: 3rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.processing-card p {
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Thank You Page --- */
.thankyou-icon {
  margin-bottom: 2rem;
}

.thankyou-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0;
  margin: 3rem 0;
  text-align: left;
}

.thankyou-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--line);
}

.thankyou-item:last-child {
  border-bottom: none;
}

.thankyou-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--surface-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.thankyou-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.thankyou-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.support-email {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.support-email:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .thankyou-item {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
}

/* ── Promo code ─────────────────────────────────────────────────────────────── */

.promo-row {
  margin-bottom: 1.25rem;
}

.checkout-promo-row {
  margin-bottom: 2rem;
}

.promo-input-group {
  display: flex;
  gap: 0.5rem;
  max-width: min(400px, 100%);
}

.promo-input-group input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  text-transform: uppercase;
  transition: all 0.2s;
  color: var(--text);
}

.promo-input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.promo-input-group .btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.promo-input-group .btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.promo-input-group .btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.promo-message {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.promo-message.success {
  color: #10b981;
}

.promo-message.error {
  color: #ef4444;
}

/* ── Reduced motion ────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Cookie Consent Banner ──────────────────────────────────────────────────── */

#twi-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg, #fff);
  border-top: 1px solid var(--line, #e5e5e5);
  box-shadow: 0 -4px 24px rgba(0,0,0,.1);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(0.75rem, 3vw, 1.5rem);
  transition: transform .3s ease, opacity .3s ease;
}
#twi-cookie-banner.twi-cb-hidden {
  transform: translateY(100%); opacity: 0; pointer-events: none;
}
.twi-cb-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.twi-cb-text {
  flex: 1 1 min(400px, 100%); font-size: clamp(0.8rem, 2vw, 0.9rem); line-height: 1.5; margin: 0; color: var(--body, #444);
}
.twi-cb-text a { color: var(--primary, #4f46e5); text-decoration: underline; }
.twi-cb-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.twi-cb-btn {
  padding: .55rem 1.25rem; border-radius: 6px; font-size: .9rem; font-weight: 500;
  cursor: pointer; border: none; transition: background .2s, color .2s;
}
.twi-cb-btn-primary {
  background: var(--primary, #4f46e5); color: #fff;
}
.twi-cb-btn-primary:hover { opacity: .9; }
.twi-cb-btn-outline {
  background: transparent; color: var(--body, #444);
  border: 1px solid var(--line, #ccc);
}
.twi-cb-btn-outline:hover { background: var(--surface, #f5f5f5); }

@media (max-width: 600px) {
  .twi-cb-inner { flex-direction: column; text-align: center; }
  .twi-cb-actions { width: 100%; justify-content: center; }
}

/* ── Site Ticker Banner ────────────────────────────────────────────────────── */
.site-ticker {
  background: var(--gradient-main);
  color: #fff;
  text-align: center;
  padding: 0.4rem 0.75rem;
  font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
