/* --- Variables --- */
/* --- Core Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  font-family: "museo-sans", sans-serif;
  overflow: hidden; /* Prevent scrolling on the main view */
  background-color: #000;
}

h1, h2, h3, h4, p, a, button {
  font-family: "museo-sans", sans-serif !important;
}

/* --- Main App Container --- */
#app-container {
  width: 100%;
  height: 100vh;
  position: relative;
}

/* --- Views (Steps) --- */
.step-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  /* We handle the transition animation in JS via GSAP,
     but we keep this for base state toggle if needed */
  z-index: 1;
}
.step-view.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

#view-landing {
  /* Change fixed height to min-height so it can grow */
  min-height: 100vh;
  /* Use dynamic viewport height if supported (better for mobile browsers) */
  min-height: 100dvh;
  width: 100%;
  position: relative;
  overflow: hidden;
  /* Flex column to space things out */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  #view-landing {
    overflow: auto !important; /* ENABLE SCROLLING */
  }
}

/* --- Video Background --- */
.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.video-bg-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-bg-container .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
}

/* --- Top Header --- */
.landing-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.landing-header .header-logo img {
  height: 45px;
  width: auto;
}
.landing-header .header-stats {
  display: flex;
  gap: 40px;
}
.landing-header .stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.landing-header .stat-item .stat-num {
  font-size: 2.8rem;
  font-weight: 400;
  color: #009CDE;
}
@media screen and (max-width: 768px) {
  .landing-header .stat-item .stat-num {
    font-size: 1.8rem;
  }
}
.landing-header .stat-item .stat-label {
  font-size: 0.8rem;
  line-height: 1.2;
  color: #333333;
  font-weight: 400;
}

/* --- Landing Content --- */
.landing-content {
  text-align: center;
  color: #ffffff;
  z-index: 2;
  padding: 0 20px;
  max-width: 900px;
  margin-top: 180px; /* Offset for fixed header */
}
@media screen and (max-width: 1024px) {
  .landing-content {
    margin-top: 120px; /* Offset for fixed header */
    max-width: 1000px;
  }
}
.landing-content .headline {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 768px) {
  .landing-content .headline {
    font-size: 1.5rem;
  }
}
.landing-content .body-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.landing-content .instruction-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* --- Primary Button --- */
.btn-primary {
  background-color: #F37021;
  color: white;
  border: none;
  padding: 16px 50px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.3s;
}
.btn-primary#btn-start {
  z-index: 10;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-color: #ee610d;
}

/* --- Footer Logo Ticker --- */
.logo-ticker-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  mix-blend-mode: color-dodge;
  height: 120px; /* Adjusted height for better spacing */
  /* Background Gradient (Vertical) */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  align-items: center;
  overflow: hidden; /* Hide the scrollbar */
  z-index: 2;
  /* THE FADE EFFECT (Horizontal) */
  /* Transparent at 0%, Solid at 10%, Solid at 90%, Transparent at 100% */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 4rem; /* Space between logos */
  /* Force track to be as wide as content */
  width: max-content;
  /* The Loop Animation */
  animation: scrollTicker 30s linear infinite;
  /* Ensure padding doesn't break the width calculation */
  padding-left: 0;
}

.logo-ticker-track img {
  height: 35px; /* Adjust logo size */
  width: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1); /* White logos */
  flex-shrink: 0; /* Prevent squishing */
}

/* --- Keyframes --- */
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Move left by 50% of the track (because we doubled the content) */
    transform: translateX(-50%);
  }
}
/* --- Placeholder Step 1 Style --- */
.step-container {
  background: white;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
}

