:root {
  --bg: #0b1020;
  --surface: #111834;
  --text: #e8edff;
  --muted: #a8b2d8;
  --line: #24305e;
  --brand: #3dd9a1;
  --brand-2: #0fb881;
  --warn: #ff6b6b;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(1200px 700px at 70% -20%, #1d2b59 0%, var(--bg) 55%);
  color: var(--text);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.nav {
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}
.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--brand); }
.logo-img {
  width: 188px;
  height: auto;
  display: block;
}
.nav-actions { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--text);
  background: #151d3f;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { border-color: #3550a7; }
.btn-primary {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #04190f;
  border-color: transparent;
}

.hero { padding: 80px 0 50px; }
.hero h1 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.05;
  margin: 0 0 20px;
}
.hero p {
  color: var(--muted);
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0;
}
.card {
  border: 1px solid var(--line);
  background: rgba(17, 24, 52, 0.8);
  border-radius: 14px;
  padding: 18px;
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); }

.page { padding: 30px 0 60px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(17, 24, 52, 0.85);
  padding: 20px;
}
.form h2 { margin-top: 0; }
.form label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 600;
  color: #cfd8ff;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #2f3d75;
  border-radius: 10px;
  padding: 11px;
  background: #0f1631;
  color: var(--text);
}
.form textarea { min-height: 110px; }
.error {
  background: rgba(255, 107, 107, 0.16);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ffc4c4;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
.table th,
.table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 11px;
}
.table th { color: #bbcafb; }
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #183f35;
  color: #95ffdb;
  font-size: 12px;
}
.badge-warn {
  background: #4b2a2a;
  color: #ffb5b5;
}

.muted { color: var(--muted); }

.pricing-wrap { margin-top: 26px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.price-card {
  border: 1px solid #2a3a73;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15,25,54,0.95) 0%, rgba(13,22,46,0.95) 100%);
  padding: 18px;
}
.price-card h3 {
  margin: 8px 0 2px;
  font-size: 34px;
  color: #2aa4ff;
  line-height: 1;
}
.price-card h4 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.08;
}
.price-kicker {
  color: #2ff3cf;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
}
.price-note { color: var(--muted); margin: 0 0 14px; }
.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.price-list li {
  border-top: 1px solid rgba(130, 154, 228, 0.18);
  padding: 10px 0;
  color: #cdd8ff;
}
.price-list li:first-child { border-top: 0; }
.price-list .off { color: #7e8bb4; }
.price-action { margin-top: 14px; width: 100%; text-align: center; }
.price-popular {
  border-color: #1f89e9;
  box-shadow: 0 12px 30px rgba(18, 78, 175, 0.25);
}
.price-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #032133;
  background: linear-gradient(90deg, #28a8ff 0%, #0fe6ba 100%);
  border-radius: 999px;
  padding: 6px 12px;
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
