@font-face {
  font-family: 'Nunito Sans';
  src:
    url('fonts/NunitoSans-Regular.woff2') format('woff2'),
    url('fonts/NunitoSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src:
    url('fonts/NunitoSans-SemiBold.woff2') format('woff2'),
    url('fonts/NunitoSans-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src:
    url('fonts/NunitoSans-Bold.woff2') format('woff2'),
    url('fonts/NunitoSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src:
    url('fonts/NunitoSans-ExtraBold.woff2') format('woff2'),
    url('fonts/NunitoSans-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070a15;
  --surface: #11152b;
  --text: #eef3ff;
  --muted: #b4bfd5;
  --line: #293052;
  --brand-primary: #fe3336;
  --brand-accent: #40e0e8;
  --brand-dark: #333e4a;
  --ink: #0f1120;
}

body {
  font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 10% 0%, #1b2450 0%, #070a15 55%);
  color: var(--text);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
}

p {
  margin: 0;
  line-height: 1.58;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #40e0e8;
  border-bottom: 1px solid rgba(51, 62, 74, 0.3);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo img {
  width: clamp(140px, 18vw, 210px);
  height: auto;
}

.logo span {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1e2b3a;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-link {
  color: #243446;
  font-weight: 700;
}

.menu-button {
  margin-left: auto;
  border-radius: 11px;
  border: 1px solid rgba(36, 52, 70, 0.35);
  padding: 0.45rem 0.85rem;
  color: #1e2b3a;
  background: rgba(255, 255, 255, 0.2);
}

.header .button-main {
  box-shadow: none;
}

.button-main {
  background: linear-gradient(130deg, var(--brand-primary), #ff6668);
  color: #fff;
  box-shadow: 0 14px 26px rgba(254, 51, 54, 0.35);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  background: var(--brand-primary);
  color: #ffffff;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: clamp(580px, 78vh, 760px);
  display: flex;
  align-items: stretch;
}

.hero-art,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-art img,
.hero-art video {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) saturate(1.1);
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(95deg, rgba(7, 10, 21, 0.95), rgba(7, 10, 21, 0.76) 45%, rgba(7, 10, 21, 0.5)),
    linear-gradient(150deg, rgba(254, 51, 54, 0.2), rgba(64, 224, 232, 0.14) 42%, transparent 64%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.85fr;
  gap: 1rem;
  align-items: center;
  padding: 3rem 0;
}

.hero-text h1 {
  margin-top: 0.9rem;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 0.96;
  max-width: 17ch;
}

.hero-text p {
  margin-top: 1rem;
  max-width: 56ch;
}

.hero-text ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-text li {
  padding-left: 1.3rem;
  position: relative;
}

.hero-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--brand-accent);
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-form {
  background: rgba(10, 14, 30, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
}

.hero-form h2 {
  font-size: 1.55rem;
}

.hero-form p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.hero-form .lead-form {
  margin-top: 0.8rem;
}

.hero-form input,
.hero-form textarea {
  border-color: #3a4266;
  background: #090d1f;
  color: #fff;
}

.hero-form .form-consent {
  color: var(--muted);
}

.stripe {
  background: linear-gradient(100deg, var(--brand-primary), var(--brand-accent));
  color: #091122;
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
}

.offer-grid {
  margin-top: 1.2rem;
  grid-template-columns: 1fr 0.82fr 1fr;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
}

.panel h2 {
  font-size: 1.35rem;
}

.panel ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

.image-panel {
  padding: 0;
  overflow: hidden;
}

.image-panel img {
  height: 100%;
  object-fit: cover;
}

.robot {
  background: linear-gradient(145deg, rgba(64, 224, 232, 0.08), rgba(254, 51, 54, 0.06));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.robot-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.2rem;
  align-items: center;
}

.robot figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
}

.bullets {
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bullet {
  background: rgba(17, 21, 43, 0.62);
  border: 1px solid #2d355c;
}

.bullet h3 {
  font-size: 1.02rem;
}

.bullet p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.support-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.support-item {
  padding: 0.95rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.support-item span {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--brand-accent);
  font-weight: 800;
}

.support-item p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.gallery {
  background: rgba(255, 255, 255, 0.02);
}

.masonry {
  margin-top: 1rem;
  columns: 4 180px;
  column-gap: 0.65rem;
}

.masonry img {
  margin-bottom: 0.65rem;
  border-radius: 12px;
  break-inside: avoid;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
}

.faq-trigger {
  color: #fff;
}

.lead {
  background: #0e132a;
  border-top: 1px solid var(--line);
}

.lead-inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.lead input,
.lead textarea {
  border-color: #30375e;
  background: #0a1024;
  color: #fff;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.server-alert {
  margin-top: 0.85rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  font-weight: 700;
}

.server-alert-success {
  background: rgba(64, 224, 232, 0.2);
  color: #8ef6fb;
}

.server-alert-error {
  background: rgba(254, 51, 54, 0.2);
  color: #ff9da0;
}

.footer {
  background: #05070f;
  color: #cdd5eb;
}

.footer-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1160px) {
  .offer-grid,
  .bullets,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner,
  .robot-grid,
  .lead-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .floating-cta {
    left: 1rem;
    right: 1rem;
    justify-content: center;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .logo span {
    display: none;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    background: #0a1025;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem;
  }

  .nav.is-open {
    display: flex;
  }

  .stripe {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-grid,
  .bullets,
  .support-grid {
    grid-template-columns: 1fr;
  }
}