/* --- Mobile Responsive Styles --- */
@media screen and (max-width: 768px) {
  /* 1. Fix View Landing to handle scrolling properly */
  #view-landing {
    height: 100dvh;
    min-height: 0;
    display: block;
    overflow-y: auto !important; /* Force vertical scroll */
    overflow-x: hidden; /* Kill horizontal scroll */
    width: 100vw;
    position: relative;
    padding-bottom: 40px;
  }
  /* 2. Stack the Header */
  .landing-header {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 15px 10px;
    gap: 15px;
    width: 100%;
    max-width: 100vw; /* Prevent header from pushing width */
  }
  .header-logo img {
    height: 40px;
  }
  .header-stats {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    flex-wrap: wrap; /* Allow wrapping if needed */
  }
  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 2px;
  }
  .stat-num {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.7rem;
    line-height: 1.1;
    white-space: nowrap;
  }
  /* 3. Portrait Content Spacing */
  .landing-content {
    padding: 0 30px;
    margin-top: 140px; /* Standard Mobile spacing */
    padding-top: 5em;
    padding-bottom: 100px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .headline {
    font-size: 2.2rem;
  }
}
@media screen and (max-width: 420px) {
  .landing-content {
    padding: 0 30px;
    margin-top: 140px;
    padding-top: 3em;
    padding-bottom: 9px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .logo-ticker-wrap {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 1em;
    mix-blend-mode: color-dodge;
    height: 120px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  }
}
/* --- 4. LANDSCAPE SPECIFIC FIX --- */
/* This targets phones held sideways */
/* --- LANDSCAPE MODE FIX (Apply to ALL mobile landscape screens) --- */
/* We target max-height: 600px to catch phones held sideways, regardless of width */
@media screen and (orientation: landscape) and (max-height: 600px) {
  #view-landing {
    /* Ensure scrolling is active */
    height: 100dvh;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding-bottom: 20px;
  }
  .landing-header {
    /* Compact header for short screens */
    padding: 10px 20px;
    height: auto;
  }
  /* Hide stats in landscape to save vertical space? Optional.
     For now, we just ensure they wrap nicely */
  .header-stats {
    display: none; /* Hide stats in landscape to focus on CTA */
  }
  .landing-content {
    /* Pull content WAY up since height is small */
    margin-top: 120px;
    padding-bottom: 60px;
    width: 100%;
  }
  .headline {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  .body-text {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  .instruction-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  /* Make button smaller to fit */
  .btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
  }
  .landing-header .stat-item .stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #009CDE;
  }
  .landing-content .headline {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  .landing-header .header-logo img {
    height: auto;
    width: auto;
    max-width: 40%;
  }
  /* CRITICAL: Hide the ticker so it doesn't cover the button */
  .logo-ticker-wrap {
    position: relative;
    bottom: 20px;
    height: 50px;
  }
  .logo-ticker-track img {
    height: 15px;
    width: auto;
    opacity: 0.9;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
  }
}
/* Ensure the form-group wraps its contents so the message falls below the input */
.form-group {
  display: flex;
  flex-wrap: wrap;
}

/* The specific error message style */
.field-error-msg {
  display: none; /* Hidden by default */
  width: 100%; /* Force it to its own line below the input */
  color: #dc3545; /* Standard error red */
  font-size: 0.85rem;
  margin-top: 5px;
  text-align: left;
  font-weight: 500;
}

/* WHEN the parent form-group has the 'error' class, SHOW the message */
.form-group.error .field-error-msg {
  display: block;
}

/* Optional: Ensure the input border turns red too (if not already happening) */
.form-group.error .form-input {
  border-color: #dc3545 !important;
}

/* --- CONTAINER B: New App View --- */
#immersive-app-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F4F6F9;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
}

#immersive-app-view.active {
  opacity: 1;
  visibility: visible;
}

/* --- Sticky Header (Updated Layout) --- */
.app-sticky-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* Lowered to sit BEHIND the scroll area container */
  z-index: 5;
  display: flex;
  align-items: center;
}

.header-inner {
  /* Restore interaction for the logo and progress bar */
  pointer-events: auto;
  width: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* New wrapper for stacking logo and progress */
.header-left-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px; /* Space between logo and progress bar */
}

.app-logo img {
  height: 36px;
  width: auto;
}

