/* ═══════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #f9fafb;
  color: #111827;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ═══════════════════════════════════════════
     LAYOUT
  ════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══════════════════════════════════════════
     LOGO
  ════════════════════════════════════════════ */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.logo--small {
  margin-bottom: 0;
}

.logo__icon {
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

.logo__slogan {
  font-size: 0.7rem;
  font-weight: 500;
  color: #4f46e5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
     HERO SECTION
  ════════════════════════════════════════════ */
.hero {
  background: #ffffff;
  padding: 60px 0 80px;
  border-bottom: 1px solid #e5e7eb;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}

.hero__content {
  width: 100%;
}

.hero__badge {
  display: inline-block;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero__headline {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.highlight {
  color: #4f46e5;
}

.hero__subheadline {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero__benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════
     FORM CARD
  ════════════════════════════════════════════ */
.hero__form-wrapper {
  width: 100%;
}

.form-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  width: 100%;
}

.form-card__header {
  margin-bottom: 24px;
}

.form-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.form-card__subtitle {
  font-size: 0.85rem;
  color: #6b7280;
}

/* ═══════════════════════════════════════════
     FORM ELEMENTS
  ════════════════════════════════════════════ */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.required {
  color: #ef4444;
}

.optional {
  font-weight: 400;
  color: #9ca3af;
  font-size: 0.8rem;
}

.form__input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
  appearance: none;
  outline: none;
}

.form__input::placeholder {
  color: #9ca3af;
}

.form__input:focus {
  border-color: #4f46e5;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form__input.has-error {
  border-color: #ef4444;
  background: #fff5f5;
}

.form__input.has-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.form__hint {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.form__error {
  font-size: 0.78rem;
  color: #ef4444;
  font-weight: 500;
  min-height: 16px;
  display: block;
}

.form__char-count {
  font-size: 0.75rem;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
}

.form__char-count.reached {
  color: #10b981;
  font-weight: 600;
}

.form__privacy {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
     BUTTON
  ════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: #4f46e5;
  color: #ffffff;
  padding: 13px 24px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn--primary:hover:not(:disabled) {
  background: #4338ca;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
  transform: translateY(-1px);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.btn--primary:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

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

.btn--large {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn__loading {
  display: none;
  align-items: center;
  gap: 10px;
}

.btn.loading .btn__text {
  display: none;
}

.btn.loading .btn__loading {
  display: flex;
}

/* ═══════════════════════════════════════════
     SPINNER
  ════════════════════════════════════════════ */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

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

/* ═══════════════════════════════════════════
     SUCCESS STATE
  ════════════════════════════════════════════ */
.success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
  animation: fadeInUp 0.4s ease;
}

.success-state.visible {
  display: flex;
}

.success-state__icon {
  margin-bottom: 20px;
}

.success-state__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.4;
}

.success-state__message {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 340px;
}

.success-state__badge {
  background: #d1fae5;
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
}

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

/* ═══════════════════════════════════════════
     SECTIONS
  ════════════════════════════════════════════ */
.section {
  padding: 72px 0;
  background: #f9fafb;
}

.section--light {
  background: #ffffff;
}

.section__header {
  text-align: center;
  margin-bottom: 52px;
}

.section__title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section__subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
     BENEFITS GRID
  ════════════════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.benefit-card__icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.benefit-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.benefit-card__text {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
     STEPS
  ════════════════════════════════════════════ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #4f46e5;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.step__content {
  padding-top: 8px;
  padding-bottom: 32px;
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.step__text {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.7;
}

.step__connector {
  width: 2px;
  height: 24px;
  background: #e5e7eb;
  margin-left: 21px;
}

/* ═══════════════════════════════════════════
     DELIVERABLES GRID
  ════════════════════════════════════════════ */
.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.deliverable-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.deliverable-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.08);
}

.deliverable-card__number {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: #4f46e5;
  background: #eef2ff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.deliverable-card__content {
  flex: 1;
}

.deliverable-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.deliverable-card__text {
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 10px;
}

.deliverable-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #4f46e5;
  background: #eef2ff;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════
     CTA SECTION
  ════════════════════════════════════════════ */
.section--cta {
  background: #4f46e5;
  padding: 80px 0;
}

.cta-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-block__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cta-block__subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 420px;
  line-height: 1.7;
}

.section--cta .btn--primary {
  background: #ffffff;
  color: #4f46e5;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.section--cta .btn--primary:hover {
  background: #f5f3ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.cta-block__note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
     FOOTER
  ════════════════════════════════════════════ */
.footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__copy {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* ═══════════════════════════════════════════
     RESPONSIVE — TABLET (≥ 640px)
  ════════════════════════════════════════════ */
@media (min-width: 640px) {
  .form__row {
    flex-direction: row;
    gap: 16px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__headline {
    font-size: 2.4rem;
  }

  .form-card {
    padding: 40px 36px;
  }
}

/* ═══════════════════════════════════════════
     RESPONSIVE — DESKTOP (≥ 960px)
  ════════════════════════════════════════════ */
@media (min-width: 960px) {
  .hero {
    padding: 80px 0 100px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }

  .hero__content {
    flex: 1;
    max-width: 480px;
  }

  .hero__form-wrapper {
    flex: 1;
    max-width: 500px;
  }

  .hero__headline {
    font-size: 2.7rem;
  }

  .hero__subheadline {
    font-size: 1.05rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .deliverables-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section__title {
    font-size: 2rem;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
