:root {
  --bg: #070d1a;
  --soft: #f5f7fb;
  --primary: #215cff;
  --primary-dark: #103ccc;
  --text: #0f172a;
  --muted: #52607a;
  --line: #e7ebf2;
  --shadow: 0 16px 45px rgba(9, 20, 45, 0.12);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
}
.container { width: min(1100px, 92%); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(12px);
  background: rgba(6, 14, 27, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: .4px;
}
.hero {
  background:
    radial-gradient(circle at 10% 20%, rgba(89, 155, 255, .2), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(130, 242, 255, .18), transparent 24%),
    linear-gradient(170deg, #071225 0%, #10264b 60%, #0b1b36 100%);
  color: #fff;
  padding: 72px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
.hero-media {
  padding: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.hero img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
}
h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.15; margin: 12px 0 14px; letter-spacing: -.4px; }
h1 span { color: #5ec8ff; }
h2 { font-size: clamp(25px, 3.8vw, 36px); margin-top: 0; line-height: 1.2; letter-spacing: -.2px; }
.badge {
  background: rgba(255,255,255,.12);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 700;
}
.price-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 18px;
  margin: 20px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.price-card h2 { margin: 2px 0; color: #9bffca; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-points span {
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 6px 10px;
}
.btn {
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(32, 91, 255, .32);
}
.btn-outline { background: transparent; color: #fff; border: 1px solid #a8cfff; }
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 10px; }
.section { padding: 74px 0; }
.section-soft { background: var(--soft); }
.sub { max-width: 760px; margin-top: -4px; color: var(--muted); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.stat-card strong { display: block; font-size: 26px; line-height: 1.1; }
.stat-card span { color: var(--muted); font-size: 14px; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card, .service-group {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3, .service-group h3 {
  margin-top: 0;
  margin-bottom: 8px;
  letter-spacing: -.2px;
}
.services-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-group ul { margin: 0; padding-left: 18px; color: #283349; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(9, 18, 35, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(9, 18, 35, .18);
}
.steps {
  padding-left: 18px;
  max-width: 820px;
}
.steps li { margin-bottom: 8px; }
.form {
  display: grid;
  gap: 11px;
  max-width: 680px;
}
input, textarea {
  width: 100%;
  border: 1px solid #d5dce8;
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #8baaff;
  box-shadow: 0 0 0 4px rgba(88, 128, 255, .12);
}
textarea { min-height: 96px; resize: vertical; }
.result { margin-top: 10px; font-weight: 600; }
.footer {
  background: #070d1a;
  color: #dce6f8;
  text-align: center;
  padding: 24px 0;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 18, .68);
  display: none;
  place-items: center;
  z-index: 200;
}
.modal.show { display: grid; }
.modal-content {
  background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
  width: min(640px, 92%);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(6, 18, 45, .25);
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}
.payment-actions { margin-top: 14px; }
.hidden { display: none; }
.status-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.status-wrap p { margin: 6px 0; }
.pay-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
}
.pay-paid {
  background: #e8fff1;
  color: #146638;
  border: 1px solid #9be2b8;
}
.pay-pending {
  background: #fff7e8;
  color: #8a5b00;
  border: 1px solid #f4cc8b;
}
.pay-failed {
  background: #ffeef0;
  color: #9b1c2a;
  border: 1px solid #f3a7b0;
}
.status-message {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

@media (max-width: 980px) {
  .hero-grid, .gallery-grid, .grid-3, .services-wrap, .stats-grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .hero { padding: 54px 0; }
  .topbar-inner { padding: 8px 0; }
}