/* --- Progress Bar (Updated: No Track Background) --- */
.progress-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 5px; /* Slight spacing from logo */
}

.progress-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #888;
  min-width: 30px; /* Prevents jumping when numbers change */
}

.progress-track {
  /* Increased width for a longer "Full Bar" feel */
  width: 90vw;
  height: 6px;
  /* KEY CHANGE: Transparent background (No gray bar) */
  background: transparent;
  border-radius: 10px;
  position: relative;
}
@media only screen and (max-width: 90em) {
  .progress-track {
    width: 600px;
  }
}
@media only screen and (max-width: 50em) {
  .progress-track {
    width: 380px;
  }
}

.progress-fill {
  height: 100%;
  background: #75B837; /* Brand Green */
  border-radius: 10px;
  /* Smooth transition for the growing effect */
  transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.progress-icon {
  position: absolute;
  top: -8px;
  /* This ensures the icon stays exactly at the tip of the fill */
  transform: translateX(-50%);
  transition: left 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
}

/* Mobile: Adjust width to fit smaller screens */
@media screen and (max-width: 768px) {
  .progress-track {
    width: 260px;
  }
}
/* --- Scroll Area --- */
/* --- Scroll Area (Updated) --- */
.app-content-scroll-area {
  position: absolute; /* Changed to absolute to control stacking precisely */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Set HIGHER than header so its scrollbar is on top */
  z-index: 10;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  /* This allows us to see the header behind the scroll area */
  background: transparent;
  /* Keep content starting below the header */
  padding-top: 140px;
  padding-bottom: 100px;
}

/* --- Step 3 Specific Overrides --- */
/* Increase max-width for Step 3 to prevent text wrapping in the 4-col grid */
#step-3 .step-inner {
  max-width: 1100px; /* Increased from default 800px */
}

/* --- Step Card & Form --- */
.step-card {
  display: none;
  padding-bottom: 80px;
}

