* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #0f172a;
  --primary-hover: #020617;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(17, 24, 39, 0.08);
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f4f6 100%);
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 780px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px;
}

.badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}

.intro {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.form,
.lead-form {
  width: 100%;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

input,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
select:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
  transform: translateY(-1px);
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 15px 18px;
  background: var(--primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.result {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid #dbe3ee;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
}

.hidden {
  display: none;
}

.result-label {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
}

.result-amount {
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

.result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 16px;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.stat-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.stat-value {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.result-text {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.result-legal {
  margin: 0 0 22px;
  font-size: 13px;
  color: #64748b;
}

.success-message {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #cfe3d3;
  border-radius: 14px;
  background: #f3fbf5;
  color: #1f5130;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.demo-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.bottom-note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.bottom-note p {
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.7;
  font-size: 15px;
}

.bottom-link a {
  display: inline-block;
  margin-bottom: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
}

.bottom-link a:hover {
  background: #020617;
  transform: translateY(-1px);
}

.bottom-url a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}

.bottom-url a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .card {
    padding: 22px;
  }

  .grid,
  .result-stats {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  h1 {
    font-size: 32px;
  }

  .result {
    padding: 22px;
  }

  .result-amount {
    font-size: 42px;
  }

  .stat-value {
    font-size: 20px;
  }

  .trust-row {
    gap: 8px;
  }

  .trust-item {
    font-size: 12px;
    padding: 9px 12px;
  }
}