:root {
  --bg: #0a0f1f;
  --bg-soft: #111a36;
  --card: rgba(16, 24, 51, 0.68);
  --card-border: rgba(255, 255, 255, 0.14);
  --text: #edf1ff;
  --muted: #9fb0de;
  --accent: #6d7dff;
  --accent-2: #17c8ff;
  --danger: #ff6f91;
  --ok: #38d39f;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: min(1160px, 92vw);
  --font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #1d2d63 0%, var(--bg) 32%, #070b17 100%);
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  z-index: -1;
  animation: float 12s ease-in-out infinite;
}

body::before {
  background: #4458ff;
  top: -120px;
  left: -90px;
}

body::after {
  background: #00a0d6;
  right: -120px;
  bottom: -100px;
  animation-delay: -5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(20px) scale(1.08);
  }
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 22, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  background: rgba(109, 125, 255, 0.16);
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.lang-switch button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  padding: 8px 10px;
  cursor: pointer;
}

main {
  padding: 48px 0 56px;
}

.hero-stage {
  position: relative;
  min-height: min(78vh, 760px);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(7, 11, 22, 0.78) 0%, rgba(7, 11, 22, 0.45) 48%, rgba(7, 11, 22, 0.62) 100%),
    linear-gradient(to top, rgba(4, 7, 16, 0.68) 0%, rgba(4, 7, 16, 0.1) 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: min(760px, 92%);
  padding: clamp(26px, 5vw, 54px);
  margin-top: clamp(40px, 15vh, 120px);
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #d6e1ff;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 700;
}

.hero-content p {
  max-width: 70ch;
  color: #d7e0ff;
}

.slider-controls {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slide-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 16, 32, 0.4);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.slide-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.2s ease;
}

.slide-dot.active {
  width: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 38px;
}

.panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 12px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.15;
}

h1 {
  font-size: clamp(30px, 4vw, 48px);
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.btn-soft {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--card-border);
}

.hero-media {
  overflow: hidden;
  min-height: 380px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transform: scale(1.01);
}

.grid {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 22px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  color: #bfcaff;
  background: rgba(109, 125, 255, 0.2);
  border: 1px solid rgba(109, 125, 255, 0.35);
  border-radius: 999px;
  padding: 4px 9px;
  margin-bottom: 10px;
}

.gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery figure:hover img {
  transform: scale(1.06);
}

.gallery figcaption {
  padding: 10px 12px 14px;
  color: #d2dbff;
}

.pricing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 24px;
}

.price {
  font-size: 34px;
  color: #fff;
  margin: 12px 0 4px;
  font-weight: 800;
}

.small-muted {
  color: #98a9d5;
  font-size: 13px;
}

ul.clean {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}

ul.clean li::before {
  content: "✓";
  color: var(--ok);
  margin-right: 8px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.info-item {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 14px;
  color: #c6d2ff;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(5, 8, 18, 0.62);
  color: #fff;
  padding: 11px 12px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(109, 125, 255, 0.5);
  outline-offset: 0;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.inline-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-code {
  user-select: none;
  letter-spacing: 3px;
  font-weight: 700;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 11px 12px;
  min-width: 120px;
  text-align: center;
}

.status {
  font-size: 14px;
  min-height: 22px;
}

.status.error {
  color: var(--danger);
}

.status.ok {
  color: var(--ok);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .cards-3,
  .pricing,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    margin-top: clamp(28px, 10vh, 84px);
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    position: relative;
  }

  .nav {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(330px, 84vw);
    background: rgba(6, 10, 20, 0.96);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 10px;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .header-inner {
    min-height: 66px;
  }

  .hero-stage {
    min-height: 66vh;
    border-radius: 22px;
  }

  .hero-content {
    max-width: 100%;
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .cards-3,
  .pricing,
  .gallery,
  .inline-2 {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .card,
  .price-card {
    padding: 20px;
  }

  .slider-controls {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .slide-nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  main {
    padding: 26px 0 34px;
  }

  .footer-inner {
    min-height: 62px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 8px 0;
  }
}
