﻿:root {
  --bg-1: #071d45;
  --bg-2: #0b3f7f;
  --bg-3: #0a7d90;
  --ink: #0e223c;
  --ink-soft: #3b5675;
  --surface: #ffffff;
  --border: #d9e7f7;
  --primary: #315cff;
  --primary-2: #10c4a7;
  --danger: #c11642;
  --shadow: 0 16px 30px rgba(12, 42, 81, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(920px 520px at 10% -10%, rgba(49, 92, 255, 0.34), transparent 60%),
    radial-gradient(860px 600px at 90% 0%, rgba(16, 196, 167, 0.26), transparent 62%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2) 40%, var(--bg-3));
  background-attachment: fixed;
}

.page {
  width: min(1160px, 92vw);
  margin: 1.9rem auto 2.3rem;
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.56);
  padding: 1.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: reveal 360ms ease forwards;
}

.reveal:nth-child(2) { animation-delay: 0.06s; }
.reveal:nth-child(3) { animation-delay: 0.11s; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #f5fbff;
  background: linear-gradient(145deg, rgba(5, 32, 80, 0.94), rgba(8, 76, 119, 0.92));
  border: 1px solid rgba(163, 218, 255, 0.24);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(380px 220px at 88% 12%, rgba(16, 196, 167, 0.3), transparent 70%),
    radial-gradient(280px 180px at 10% 86%, rgba(49, 92, 255, 0.24), transparent 70%);
}

.eyebrow {
  margin: 0;
  position: relative;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.78rem;
  color: #bee9ff;
}

.hero-section h1 {
  position: relative;
  margin: 0.5rem 0 0.6rem;
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  line-height: 1.14;
}

.hero-subtitle {
  position: relative;
  margin: 0;
  max-width: 66ch;
  color: #d8eeff;
  font-size: 1.02rem;
  line-height: 1.5;
}

.hero-actions {
  position: relative;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  font: inherit;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(95deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 20px rgba(49, 92, 255, 0.26);
  padding: 0.72rem 1rem;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.btn-secondary {
  color: #173e66;
  background: #eef5ff;
  border: 1px solid #c4d9f0;
  padding: 0.62rem 0.86rem;
}

.btn-secondary:hover {
  background: #e3efff;
}

.btn-ghost {
  color: #1f4f77;
  background: #fff;
  border: 1px solid #b8d0ea;
  padding: 0.72rem 1rem;
}

.hero-link {
  color: #d9eeff;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 238, 255, 0.6);
  font-weight: 600;
}

.hero-link:hover,
.hero-link:focus {
  color: #fff;
}

.info-pills {
  position: relative;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.6rem;
}

.info-pill {
  background: rgba(255, 255, 255, 0.92);
  color: #12395f;
  border: 1px solid rgba(17, 71, 111, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.info-pill strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f507f;
}

.section-head h2 {
  margin: 0;
  font-size: 1.3rem;
}

.microcopy {
  margin: 0.26rem 0 0;
  color: var(--ink-soft);
}

.benefits-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.benefit-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem;
  background: linear-gradient(145deg, #ffffff, #f7fbff);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eaf2ff;
  font-size: 1.1rem;
}

.benefit-card h3 {
  margin: 0.55rem 0 0.25rem;
  font-size: 1rem;
}

.benefit-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: 0.92rem;
}

.challenge-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.challenge-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(140deg, #fff, #f6faff);
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.challenge-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e9f1ff;
  color: #2956c4;
  font-size: 1.2rem;
}

.challenge-card h3 {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
}

.challenge-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.examples {
  font-size: 0.86rem;
  color: #355a86;
}

.challenge-card.selected {
  border-color: #3d65ff;
  box-shadow: 0 0 0 2px rgba(61, 101, 255, 0.2);
}

.challenge-card.selected .btn-secondary {
  background: linear-gradient(95deg, var(--primary), var(--primary-2));
  color: #fff;
  border: none;
}

.timeline-stepper {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.timeline-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfdff;
  padding: 0.7rem;
  display: grid;
  gap: 0.48rem;
}

.timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1b4f89;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.timeline-item strong {
  display: block;
  font-size: 0.9rem;
}

.timeline-item small {
  color: var(--ink-soft);
}

.slots-text {
  margin: 0.75rem 0 0.48rem;
  font-weight: 700;
  color: #104a7c;
}

.slots-meter {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: #dfeaf8;
  overflow: hidden;
}

.slots-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(95deg, var(--primary), var(--primary-2));
  transition: width 220ms ease;
}

.slots-fill.full {
  background: linear-gradient(95deg, #f07d19, #ff4f7b);
}

.slots-note {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
}

.stepper-header {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.stepper-node {
  border: 1px solid #c8d9ee;
  border-radius: 12px;
  background: #fff;
  color: #234f79;
  padding: 0.55rem 0.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.45rem;
  text-align: left;
  cursor: pointer;
}

.step-index {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #eaf2ff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.step-label {
  font-size: 0.82rem;
  font-weight: 600;
}

.stepper-node.active,
.stepper-node.complete {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(95deg, var(--primary), var(--primary-2));
}

.stepper-node.complete .step-index,
.stepper-node.active .step-index {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.progress-wrap {
  margin-top: 0.8rem;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #dbe8f7;
}

.progress-bar {
  width: 25%;
  height: 100%;
  background: linear-gradient(95deg, var(--primary), var(--primary-2));
  transition: width 220ms ease;
}

.step {
  display: none;
  margin-top: 0.95rem;
}

.step.active {
  display: block;
}

.hint {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
}

label,
legend {
  display: block;
  margin: 0.72rem 0 0.34rem;
  font-weight: 700;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c1d3e9;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: #fff;
}

input:focus,
textarea:focus,
button:focus {
  outline: 3px solid rgba(49, 92, 255, 0.2);
  border-color: #3b63ff;
}

fieldset {
  margin: 0.8rem 0;
  border: 1px solid #cfdef0;
  border-radius: 12px;
  padding: 0.62rem 0.8rem 0.85rem;
}

.radio,
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.42rem 0;
  font-weight: 500;
}

.radio input,
.checkbox input {
  width: auto;
  margin-top: 0.15rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #c4d7ef;
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  background: #fff;
  font-size: 0.9rem;
}

.review-summary {
  display: grid;
  gap: 0.45rem;
}

.review-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 2fr;
  gap: 0.6rem;
  border: 1px solid #d4e2f4;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}

.review-row dt {
  font-weight: 700;
  color: #184b79;
}

.review-row dd {
  margin: 0;
}

.form-actions {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.hidden {
  display: none !important;
}

.error {
  min-height: 1.1rem;
  margin-top: 0.65rem;
  color: var(--danger);
  font-weight: 700;
}

.site-footer {
  width: min(1160px, 92vw);
  margin: 0 auto 1.4rem;
  text-align: right;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.65);
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
}

@media (max-width: 1080px) {
  .timeline-stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page {
    width: 94vw;
    margin-top: 1rem;
    gap: 1rem;
  }

  .card {
    padding: 1rem;
    border-radius: 15px;
  }

  .challenge-grid {
    grid-template-columns: 1fr;
  }

  .timeline-stepper {
    grid-template-columns: 1fr;
  }

  .stepper-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  .review-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, .reveal, .progress-bar, .slots-fill {
    animation: none !important;
    transition: none !important;
  }
}
