*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-dark: #0b2b50;
  --brand-light: #A3FFD6;
  --white: #ffffff;
  --green-900: #071d36;
  --green-800: #0b2b50;
  --green-700: #123d6f;
  --green-600: #1b5b9b;
  --green-400: #A3FFD6;
  --green-200: #d6fff0;
  --green-100: #ebfff7;
  --green-50: #f5fffb;
  --slate-900: #0b2b50;
  --slate-700: #23466d;
  --slate-500: #56708f;
  --slate-300: #a8bfd6;
  --slate-100: #e7eef5;
  --slate-50: #f5f8fb;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(11,43,80,0.08), 0 1px 2px rgba(11,43,80,0.04);
  --shadow-lg: 0 12px 40px rgba(11,43,80,0.10), 0 4px 12px rgba(11,43,80,0.06);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Fredoka', sans-serif;
  background: var(--slate-50);
  color: var(--slate-900);
  min-height: 100vh;
  line-height: 1.6;
}

.header {
  background: var(--slate-900);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  width: 120px;
  height: auto;
  display: block;
}

.header-contact {
  font-size: 0.8rem;
  color: var(--slate-300);
}

.header-contact a {
  color: var(--green-400);
  text-decoration: none;
}

.hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--green-900) 100%);
  padding: 4rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163,255,214,0.18) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163,255,214,0.12) 0%, transparent 70%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(163,255,214,0.12);
  border: 1px solid rgba(163,255,214,0.3);
  color: var(--green-400);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero h1 em {
  color: var(--green-400);
  font-style: normal;
}

.hero p {
  font-size: 1.05rem;
  color: var(--slate-300);
  max-width: 580px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.82rem;
  color: var(--slate-300);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.main {
  max-width: 860px;
  margin: -2.5rem auto 4rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.progress-track {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.progress-steps {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--slate-100);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-300);
  flex-shrink: 0;
  transition: var(--transition);
}

.step-dot.active {
  border-color: var(--green-600);
  background: var(--green-600);
  color: var(--white);
}

.step-dot.done {
  border-color: var(--green-600);
  background: var(--green-50);
  color: var(--green-700);
}

.step-dot.done::after {
  content: '✓';
  font-size: 0.85rem;
  font-weight: 600;
}

.step-label {
  font-size: 0.8rem;
  color: var(--slate-300);
  white-space: nowrap;
  transition: var(--transition);
}

.step-label.active {
  color: var(--slate-900);
  font-weight: 500;
}

.step-connector {
  height: 2px;
  background: var(--slate-100);
  flex: 1;
  border-radius: 1px;
  transition: var(--transition);
}

.step-connector.done {
  background: var(--green-200);
}

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.card-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.card-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.4rem;
}

.card-header h2 {
  font-size: 1.4rem;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.card-header p {
  font-size: 0.88rem;
  color: var(--slate-500);
}

.card-body {
  padding: 1.5rem 2rem;
}

.card-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--slate-50);
  gap: 1rem;
}

.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--slate-100);
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.83rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.chip:hover {
  border-color: var(--green-400);
  color: var(--green-700);
  background: var(--green-50);
}

.chip.selected {
  background: var(--green-600);
  border-color: var(--green-700);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(27,91,155,0.3);
}

.btn-primary,
.btn-secondary,
.btn-cta-email,
.btn-cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-primary {
  padding: 10px 22px;
  background: var(--green-600);
  color: var(--white);
  border: none;
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

.btn-secondary {
  padding: 10px 18px;
  background: transparent;
  color: var(--slate-500);
  border: 1.5px solid var(--slate-100);
}

.btn-secondary:hover {
  border-color: var(--slate-300);
  color: var(--slate-900);
  background: var(--slate-50);
}

.selection-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--green-700);
  background: var(--green-50);
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 500;
}

.result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.result-model {
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 10px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.result-model.top {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(27,91,155,0.1);
}

.result-model-top-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  display: none;
}

.result-model.top .result-model-top-stripe {
  display: block;
}

.result-model-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 1rem;
}

.result-model-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-900);
}

.result-model-pct {
  font-size: 0.88rem;
  color: var(--slate-500);
  font-weight: 500;
}

.result-model-description {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 10px;
}

.result-bar-bg {
  height: 6px;
  background: var(--slate-100);
  border-radius: 3px;
  overflow: hidden;
}

.result-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--green-600);
  transition: width 0.6s ease;
}

.badge-best,
.badge-type {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 10px;
  margin-left: 6px;
}

.badge-best {
  background: var(--green-600);
  color: var(--white);
}

.badge-type.premium {
  background: var(--slate-900);
  color: var(--white);
}

.badge-type.rs {
  background: #E6F1FB;
  color: #185FA5;
}

.badge-type.ff {
  background: #FAEEDA;
  color: #854F0B;
}

.recommendation-copy {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--green-50);
  border: 1px solid var(--green-200);
}

.recommendation-copy h3,
.feature-breakdown h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.recommendation-copy p {
  font-size: 0.9rem;
  color: var(--slate-700);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  padding: 4px 11px;
  border-radius: 12px;
  margin: 3px;
}

.feature-tag.included {
  background: var(--green-50);
  color: var(--green-800);
}

.feature-tag.missing {
  background: var(--slate-100);
  color: var(--slate-500);
  text-decoration: line-through;
}

#missing-section {
  margin-top: 1rem;
}

.cta-panel {
  background: var(--slate-900);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-panel-info h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.cta-panel-info p {
  font-size: 0.85rem;
  color: var(--slate-300);
}

.cta-panel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cta-email {
  padding: 11px 22px;
  background: var(--green-600);
  color: var(--white);
  border: none;
  font-weight: 500;
}

.btn-cta-phone {
  padding: 11px 18px;
  background: transparent;
  color: var(--slate-300);
  border: 1.5px solid rgba(255,255,255,0.15);
}

.julian-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}

.julian-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.julian-info p:first-child {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-900);
}

.julian-info p:last-child {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.intro-screen {
  text-align: center;
  padding: 3rem 2rem;
}

.intro-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-50);
  border: 2px solid var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--green-700);
  font-weight: 600;
  font-size: 1.25rem;
}

.intro-screen h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.intro-screen p {
  font-size: 0.95rem;
  color: var(--slate-500);
  max-width: 440px;
  margin: 0 auto 2rem;
}

.intro-models {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.intro-model-pill {
  font-size: 0.78rem;
  padding: 5px 13px;
  border-radius: 14px;
  border: 1px solid var(--slate-100);
  color: var(--slate-500);
  background: var(--slate-50);
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.78rem;
  color: var(--slate-300);
}

.footer a {
  color: var(--green-600);
  text-decoration: none;
}

@media (max-width: 700px) {
  .header {
    padding: 1rem 1.25rem;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .hero {
    padding: 2.5rem 1.25rem 4rem;
  }

  .card-body,
  .card-header,
  .card-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .card-footer {
    flex-wrap: wrap;
  }

  .progress-track {
    padding: 1.25rem;
  }

  .step-label {
    display: none;
  }

  .cta-panel {
    flex-direction: column;
    text-align: center;
  }

  .cta-panel-actions {
    justify-content: center;
  }

  .result-model-header {
    align-items: flex-start;
    flex-direction: column;
  }
}