﻿:root {
  --bg: #eaf1fb;
  --bg-2: #deebfa;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --line: rgba(96, 142, 213, 0.32);
  --line-soft: rgba(76, 120, 199, 0.2);
  --text: #152742;
  --muted: #4f6790;
  --accent: #3f78e0;
  --accent-strong: #2e66cb;
  --accent-soft: rgba(63, 120, 224, 0.13);
  --radius: 22px;
  --shadow: 0 18px 42px rgba(50, 95, 170, 0.16);
  --font-body: "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --font-head: "Verdana", "Bahnschrift", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: linear-gradient(168deg, var(--bg) 0%, var(--bg-2) 52%, #d7e7fb 100%);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  position: relative;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(920px 480px at -8% -5%, rgba(74, 130, 214, 0.24), transparent 70%),
    radial-gradient(760px 420px at 105% 10%, rgba(124, 168, 234, 0.24), transparent 72%),
    radial-gradient(760px 420px at 35% 120%, rgba(102, 148, 224, 0.18), transparent 72%);
}

.container {
  width: min(1220px, 94vw);
  margin: 20px auto 34px;
  position: relative;
  z-index: 1;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(245, 250, 255, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  position: sticky;
  top: 10px;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(229, 184, 48, 0.4));
}

.brand-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: #3f5f90;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  transition: 0.18s ease;
}

.menu a:hover {
  color: var(--text);
  border-color: var(--line-soft);
  background: var(--accent-soft);
}

.btn {
  border: 1px solid rgba(79, 123, 197, 0.34);
  border-radius: 14px;
  min-height: 42px;
  padding: 0 16px;
  background: linear-gradient(160deg, #f8fbff, #e9f2ff);
  color: #1c355f;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 123, 197, 0.52);
}

.btn-primary {
  color: #ffffff;
  border-color: #5f95e0;
  background: linear-gradient(110deg, #4c86e0 0%, #2f69cb 70%, #275db9 100%);
  box-shadow: 0 10px 20px rgba(63, 120, 224, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.hero {
  margin-top: 14px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 167, 236, 0.38), transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -130px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 146, 220, 0.3), transparent 72%);
}

.hero-copy,
.hero-image-wrap {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  margin: 0 0 10px;
  color: #4a6a96;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.hero-text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.33;
}

.feature-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tags span {
  border: 1px solid var(--line-soft);
  background: rgba(230, 240, 255, 0.95);
  color: #3f5f90;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-image-wrap {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fbff 0%, #e8f1ff 100%);
  min-height: 400px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-image {
  width: min(430px, 90%);
  height: auto;
  animation: floaty 5.4s ease-in-out infinite;
}

.section {
  margin-top: 20px;
}

.section h2 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: 0.01em;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.how-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  padding: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 23px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.price-card {
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.price-name {
  color: #335582;
  font-size: 16px;
  font-weight: 800;
}

.price-value {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.price-meta {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.featured {
  border-color: rgba(72, 131, 218, 0.56);
  background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
}

.code {
  margin-top: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(246, 251, 255, 0.95);
  padding: 10px 12px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
  color: #1e3258;
  word-break: break-word;
}

.location-chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 138px;
  overflow: auto;
  padding-right: 4px;
}

.chip {
  border: 1px solid var(--line-soft);
  background: rgba(244, 248, 255, 0.95);
  color: #2b5db0;
  border-radius: 11px;
  min-height: 36px;
  padding: 6px 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.chip:hover {
  border-color: rgba(103, 151, 222, 0.5);
  transform: translateY(-1px);
}

.chip.active {
  color: #ffffff;
  border-color: #5f95e0;
  background: linear-gradient(110deg, #4c86e0 0%, #2f69cb 70%, #275db9 100%);
}

.faq-item {
  padding: 14px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::before {
  transform: rotate(90deg);
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.footer {
  margin-top: 20px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.footer-left {
  display: grid;
  gap: 4px;
}

.footer-left strong {
  font-family: var(--font-head);
  font-size: 17px;
}

.footer-left span {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #345e96;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #244777;
}

@media (max-width: 1160px) {
  .prices-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(1220px, 96vw);
    margin-top: 10px;
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    position: static;
  }

  .menu {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .hero-image-wrap {
    min-height: 250px;
  }

  .hero-image {
    width: min(290px, 84%);
  }

  .benefits-grid,
  .how-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .prices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(26px, 11vw, 44px);
  }

  .section h2 {
    font-size: clamp(24px, 8.2vw, 36px);
  }

  .prices-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}
