:root {
  --bg: #07111f;
  --bg-soft: #0d1a2d;
  --panel: rgba(9, 22, 40, 0.72);
  --panel-border: rgba(122, 190, 255, 0.24);
  --text: #eef6ff;
  --muted: #b0c7e2;
  --accent: #4ba5ff;
  --accent-strong: #1570d8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(75, 165, 255, 0.22), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(15, 130, 255, 0.25), transparent 22%),
    linear-gradient(135deg, #030813 0%, #081425 48%, #05111f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  position: sticky;
  top: 1px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 1px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(5, 12, 24, 0.68);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.brand {
  width: min(330px, 50vw);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a,
.lang-switch {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav a {
  padding: 10px 0;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-switch {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
}

.lang-divider {
  opacity: 0.45;
  margin: 0 3px;
}

.hero,
.services,
.contact-section {
  padding-top: 56px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: start;
  padding-top: 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #7fc3ff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Syne", sans-serif;
  letter-spacing: -0.04em;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
  max-width: 11ch;
}

.hero-text,
.section-text,
.service-card p,
.contact-panel p,
.panel-badge {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 62ch;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #72bbff 0%, #1570d8 100%);
  color: #f6fbff;
  box-shadow: 0 18px 34px rgba(21, 112, 216, 0.35);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-points li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #87cfff, #1570d8);
  box-shadow: 0 0 18px rgba(75, 165, 255, 0.8);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
}

.orb-one {
  width: 250px;
  height: 250px;
  top: 50px;
  right: 40px;
  background: rgba(66, 157, 255, 0.34);
}

.orb-two {
  width: 160px;
  height: 160px;
  bottom: 60px;
  left: 30px;
  background: rgba(0, 97, 194, 0.34);
}

.glass-card {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.main-card {
  position: relative;
  width: min(100%, 440px);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
}

.main-card img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 18px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-row div {
  padding: 16px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.metric-row strong,
.service-index {
  display: block;
  color: #8aceff;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.metric-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.contact-panel,
.contact-form {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.service-card h3,
.contact-panel h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.panel-label {
  margin: 0 0 10px;
  color: #7fc3ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.contact-mail {
  display: inline-block;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 24px;
}

.panel-block {
  margin-bottom: 24px;
}

.panel-badge {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form span {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 16px 18px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(118, 192, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  width: fit-content;
  border: none;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #8fd2ff;
}

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

@media (max-width: 980px) {
  .hero,
  .contact-layout,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    width: min(280px, 100%);
  }

  .nav {
    gap: 18px;
  }

  h1 {
    max-width: 100%;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .service-card,
  .contact-panel,
  .contact-form,
  .main-card {
    padding: 22px;
  }
}
