/* ===== CSS Variables ===== */
:root {
  --orange: #FF5500;
  --orange-hover: #E64D00;
  --orange-muted: rgba(255, 85, 0, 0.12);
  --bg-dark: #0A0A0A;
  --bg-section: #0F0F11;
  --bg-card: rgba(26, 27, 35, 0.92);
  --bg-input: #131318;
  --bg-feature: #1E1E20;
  --bg-stats: #17191C;
  --text-white: #FFFFFF;
  --text-gray: #9CA3AF;
  --text-muted: #6B7280;
  --text-label: #555555;
  --border-color: #2A2A2E;
  --border-input: #2D2D32;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Bebas Neue', 'Inter', sans-serif;
  --container-width: 680px;
  --container-wide: 820px;
  --container-features: 900px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input {
  font-family: var(--font);
  outline: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: var(--container-wide);
}

.container--features {
  max-width: var(--container-features);
}

.text-orange {
  color: var(--orange);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 100px 0 80px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(10, 10, 10, 0.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__text {
  text-align: center;
  margin-bottom: 36px;
  transition: margin-bottom 0.3s ease;
}

.hero__text.collapsed .badge,
.hero__text.collapsed .hero__headline {
  display: none;
}

.hero__text.collapsed {
  margin-bottom: 20px;
}

.hero__text.collapsed .hero__description {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.85);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid var(--orange);
  border-radius: 100px;
  background: rgba(255, 85, 0, 0.08);
  color: var(--orange);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.badge__dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hero Headline */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 24px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.hero__description {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-gray);
  max-width: 580px;
  margin: 0 auto;
}

/* ===== Form Card ===== */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 32px 36px;
  max-width: 520px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.form-card__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Progress Bar */
.progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.progress-bar__segment {
  flex: 1;
  height: 3px;
  background: #2A2A2E;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.progress-bar__segment.active {
  background: var(--orange);
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.form-step__title--spaced {
  margin-top: 28px;
}

/* Form Inputs */
.form-input {
  width: 100%;
  padding: 15px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: 6px;
  color: var(--text-white);
  font-size: 15px;
  margin-bottom: 10px;
  transition: border-color 0.2s ease;
}

.form-input::placeholder {
  color: #555555;
}

.form-input:focus {
  border-color: var(--orange);
}

.form-input.input-error {
  border-color: var(--orange);
}

/* Option Buttons */
.option-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}

.option-btn {
  width: 100%;
  padding: 15px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: 6px;
  color: var(--text-white);
  font-size: 14px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.option-btn--wide {
  grid-column: 1 / -1;
  max-width: calc(50% - 4px);
}

.option-btn:hover {
  border-color: #444;
}

.option-btn.selected {
  border-color: var(--orange);
  background: var(--orange-muted);
}

/* Primary Button */
.btn-primary {
  width: 100%;
  padding: 17px 24px;
  background: var(--orange);
  color: var(--text-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  margin-top: 20px;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--orange-hover);
}

.btn-primary--cta {
  max-width: 440px;
  margin: 36px auto 0;
  display: block;
  font-size: 13px;
  padding: 18px 32px;
}

/* ===== FAQ Section ===== */
.faq {
  background: var(--bg-dark);
  padding: 100px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-label--center {
  text-align: center;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 56px;
  line-height: 1;
}

.section-heading--center {
  text-align: center;
}

.faq-group {
  margin-bottom: 8px;
}

.faq-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-label);
  padding: 28px 0 0;
  border-top: 1px solid var(--border-color);
  margin-bottom: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  background: none;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  line-height: 1.45;
}

.faq-question:hover {
  color: var(--text-gray);
}

.faq-icon {
  color: var(--orange);
  font-size: 24px;
  font-weight: 300;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding-bottom: 22px;
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ===== Process Section ===== */
.process {
  background: #000000;
  padding: 100px 0;
}

.timeline {
  position: relative;
  padding-left: 56px;
}

.timeline__line {
  position: absolute;
  left: 17px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--border-color);
}

.timeline__step {
  position: relative;
  display: flex;
  gap: 28px;
  margin-bottom: 52px;
}

.timeline__step:last-child {
  margin-bottom: 0;
}

.timeline__number {
  position: absolute;
  left: -56px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: #000000;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 1;
}

.timeline__content {
  flex: 1;
}

.timeline__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 10px;
  line-height: 1.45;
}

.timeline__desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.75;
  max-width: 640px;
}

/* ===== Features Section ===== */
.features {
  background: var(--bg-section);
  padding: 100px 0 0;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.feature-card {
  background: var(--bg-feature);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 32px;
}

.feature-card__icon {
  font-size: 22px;
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}

.feature-card__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 14px;
  color: #888888;
  line-height: 1.65;
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  background: var(--bg-stats);
  padding: 52px 40px;
  margin-top: 56px;
  text-align: center;
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.stat__label {
  display: block;
  font-size: 14px;
  color: var(--text-gray);
}

/* ===== CTA Section ===== */
.cta {
  background: #000000;
  padding: 100px 0;
  text-align: center;
}

.cta__heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.05;
}

.cta__desc {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}

.cta__note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 18px;
}

/* ===== Footer ===== */
.footer {
  background: #000000;
  padding: 0 0 48px;
  text-align: center;
}

.footer p {
  font-size: 12px;
  color: #444444;
  line-height: 1.6;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal__content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.modal__content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal__content p {
  color: var(--text-gray);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 72px 0 48px;
    min-height: auto;
  }

  .hero__headline {
    font-size: 32px;
  }

  .form-card {
    padding: 24px;
  }

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

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 24px;
  }

  .option-btn--wide {
    max-width: 100%;
  }

  .timeline {
    padding-left: 48px;
  }

  .timeline__number {
    left: -48px;
    width: 32px;
    height: 32px;
    font-size: 10px;
  }

  .timeline__line {
    left: 15px;
  }

  .section-heading {
    font-size: 36px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq {
    padding: 72px 0;
  }

  .process {
    padding: 72px 0;
  }

  .features {
    padding-top: 72px;
  }

  .cta {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: 28px;
  }

  .badge {
    font-size: 10px;
    padding: 6px 14px;
  }

  .form-card {
    padding: 20px;
  }

  .cta__heading {
    font-size: 32px;
  }
}
