:root {
  --bg: #020617;
  --panel: #0b0f19;
  --panel-soft: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --accent: #799afd;
  --accent-light: #7ea0ff;
  --accent-dark: #4c64f0;
  --max: 1248px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(23, 52, 88, 0.95) 0, rgba(7, 17, 31, 0.88) 32%, transparent 58%),
    radial-gradient(ellipse at 72% 28%, rgba(88, 120, 255, 0.12), transparent 34rem),
    radial-gradient(ellipse at 76% 56%, rgba(120, 140, 255, 0.1), transparent 36rem),
    linear-gradient(235deg, rgba(60, 80, 255, 0.04), transparent 60%),
    var(--bg);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.38;
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 5vw, 55px);
  line-height: 1.09;
  font-weight: 700;
}

h2 {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.16;
  font-weight: 700;
}

h3 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
}

main {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 180px 0 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 40px;
  left: 0;
  width: 100%;
  padding: 0 24px;
}

.nav-shell {
  width: min(844px, 100%);
  height: 80px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  font-size: 20px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-weight: 600;
  font-size: 16px;
}

.nav-links a {
  white-space: nowrap;
}

.nav-links a:not(.button):hover,
.footer-links a:hover {
  color: var(--text);
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 20px;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(90deg, var(--accent-light), var(--accent-dark));
  box-shadow: 0 10px 30px rgba(76, 100, 240, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}

.button-nav {
  width: 136px;
}

.menu-toggle {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.logo-small {
  width: 65px;
  height: 42px;
}

.logo-large {
  width: 304px;
  height: 178px;
}

.logo-section {
  width: 86px;
  height: 50px;
}

.section-card,
.content-section,
.about,
.contact,
.cta-band,
.video-section {
  position: relative;
  border-radius: var(--radius);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-card {
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(155deg, rgba(88, 120, 255, 0.16), rgba(88, 120, 255, 0.06)),
    linear-gradient(189deg, rgba(120, 140, 255, 0.12), transparent 76%),
    var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 461px;
  gap: 64px;
  padding: 42px 40px 36px 64px;
  overflow: hidden;
}

.hero.section-card {
  background:
    linear-gradient(155deg, rgba(45, 82, 125, 0.2), rgba(31, 52, 88, 0.08)),
    linear-gradient(189deg, rgba(92, 128, 205, 0.1), transparent 76%),
    #0b101d;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.eyebrow,
.card-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 589px;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  gap: 23px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-actions .button {
  min-width: 190px;
}

.hero-actions.compact {
  justify-content: center;
  margin-top: 22px;
}

.hero-actions.compact .button {
  min-width: 120px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 619px;
}

.mini-card,
.glass-card,
.highlight-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(198deg, rgba(120, 140, 255, 0.16), rgba(120, 140, 255, 0) 82%),
    var(--panel-soft);
}

.mini-card {
  min-height: 113px;
  padding: 16px 23px;
}

.mini-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.mini-card p {
  color: var(--muted);
  font-size: 14px;
}

.flagship {
  position: relative;
  align-self: start;
  min-height: 485px;
}

.flagship::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 8%, rgba(66, 77, 215, 0.14), transparent 44%),
    radial-gradient(circle at 43% 50%, rgba(101, 133, 255, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 80px rgba(120, 140, 255, 0.25), 0 30px 120px rgba(0, 0, 0, 0.6);
}

.flagship-logo {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 28px;
  z-index: 1;
}

.flagship-logo .logo-large {
  transform: scale(1.18);
  transform-origin: center;
}

.flagship-card {
  position: relative;
  z-index: 1;
  margin: 30px 33px 0;
  padding: 20px;
}

.flagship-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.flagship-card p {
  font-size: 16px;
}

.hero-content-card {
  position: absolute;
  right: 73px;
  top: 545px;
  bottom: auto;
  z-index: 2;
  width: 395px;
  min-height: 115px;
  padding: 18px 24px;
}

.hero-content-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.hero-content-card p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.28;
}

.content-section {
  padding: 53px 0 0;
  margin-top: 0;
  min-height: 528px;
}

#services {
  padding: 60px 56px 56px;
}

.section-title {
  display: flex;
  gap: 29px;
  align-items: center;
}

.section-title.with-logo h2 {
  flex: 1;
}

.section-lead {
  max-width: 791px;
  margin-top: 20px;
}

.cards {
  display: grid;
  gap: 54px;
  margin-top: 48px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.glass-card {
  min-height: 206px;
  padding: 24px;
}

.glass-card .card-label {
  margin-bottom: 6px;
}

.glass-card h3 {
  margin-bottom: 22px;
}

.glass-card p:not(.card-label) {
  color: var(--text);
}

.split-card {
  min-height: 278px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 446px;
  gap: 48px;
  align-items: center;
  padding: 24px;
  margin: 0 0 0;
}

.split-card h2 {
  max-width: 632px;
  margin-bottom: 16px;
}

.split-card p {
  max-width: 720px;
}

.highlight-card {
  max-width: 720px;
  margin-top: 22px;
  padding: 30px;
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 600;
}

.pill-list {
  display: grid;
  gap: 22px;
}

.pill-list span {
  min-height: 59px;
  display: flex;
  align-items: center;
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.video-section {
  display: flex;
  justify-content: center;
  padding: 70px 0;
}

.video-frame {
  width: min(640px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(120, 140, 255, 0.15), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    #090d18;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.cta-band {
  margin: 0;
  padding: 48px 24px;
  text-align: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(120, 140, 255, 0.12), transparent 70%),
    #0b0f19;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.cta-band p {
  max-width: 734px;
  margin: 18px auto 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 461px;
  gap: 64px;
  padding: 0 64px 0;
  margin-top: 0;
}

.about-copy {
  padding-top: 43px;
}

.about-copy h2 {
  max-width: 589px;
  margin: 24px 0 16px;
  font-size: clamp(42px, 5vw, 55px);
  line-height: 1.09;
}

.about-copy p:not(.eyebrow) {
  max-width: 589px;
  margin-top: 20px;
}

.about-visual {
  min-height: 490px;
  margin-top: 24px;
}

.about-visual::before {
  bottom: 0;
}

.about-visual .flagship-card {
  margin-top: 30px;
}

.about-visual .flagship-logo {
  padding-top: 34px;
}

.about-cards {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-bottom: 0;
}

.contact {
  min-height: 645px;
  padding: 24px 0 45px;
}

.contact .section-title {
  align-items: flex-start;
}

.contact .section-lead {
  max-width: 751px;
}

.contact-form {
  margin-top: 56px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 100px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(88, 120, 255, 0.16), rgba(88, 120, 255, 0.06)),
    linear-gradient(189deg, rgba(120, 140, 255, 0.12), transparent 76%),
    var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

label {
  display: grid;
  gap: 8px;
}

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

label span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  padding: 12px 22px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 164px;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus {
  border-color: rgba(126, 160, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(126, 160, 255, 0.16);
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-weight: 600;
}

.form-status.success {
  color: #9fb6ff;
}

.form-status.error {
  color: #ffb4b4;
}

.site-footer {
  width: 100%;
  margin-top: 0;
  padding: 54px max(24px, calc((100vw - var(--max)) / 2)) 36px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 12% 44%, rgba(180, 176, 176, 0.16), transparent 24rem),
    linear-gradient(246deg, rgba(102, 102, 102, 0.16), rgba(25, 25, 25, 0.2)),
    #101010;
}

.footer-brand {
  display: flex;
  gap: 16px;
  max-width: 520px;
}

.footer-brand strong,
.footer-links strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 20px;
}

.footer-brand p {
  max-width: 340px;
  font-size: 16px;
}

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

.footer-links a {
  display: block;
  margin-top: 8px;
  color: rgba(184, 184, 184, 0.85);
  font-weight: 600;
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 50;
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(120, 140, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(11, 15, 25, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-copy {
  min-width: 0;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 18px;
}

.cookie-copy p {
  max-width: 640px;
  font-size: 14px;
}

.cookie-copy a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

@media (max-width: 1120px) {
  .nav-shell {
    width: min(720px, 100%);
  }

  .nav-links {
    gap: 16px;
  }

  .hero,
  .about,
  .split-card {
    grid-template-columns: 1fr;
  }

  .flagship,
  .about-visual {
    min-height: auto;
    padding-bottom: 34px;
  }

  .flagship::before {
    bottom: 0;
  }

  .hero-content-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 24px 33px 0;
  }

  .cards.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  main {
    width: min(100% - 32px, var(--max));
    padding-top: 124px;
  }

  .site-header {
    top: 16px;
    padding: 0 16px;
  }

  .nav-shell {
    height: auto;
    min-height: 72px;
    align-items: center;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    margin-left: auto;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
  }

  .menu-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    background: var(--text);
  }

  .nav-links {
    position: fixed;
    inset: 96px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(8, 12, 22, 0.96);
    backdrop-filter: blur(18px);
  }

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

  .button-nav {
    width: 100%;
  }

  .hero,
  .about {
    padding: 32px 20px;
  }

  .metric-grid,
  .cards.three,
  .cards.four,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .cards,
  .cards.four {
    gap: 18px;
  }

  .section-title {
    align-items: flex-start;
    gap: 18px;
  }

  .logo-section {
    width: 58px;
    height: 38px;
  }

  .content-section {
    min-height: auto;
    padding-top: 56px;
  }

  #services {
    padding: 36px 20px;
  }

  .split-card {
    padding: 24px 20px;
    gap: 28px;
  }

  .highlight-card {
    font-size: 20px;
  }

  .contact-form {
    gap: 18px;
  }

  .site-footer,
  .footer-links,
  .cookie-banner {
    flex-direction: column;
  }

  .footer-links {
    gap: 24px;
  }

  .cookie-banner {
    align-items: stretch;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 18px;
  }

  .cookie-actions {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1,
  .about-copy h2 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .brand {
    gap: 14px;
  }

  .logo-small {
    width: 48px;
    height: 31px;
  }

  .logo-large {
    width: 210px;
    height: 136px;
  }

  .flagship-card {
    margin-left: 18px;
    margin-right: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-title.with-logo {
    display: block;
  }

  .section-title.with-logo .logo-img {
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
