* {
  box-sizing: border-box;
}

:root {
  --bg-1: #050b1d;
  --bg-2: #0f1f4d;
  --text-main: #edf2ff;
  --text-soft: #c8d6ff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
  --accent-1: #7f91ff;
  --accent-2: #59e0ff;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top right, #2348a1, #14295f 34%, var(--bg-1) 75%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.bg-orb {
  position: fixed;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.orb-one {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  top: -120px;
  right: -100px;
  background: #7f91ff;
  animation: drift 12s ease-in-out infinite;
}

.orb-two {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  bottom: -130px;
  left: -120px;
  background: #4dd9ff;
  animation: drift 14s ease-in-out infinite reverse;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
}

.hero {
  padding: 84px 0 36px;
}

.badge {
  display: inline-block;
  background: rgba(127, 145, 255, 0.2);
  border: 1px solid rgba(177, 188, 255, 0.52);
  box-shadow: 0 0 20px rgba(120, 144, 255, 0.24);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 20px 0 14px;
  font-size: clamp(2.1rem, 4.5vw, 3.95rem);
  line-height: 1.08;
  max-width: 920px;
  letter-spacing: -0.5px;
  text-wrap: balance;
  text-shadow: 0 10px 35px rgba(16, 28, 63, 0.35);
}

.lead {
  margin: 0 0 24px;
  color: var(--text-soft);
  max-width: 820px;
  line-height: 1.7;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 16px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 28px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: #dce7ff;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 22px 0 10px;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 14px;
  padding: 15px 16px;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(4, 9, 24, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(89, 224, 255, 0.7);
  box-shadow: 0 14px 32px rgba(8, 18, 44, 0.45);
}

.service-icon {
  font-size: 1.15rem;
}

.section {
  padding: 18px 0 70px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(169, 187, 255, 0.33);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(7px);
  box-shadow: 0 20px 38px rgba(5, 10, 26, 0.34);
}

.panel h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.56rem;
}

.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.mini-card {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px;
}

.mini-card h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.mini-card p {
  margin: 0;
  color: #d4deff;
  font-size: 0.93rem;
  line-height: 1.5;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #6f81bd;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: #1b2240;
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

input:focus,
textarea:focus {
  border-color: #4c7cff;
  box-shadow: 0 0 0 3px rgba(76, 124, 255, 0.21);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.field {
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #0d1b3d;
  font-weight: 700;
  padding: 11px 18px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(67, 110, 251, 0.32);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(65, 110, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.09);
  color: #e0ebff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.btn-secondary:hover {
  box-shadow: none;
  border-color: rgba(89, 224, 255, 0.66);
}

.hint {
  color: #c4d1ff;
  font-size: 0.94rem;
}

.alert {
  margin-bottom: 16px;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
}

.alert.success {
  background: rgba(80, 212, 142, 0.2);
  border: 1px solid rgba(124, 231, 171, 0.65);
}

.alert.error {
  background: rgba(232, 90, 103, 0.16);
  border: 1px solid rgba(255, 142, 151, 0.68);
}

.admin-wrap {
  width: min(900px, 92%);
  margin: 42px auto;
  position: relative;
  z-index: 2;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(255, 255, 255, 0.12);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

a {
  color: #b3dcff;
}

@media (max-width: 850px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .mini-cards {
    grid-template-columns: 1fr;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, 22px);
  }
}