.step-card.active {
  display: block;
  margin-top: 1.5em;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.step-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.step-headline {
  font-size: 2.2rem;
  color: #009CDE;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-subhead {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

/* --- Checkbox Styling (Step 5) --- */
/* Hide the default checkbox input */
.hidden-checkbox {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  z-index: -1;
}

/* The Square Indicator */
.checkbox-square {
  width: 24px;
  height: 24px;
  border-radius: 6px; /* Rounded square */
  border: 2px solid #ddd;
  background: #f9f9f9;
  transition: all 0.3s;
  margin-top: 10px;
}

/* --- CHECKED STATE --- */
.hidden-checkbox:checked + .card-inner .checkbox-square {
  border-color: #009CDE;
  background-color: #009CDE;
  /* Optional: Add a checkmark icon using SVG or simple CSS pseudo-element */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center;
}

.hidden-checkbox:checked + .card-inner .card-title {
  color: #009CDE;
}

/* Optional: Highlight card border */
/* .selection-card-vertical:has(.hidden-checkbox:checked) {
    box-shadow: 0 0 0 2px #009CDE;
} */
/* Form Styles */
.form-card {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row.split-2 {
  display: flex;
  gap: 30px; /* Increased gap between the two columns */
}

/* New wrapper for Side Icon + Input */
.input-with-side-icon {
  flex: 1; /* Take available space */
  display: flex;
  align-items: center;
  gap: 15px; /* Space between icon and input */
}

.side-icon-wrap {
  flex-shrink: 0; /* Don't let the icon squish */
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group {
  width: 100%;
  position: relative;
  text-align: left;
}

.form-input {
  width: 100%;
  padding: 15px 15px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
  transition: border 0.3s;
  /* Removed padding-left since icon is outside now */
}

.form-input:focus {
  border-color: #009CDE;
}

/* Validation Errors */
.error-msg {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.form-group.error .form-input {
  border-color: #e74c3c;
  background: #fff6f6;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
  .app-sticky-header {
    height: auto;
    padding: 15px 0;
  }
  /* Let header grow on mobile */
  .header-inner {
    padding: 0 20px;
  }
  .form-row.split-2 {
    flex-direction: column;
    gap: 20px;
  }
  .progress-track {
    width: 280px;
  }
  .app-content-scroll-area {
    padding-top: 100px;
    padding-bottom: 150px;
  }
}
/* --- Step 2 Specifics --- */
/* --- Back Arrow (Updated: Large Size) --- */
.back-arrow-btn {
  position: absolute;
  /* Aligned with the header logo padding */
  left: 40px;
  /* Adjust top to visually center with the Headline's first line */
  top: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  /* Remove padding so the hit box is mostly the icon itself (which is huge now) */
  padding: 0;
  /* Visual Tweaks */
  opacity: 0.6; /* Slight fade */
  transition: all 0.3s ease;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .back-arrow-btn {
    position: relative;
  }
}

.back-arrow-btn:hover {
  opacity: 1;
  color: #009CDE; /* Optional: Turn blue on hover for feedback */
  stroke: #009CDE; /* If using stroke directly in CSS (SVG inherits usually) */
  transform: translateX(-5px); /* Move left on hover */
}

/* Helper to target the SVG stroke on hover if needed */
.back-arrow-btn:hover svg {
  stroke: #009CDE;
}

/* Mobile: Keep it accessible but slightly tighter to edge */
@media screen and (max-width: 768px) {
  .back-arrow-btn {
    left: 10px;
    top: 0px;
  }
}
/* Ensure the section allows absolute positioning */
.step-card {
  position: relative;
  background-color: #F4F6F9;
  min-height: 100vh;
  width: 100%;
}

/* --- Mobile Adjustment --- */
@media screen and (max-width: 768px) {
  .back-arrow-btn {
    left: 10px; /* Tighter alignment on mobile */
    top: -10px; /* Pull it up slightly if needed on small screens */
  }
  /* Ensure the content doesn't overlap the button on very small screens */
  .step-headline {
    margin-top: 10px;
  }
}
/* Ensure relative positioning for the arrow to sit correctly */
.step-inner {
  position: relative;
}

/* Transparent wrapper to remove the white box look if desired,
   or keep white if you want the cards on a white bg */
.form-card.transparent-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

/* --- 3 Column Grid --- */
.selection-grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-bottom: 2rem;
}

/* --- 4 Column Grid (Step 3) --- */
.selection-grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-bottom: 2rem;
}

/* Responsive Handling */
@media screen and (max-width: 900px) {
  .selection-grid-4-col {
    grid-template-columns: repeat(2, 1fr); /* 2 cols on tablet */
  }
}
@media screen and (max-width: 480px) {
  .selection-grid-4-col {
    grid-template-columns: 1fr; /* 1 col on phone */
  }
}
/* --- Vertical Card Styling --- */
.selection-card-vertical {
  background: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft shadow like comp */
  overflow: hidden;
  position: relative;
}
.selection-card-vertical:hover {
  box-shadow: 0 0 15px rgba(0, 152, 214, 0.02);
}

.selection-card-vertical:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 152, 214, 0.25) 0 0 11px 3px;
}

.card-inner {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.card-icon {
  margin-bottom: 10px;
  opacity: 0.8;
}

.review-card .selection-card-vertical {
  box-shadow: none;
}
.review-card .card-icon {
  display: none;
}
.review-card.exception .card-icon {
  display: flex;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1px;
  text-transform: uppercase;
  color: #333;
}
.card-title.normal {
  font-weight: 500;
}

.card-desc {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 15px;
}

/* Update this class in your CSS */
.hidden-radio {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  z-index: -1;
}

/* The Selection Circle (Radio) */
.radio-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #f9f9f9;
  transition: all 0.3s;
}

/* --- CHECKED STATE --- */
.hidden-radio:checked + .card-inner .radio-circle {
  border-color: #009CDE;
  background-color: #009CDE;
  box-shadow: inset 0 0 0 4px white; /* Creates the "dot" inside */
}

.hidden-radio:checked + .card-inner .card-title {
  color: #009CDE;
}

/* Optional: Highlight the whole card border on selection */
/* .selection-card-vertical:has(.hidden-radio:checked) {
    box-shadow: 0 0 0 2px #009CDE;
} */
/* --- Button Center --- */
.button-center-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-wide {
  padding: 16px 80px; /* Wider button */
}

/* --- Mobile --- */
@media screen and (max-width: 768px) {
  .selection-grid-3-col {
    grid-template-columns: repeat(2, 1fr); /* 2 cols on tablet */
  }
}
@media screen and (max-width: 480px) {
  .selection-grid-3-col {
    grid-template-columns: 1fr; /* 1 col on phone */
  }
}
/* --- Review Page Specifics --- */
/* Section Headers (Blue text above cards) */
.review-section-label {
  text-align: left;
  color: #009CDE;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 30px;
  padding-left: 5px;
}

/* Card Adjustments */
.review-card {
  padding: 30px;
  text-align: left;
}
.review-card .heading-weight {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 500;
}

.review-label {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 5px;
  display: block;
  font-weight: 600;
}

.review-divider {
  border: 0;
  height: 1px;
  background: #eee;
  margin: 25px 0;
}

/* Green Success Button */
.btn-success {
  background-color: #8DC63F; /* Brand Green */
  color: white;
  border: none;
  padding: 16px 80px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(141, 198, 63, 0.4);
}

.btn-success:hover {
  background-color: #7ab32f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(141, 198, 63, 0.6);
}

/* --- Review Page Specifics --- */
/* Section Headers (Now outside the cards) */
.review-section-label {
  text-align: left;
  color: #009CDE;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px; /* Added spacing between label and card */
  margin-top: 40px;
  padding-left: 5px;
}

/* Card Adjustments */
.review-card {
  padding: 20px 30px; /* More breathing room */
  text-align: left;
  margin-bottom: 0;
  margin-top: 2em;
}

.review-label {
  font-size: 1.5rem;
  color: #070707;
  margin-bottom: 15px;
  display: block;
  font-weight: 600;
}

.review-divider {
  border: 0;
  height: 1px;
  background: #eee;
  margin: 30px 0;
}

/* Green Success Button */
.btn-success {
  background-color: #8DC63F;
  color: white;
  border: none;
  padding: 16px 80px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(141, 198, 63, 0.4);
}

.btn-success:hover {
  background-color: #7ab32f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(141, 198, 63, 0.6);
}

/* --- COMPACT GRID FOR REVIEW (Fixes the "Squished" look) --- */
.mini-grid {
  pointer-events: auto;
  gap: 15px;
  margin-top: 10px;
  /* Force grids to fit nicely */
  width: 100%;
  grid-template-columns: 1fr !important;
}

/* Force cards to be more compact on the review page */
.mini-grid .selection-card-vertical {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  min-height: auto; /* Allow them to shrink */
}

/* Shrink the inner padding */
.mini-grid .card-inner {
  padding: 15px 10px; /* Much smaller padding than Step 2/3/5 */
}

/* Shrink the text to prevent wrapping */
.mini-grid .card-title {
  font-size: 0.85rem;
  white-space: nowrap; /* Prevent wrapping like "BUSINESS \n SERVICES" */
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-grid .card-desc {
  font-size: 0.7rem;
  margin-bottom: 5px;
}

/* Shrink the Icons/Images */
.mini-grid img,
.mini-grid svg {
  max-width: 40px; /* Smaller icons */
  height: auto;
  width: auto;
  margin-bottom: 5px;
}

/* Shrink the radio/checkbox indicators */
.mini-grid .checkbox-square,
.mini-grid .radio-circle {
  width: 20px;
  height: 20px;
  margin-top: 5px;
}

/* ==============================================================
   FINAL SUCCESS PAGE STYLES
   ============================================================== */
/* Full-screen container, hidden initially */
#step-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1000; /* Ensures it's on top of everything */
  display: none; /* JS will set to flex */
  flex-direction: column;
}

/* Header on success page should not be absolute */
.success-header {
  position: relative !important;
  background: #fff;
  flex-shrink: 0; /* Header stays fixed height */
}

/* The main split-screen body */
.split-body {
  display: flex;
  flex: 1; /* Fills remaining height */
  overflow: hidden; /* Prevents scrollbars during animation */
}
@media screen and (max-width: 600px) {
  .split-body {
    overflow: auto; /* Prevents scrollbars during animation */
  }
}

/* The two halves of the screen */
.success-panel {
  width: 50%;
  height: 100%;
  position: relative;
}

/* --- LEFT SIDE (VIDEO) --- */
.success-left {
  background: #000;
}

/* Re-use existing video container styles */
.success-left .video-bg-container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* --- RIGHT SIDE (CONTENT) --- */
.success-right {
  display: flex;
  align-items: center; /* Vertical center */
  padding: 60px 80px; /* Large comfortable padding */
  background: #fff;
}

.content-wrapper {
  max-width: 550px;
}

#step-success .main-headline {
  font-size: 3.5rem;
  color: #009CDE;
  margin-bottom: 25px;
  line-height: 1.1;
}

