:root {
  --bg: #0b1020;
  --surface: #111932;
  --text: #f3f5fb;
  --muted: #a9b2d0;
  --primary: #4d8dff;
  --primary-2: #6aa8ff;
  --line: #2a355d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #070b17, #0d1430 35%, #0a1328);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: start;
}

.badge {
  display: inline-block;
  background: rgba(77, 141, 255, 0.16);
  color: #b9d3ff;
  border: 1px solid rgba(77, 141, 255, 0.55);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(1.8rem, 3.7vw, 3rem);
  margin: 14px 0 10px;
}

.hero-copy {
  color: var(--muted);
  max-width: 65ch;
}

.benefits {
  padding-left: 18px;
  color: #ced6ee;
}

.card {
  background: rgba(17, 25, 50, 0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.32);
}

form {
  display: grid;
  gap: 10px;
}

label {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #334271;
  border-radius: 8px;
  background: #0f1836;
  color: #e9edff;
  padding: 10px 11px;
}

button {
  margin-top: 4px;
  border: none;
  border-radius: 8px;
  padding: 11px 14px;
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  color: white;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.small {
  color: var(--muted);
  font-size: 0.85rem;
}

.sections {
  padding: 14px 0 44px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature {
  background: rgba(14, 24, 49, 0.9);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.steps {
  color: #d5ddf2;
}

.footer {
  border-top: 1px solid rgba(133, 151, 203, 0.25);
  padding: 20px 0;
  color: #9ca6c9;
  font-size: 0.9rem;
}

.status-success {
  color: #8ef5b4;
}

.status-error {
  color: #ff9ea4;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }
}

.section-label {
  margin-top: 4px;
  color: #cbd6f4;
  font-weight: 600;
  font-size: 0.92rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service-grid-input {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
}

.service-card {
  margin-top: 0 !important;
  border: 1px solid #334271;
  background: rgba(15, 24, 54, 0.75) !important;
  box-shadow: none !important;
  color: #e9edff;
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 120ms ease, transform 120ms ease;
}

.service-card:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 141, 255, 0.9);
}

.service-card.active {
  border-color: rgba(77, 141, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(77, 141, 255, 0.25);
}

@media (max-width: 520px) {
  .service-grid-input {
    grid-template-columns: 1fr;
  }
}
