* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50: #eef4ff;
  --blue-100: #d9e5fb;
  --blue-400: #2f6de1;
  --blue-600: #12233f;
  --blue-800: #0f1727;
  --gray-25: #fffdf9;
  --gray-50: #f6f2eb;
  --gray-100: #e7ded2;
  --gray-200: #d8cdbd;
  --gray-400: #7c8392;
  --gray-600: #586073;
  --gray-900: #182033;
  --green-50: #eef8f0;
  --green-600: #28724d;
  --red-50: #fceeed;
  --red-600: #a94439;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 20px 46px rgba(17, 24, 39, 0.1);
  --border: 1px solid var(--gray-100);
  --bg-primary: rgba(255, 255, 255, 0.82);
  --bg-secondary: var(--gray-50);
}

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 109, 225, 0.1), transparent 26%),
    radial-gradient(circle at top right, rgba(201, 164, 104, 0.13), transparent 24%),
    linear-gradient(180deg, #fbf8f4 0%, #f3ede4 100%);
  color: var(--gray-900);
  line-height: 1.5;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 18px 48px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 16px;
  border-bottom: var(--border);
  flex-wrap: wrap;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-800);
  letter-spacing: -0.3px;
}

.nav-logo span { color: var(--blue-400); }

.nav-badge {
  font-size: 12px;
  background: linear-gradient(135deg, rgba(47, 109, 225, 0.08), rgba(201, 164, 104, 0.14));
  color: var(--blue-800);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 7px 13px;
}

.hero {
  padding: 52px 0 34px;
  border-bottom: var(--border);
  position: relative;
}

.hero-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blue-600);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 620px;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: normal;
  color: var(--blue-600);
}

.hero-sub {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-cta,
.account-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: 0 18px 30px rgba(18, 35, 63, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hero-cta:hover,
.account-link:hover {
  filter: saturate(1.03);
  transform: translateY(-1px);
  box-shadow: 0 22px 34px rgba(18, 35, 63, 0.22);
}

.hero-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-stat-val {
  font-size: 24px;
  font-weight: 700;
}

.hero-stat-lbl {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 3px;
}

.trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
  background: rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  padding: 8px 14px;
  border: var(--border);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.06);
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), #c9a468);
  flex-shrink: 0;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 32px 0 14px;
}

.examples {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ex-pill {
  font-size: 13px;
  color: var(--blue-800);
  background: linear-gradient(135deg, rgba(47, 109, 225, 0.08), rgba(201, 164, 104, 0.14));
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ex-pill:hover {
  background: rgba(47, 109, 225, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 12px 18px rgba(17, 24, 39, 0.08);
}

.form-card,
.confirm-card {
  background: var(--bg-primary);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  margin-top: 18px;
  backdrop-filter: blur(14px);
}

.form-header { margin-bottom: 26px; }

.partner-banner {
  display: none;
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(47, 109, 225, 0.09), rgba(201, 164, 104, 0.15));
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  color: var(--blue-800);
}

.partner-banner strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.form-header h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.form-header p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.form-section { margin-bottom: 22px; }

.form-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-600);
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: var(--border);
}

.form-grid {
  display: grid;
  gap: 14px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 12px;
  color: var(--gray-600);
}

.field input,
.field select,
.field textarea {
  font-size: 14px;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.84);
  color: var(--gray-900);
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input[readonly] {
  background: var(--gray-50);
  color: var(--gray-400);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 109, 225, 0.12);
}

.field .hint {
  font-size: 11px;
  color: var(--gray-600);
}

.phone-grid {
  display: grid;
  grid-template-columns: minmax(150px, 210px) 1fr;
  gap: 10px;
}

.required {
  color: var(--blue-400);
  margin-left: 2px;
}

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

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.consent-row input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--blue-600);
}

.consent-row span {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

.consent-legal {
  font-size: 11px;
  color: var(--gray-600);
  background: linear-gradient(135deg, rgba(47, 109, 225, 0.06), rgba(201, 164, 104, 0.12));
  border-radius: var(--radius-md);
  padding: 12px;
  border-left: 3px solid var(--blue-100);
  line-height: 1.6;
}

.form-error {
  display: none;
  background: var(--red-50);
  color: var(--red-600);
  border: 1px solid #f0cac4;
  border-radius: var(--radius-md);
  padding: 11px 12px;
  margin-top: 8px;
  font-size: 13px;
}

.submit-row,
.row-actions,
.confirm-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.submit-row {
  margin-top: 14px;
  padding-top: 18px;
  border-top: var(--border);
}

.submit-btn {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  min-width: 180px;
  box-shadow: 0 18px 30px rgba(18, 35, 63, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.submit-btn:hover {
  filter: saturate(1.03);
  transform: translateY(-1px);
  box-shadow: 0 22px 34px rgba(18, 35, 63, 0.22);
}
.submit-btn:disabled { opacity: 0.65; cursor: wait; }

.submit-note {
  font-size: 12px;
  color: var(--gray-600);
}

.account-secondary-link,
.confirm-link {
  font-size: 13px;
  color: var(--blue-600);
  text-decoration: none;
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.88);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.account-secondary-link:hover,
.confirm-link:hover {
  background: var(--blue-50);
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(17, 24, 39, 0.08);
}

.confirm-card {
  display: none;
  text-align: center;
}

.confirm-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-50);
  border: 1px solid #cae8da;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.confirm-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.confirm-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 20px;
}

.confirm-recap {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.9;
  max-width: 440px;
  margin: 0 auto 18px;
  border: var(--border);
}

.confirm-recap strong {
  color: var(--gray-900);
}

.hidden { display: none !important; }

@media (max-width: 700px) {
  .nav,
  .form-grid-2,
  .phone-grid,
  .submit-row {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

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