#step-success .sub-headline {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 45px;
  line-height: 1.6;
}

/* New Orange Button Style */
.btn-orange {
  background-color: #F47C20 !important; /* CaliforniaChoice Orange */
  border: none;
  padding: 18px 50px;
  font-size: 1rem;
}

.btn-orange:hover {
  background-color: #e06b15 !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(244, 124, 32, 0.3);
}

/* Confetti GIF Positioning */
.confetti-gif {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  width: 90px;
  height: auto;
  pointer-events: none;
}

/* Social Media Section */
.social-section {
  margin-top: 100px;
}

.social-section h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 25px;
  font-weight: 700;
}

.social-icons {
  display: flex;
  gap: 25px;
}

.social-icons a {
  color: #333;
  transition: all 0.3s ease;
  display: inline-block;
}

.social-icons a:hover {
  color: #009CDE;
  transform: translateY(-3px);
}

.social-icons svg {
  width: 32px;
  height: 32px;
}

/* --- MOBILE RESPONSIVE --- */
@media screen and (max-width: 1024px) {
  .split-body {
    flex-direction: column;
    width: 110%;
  }
  .success-panel {
    width: 100%;
    height: 50%;
  }
  .success-right {
    padding: 40px;
    align-items: flex-start; /* Top align on mobile */
  }
  #step-success .main-headline {
    font-size: 2.5rem;
  }
  .social-section {
    margin-top: 50px;
  }
  /* Reposition confetti on mobile */
  .confetti-gif {
    right: 10px;
    top: -70px;
    width: 70px;
  }
}
@media screen and (max-width: 1024px) {
  .split-body {
    width: 110%;
  }
}
/* --- Validation Error Styles --- */
/* 1. Text Inputs: Red Border & Message */
.form-group.error input {
  border-color: #e74c3c !important; /* Red Border */
  background-color: #fff6f6; /* Light Red Background */
}

/* Inject the text message under the input */
/* 2. Selection Grids: Red Border & Message */
.mini-grid.error {
  border: 1px solid #e74c3c; /* Box around the whole grid */
  border-radius: 8px;
  padding: 5px; /* Add breathing room inside the border */
}

/* Inject the text message under the grid */
.mini-grid.error::after {
  content: "Please make a selection"; /* <--- The Text */
  color: #e74c3c;
  display: block;
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

/* --- Fix Turnstile Visibility --- */
#cf-turnstile-container {
  min-height: 65px; /* Reserve space so it doesn't collapse */
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Disable the static CSS ghost message */
.form-group.error::after {
  content: none !important;
  display: none !important;
}

/* Ensure our specific spans are visible when error is present */
.form-group.error .field-error-msg {
  display: block;
}

/*# sourceMappingURL=styles.css.map */
