/* ============================================================
   PAAAL Business Builder — Design System & Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  --navy:       #1B2A4A;
  --navy-light: #253a63;
  --teal:       #2A9D8F;
  --teal-hover: #238277;
  --teal-light: #e6f5f3;
  --gold:       #E9C46A;
  --gold-hover: #d4ad4e;
  --cream:      #F4F1DE;
  --white:      #FFFFFF;
  --gray:       #6B7280;
  --gray-light: #9CA3AF;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-800:   #1F2937;
  --red:        #E76F51;
  --red-light:  #fef2f0;
  --green:      #059669;
  --green-light:#ecfdf5;

  --bg-page:       var(--cream);
  --bg-card:       var(--white);
  --text-primary:  var(--navy);
  --text-secondary:var(--gray);
  --text-body:     var(--gray-800);
  --accent:        var(--teal);
  --border:        var(--gray-200);

  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 15px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.04);

  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  --transition: 150ms ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--teal-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); color: var(--white); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-top: 0.75rem;
}

.section--navy .section__header p { color: rgba(255,255,255,0.7); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

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

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled, .btn.btn--loading {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover { background: var(--teal-hover); color: var(--white); }

.btn--cta {
  background: var(--gold);
  color: var(--navy);
}
.btn--cta:hover { background: var(--gold-hover); color: var(--navy); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
}
.btn--ghost:hover { background: var(--gray-100); }

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--full { width: 100%; }

.btn--loading .btn__text { visibility: hidden; }
.btn--loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn { position: relative; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

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

.card--flat { box-shadow: none; }
.card--flat:hover { box-shadow: none; }

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--teal-light);
  color: var(--teal);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ─── Forms ─────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.form-label--required::after {
  content: ' *';
  color: var(--red);
}

.form-hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray-light);
  margin-top: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.15);
}

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

.form-error {
  display: none;
  font-size: 0.8125rem;
  color: var(--red);
  margin-top: 0.25rem;
}

.form-error.visible { display: block; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Radio / Checkbox Groups */
.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-option,
.checkbox-option {
  position: relative;
}

.radio-option input,
.checkbox-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label,
.checkbox-option label {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-body);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.radio-option input:checked + label,
.checkbox-option input:checked + label {
  border-color: var(--teal);
  background: var(--teal-light);
  color: var(--teal-hover);
  font-weight: 500;
}

.radio-option input:focus-visible + label,
.checkbox-option input:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav__logo {
  height: 32px;
  width: auto;
}

.nav__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav__link:hover { color: var(--navy); background: var(--gray-100); }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
}

.nav__mobile.open { display: flex; flex-direction: column; gap: 0.5rem; }

.nav__mobile .nav__link { display: block; padding: 0.75rem; }

@media (min-width: 640px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}

.hero__badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(233, 196, 106, 0.12);
  border: 1px solid rgba(233, 196, 106, 0.25);
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: var(--white);
  font-size: 2.25rem;
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero { padding: 7rem 0 6rem; }
  .hero h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
}

/* ─── Steps / How It Works ──────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
}

.step__number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
}

.step__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

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

/* ─── Pricing ───────────────────────────────────────────── */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.pricing-card__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 100px;
  margin-bottom: 1rem;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.pricing-card__desc {
  color: var(--gray);
  margin-bottom: 2rem;
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-card__features li::before {
  content: '\2713';
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.875rem;
}

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

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer__logo { height: 24px; filter: brightness(0) invert(1); }

/* ─── Auth Page ─────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--cream);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
}

.auth-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  text-decoration: none;
}

.auth-card__logo img { height: 28px; }
.auth-card__logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

.auth-tabs {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 2rem;
}

.auth-tab {
  flex: 1;
  padding: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: var(--gray);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.auth-tab.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-form__title {
  font-size: 1.375rem;
  margin-bottom: 0.375rem;
}

.auth-form__subtitle {
  color: var(--gray);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.auth-divider {
  text-align: center;
  color: var(--gray-light);
  font-size: 0.8125rem;
  margin: 1.5rem 0;
}

/* Alert / Toast */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.alert.visible { display: flex; align-items: flex-start; gap: 0.5rem; }

.alert--error {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid rgba(231, 111, 81, 0.2);
}

.alert--success {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

/* ─── Wizard ────────────────────────────────────────────── */
.wizard-page {
  min-height: 100vh;
  background: var(--cream);
  padding-bottom: 3rem;
}

.wizard-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.wizard-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wizard-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.wizard-nav__brand img { height: 24px; }
.wizard-nav__brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
}

/* Progress Stepper */
.wizard-progress {
  padding: 1.5rem 0;
}

.wizard-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  text-align: center;
}

