:root {
  --bg: #050916;
  --surface: rgba(7, 16, 35, 0.96);
  --surface-soft: rgba(19, 36, 70, 0.92);
  --text: #f4f7ff;
  --muted: #99a7c7;
  --primary: #5d87ff;
  --primary-soft: rgba(93, 135, 255, 0.16);
  --success: #4ade80;
  --danger: #fb7185;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(93, 135, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #050916 0%, #081224 100%);
  color: var(--text);
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(93, 135, 255, 0.16);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.subtitle {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.75;
}

p {
  margin: 0.9rem 0;
  line-height: 1.75;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  margin: 1.5rem 0;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.hero-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(93, 135, 255, 0.16), rgba(8, 15, 32, 0.95));
  border: 1px solid rgba(93, 135, 255, 0.2);
}

.hero-copy h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .trust-note {
  color: var(--text);
  opacity: 0.8;
  font-size: 0.95rem;
}

.hero-stats {
  display: grid;
  gap: 1rem;
}

.stat-card {
  background: rgba(10, 17, 34, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem 1.4rem;
  text-align: center;
}

.stat-card span {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
}

.info-box h3 {
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
}

.info-box p {
  color: var(--muted);
}

.form-card label {
  margin-top: 1rem;
}

input,
select {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  margin-top: 0.5rem;
}

select {
  appearance: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #7aa2ff);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(93, 135, 255, 0.25);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.card:last-of-type {
  margin-bottom: 0;
}

.message {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.message.success {
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.message.error {
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.user-card {
  background: rgba(7, 15, 29, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.user-card code {
  display: block;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  overflow-wrap: anywhere;
}

.contact-card {
  background: linear-gradient(135deg, rgba(93, 135, 255, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(93, 135, 255, 0.18);
}

.contact-card h2 {
  margin-bottom: 0.75rem;
}

.contact-line {
  margin: 0.75rem 0 0;
  color: var(--text);
}

.contact-line a {
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
  }
}