.wizard-step::before {
  content: '';
  position: absolute;
  top: 16px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.wizard-step:first-child::before { display: none; }

.wizard-step.completed::before { background: var(--teal); }
.wizard-step.active::before { background: var(--teal); }

.wizard-step__circle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--gray-200);
  color: var(--gray);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.wizard-step.active .wizard-step__circle {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.2);
}

.wizard-step.completed .wizard-step__circle {
  background: var(--teal);
  color: var(--white);
}

.wizard-step__label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray-light);
  margin-top: 0.5rem;
  display: none;
}

.wizard-step.active .wizard-step__label { color: var(--teal); font-weight: 600; }
.wizard-step.completed .wizard-step__label { color: var(--teal); }

@media (min-width: 640px) {
  .wizard-step__label { display: block; }
}

/* Wizard Content */
.wizard-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wizard-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .wizard-card { padding: 2.5rem; }
}

.wizard-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.375rem;
}

.wizard-card__subtitle {
  color: var(--gray);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

/* Wizard Nav Buttons */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.wizard-actions .btn--back {
  background: transparent;
  color: var(--gray);
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-family: var(--font-body);
}

.wizard-actions .btn--back:hover { background: var(--gray-100); color: var(--navy); }

/* Slider / Range */
.slider-group {
  margin-bottom: 1.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.slider-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  min-width: 2.5rem;
  text-align: right;
}

.slider-value.red { color: var(--red); }
.slider-value.yellow { color: #D97706; }
.slider-value.green { color: var(--green); }

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: box-shadow var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.2);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  border: none;
}

/* Dynamic List (for milestones, actions) */
.dynamic-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dynamic-item {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
}

.dynamic-item__remove {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  color: var(--gray);
  font-size: 1.125rem;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.dynamic-item__remove:hover {
  background: var(--red-light);
  color: var(--red);
  border-color: var(--red);
}

.add-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal);
  background: var(--teal-light);
  border: 1.5px dashed var(--teal);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.add-item-btn:hover {
  background: var(--teal);
  color: var(--white);
}

/* ─── Area Health Cards ─────────────────────────────────── */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.area-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.area-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.area-card__icon {
  font-size: 1.5rem;
}

.area-card__name {
  font-weight: 600;
  font-size: 1rem;
}

/* ─── Confirmation Page ─────────────────────────────────── */
.confirmation-page {
  min-height: 100vh;
  background: var(--cream);
  padding-bottom: 3rem;
}

.confirmation-hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.confirmation-hero__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  font-size: 2.5rem;
}

.confirmation-hero h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .confirmation-hero h1 { font-size: 2.25rem; }
}

.confirmation-hero p {
  color: var(--gray);
  font-size: 1.0625rem;
  max-width: 500px;
  margin: 0 auto;
}

.confirmation-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}

.accordion-trigger__icon {
  font-size: 1.25rem;
  color: var(--gray);
  transition: transform var(--transition);
}

.accordion-item.open .accordion-trigger__icon {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 0 1.25rem 1.25rem;
}

.accordion-item.open .accordion-body { display: block; }

.accordion-body dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  margin-top: 1rem;
}

.accordion-body dt:first-child { margin-top: 0; }

.accordion-body dd {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin-left: 0;
}

/* Next Steps Card */
.next-steps {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.next-steps h3 {
  margin-bottom: 0.75rem;
}

.next-steps p {
  color: var(--gray);
  font-size: 0.9375rem;
}

.next-steps__timeline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--teal-light);
  color: var(--teal-hover);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  margin: 1rem 0;
}

/* ─── Utility Classes ───────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 639px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .section { padding: 3rem 0; }

  .auth-card { padding: 2rem 1.5rem; }

  .wizard-card { padding: 1.5rem 1.25rem; }
  .wizard-card__title { font-size: 1.25rem; }

  .pricing-card { padding: 2rem 1.5rem; }
  .pricing-card__price { font-size: 2.5rem; }
}
