:root {
  --bg: #07111f;
  --bg-soft: #0d1b2e;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.14);
  --text: #ecf4ff;
  --muted: #9eb1c9;
  --primary: #35d2ff;
  --primary-dark: #0aa7d8;
  --accent: #8b5cf6;
  --white: #ffffff;
  --dark: #07111f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 5%, rgba(53, 210, 255, 0.28), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(139, 92, 246, 0.28), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0b1629 44%, #0c1020 100%);
}

.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #00111a;
  box-shadow: 0 12px 28px rgba(53,210,255,0.26);
}

.logo-text {
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

.nav a:hover,
.footer-inner a:hover {
  color: var(--primary);
}

.header-btn {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-weight: 700;
}

.header-btn:hover {
  background: rgba(255,255,255,0.14);
}

.hero {
  padding: 86px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 54px;
  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(53,210,255,0.14);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hero-text,
.section-head p,
.section-text,
.benefit-item p,
.service-card p,
.timeline-item p,
.contact-info p,
.cta-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 650px;
  margin-bottom: 32px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
  color: #00111a;
  background: linear-gradient(135deg, var(--primary), #7dd3fc);
  box-shadow: 0 18px 40px rgba(53,210,255,0.24);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}

.btn-light {
  color: #07111f;
  background: var(--white);
}

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

.hero-points div {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
}

.hero-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1;
}

.hero-points span {
  color: var(--muted);
  font-size: 14px;
}

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

.hero-visual::before {
  content: '';
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(53,210,255,0.3), rgba(139,92,246,0.25));
  filter: blur(12px);
}

.phone-card {
  position: relative;
  width: min(360px, 84vw);
  min-height: 520px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 44px;
  background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.phone-card::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}

.phone-header {
  display: flex;
  gap: 7px;
  padding: 12px 8px 32px;
}

.phone-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.38);
}

.message-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.message {
  padding: 16px 18px;
  border-radius: 20px;
  font-size: 15px;
}

.message small {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,0.64);
  font-weight: 700;
}

.message.incoming {
  width: 88%;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.12);
}

.message.outgoing {
  align-self: flex-end;
  color: #00111a;
  background: linear-gradient(135deg, var(--primary), #cffafe);
  font-weight: 800;
}

.message.wide {
  width: 100%;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px;
  background: rgba(12, 25, 43, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 46px rgba(0,0,0,0.28);
}

.floating-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #00111a;
  background: var(--primary);
  font-weight: 900;
}

.card-one {
  left: 0;
  top: 110px;
}

.card-two {
  right: 0;
  bottom: 100px;
}

.section {
  padding: 76px 0;
}

.split-grid,
.benefits-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.section-text {
  font-size: 18px;
}

.section-text p:last-child,
.contact-info p:last-child {
  margin-bottom: 0;
}

.section-head {
  max-width: 640px;
}

.section-head.center {
  margin: 0 auto 38px;
  text-align: center;
}

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

.service-card,
.benefit-item,
.timeline-item,
.contact-form,
.contact-list a,
.contact-row {
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
}

.service-card {
  min-height: 245px;
  padding: 26px;
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53,210,255,0.34);
  background: rgba(255,255,255,0.11);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  color: #00111a;
  background: linear-gradient(135deg, var(--primary), #c4b5fd);
  font-weight: 900;
}

.benefits {
  position: relative;
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
}

.benefit-item > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  font-size: 24px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.chips span {
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: #d9e9ff;
  font-weight: 700;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-item {
  position: relative;
  min-height: 230px;
  padding: 26px;
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #00111a;
  background: var(--primary);
  font-weight: 900;
}

.cta-section {
  padding: 40px 0 76px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(53,210,255,0.94), rgba(139,92,246,0.96));
  box-shadow: 0 28px 80px rgba(53,210,255,0.18);
}

.cta-card .section-label,
.cta-card h2,
.cta-card p {
  color: #06101e;
}

.cta-card h2 {
  max-width: 780px;
  margin-bottom: 12px;
}

.cta-card p {
  margin-bottom: 0;
  font-weight: 600;
}

.contacts {
  padding-top: 48px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-list a,
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 20px;
}

.contact-list a:hover {
  border-color: rgba(53,210,255,0.34);
  background: rgba(255,255,255,0.11);
}

.contact-list span,
.contact-row span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(53,210,255,0.14);
  color: var(--primary);
}

.contact-list small,
.contact-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-form {
  padding: 30px;
  border-radius: 32px;
}

.contact-form label {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
  color: #dcecff;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  outline: none;
  border-radius: 16px;
  background: rgba(255,255,255,0.07);
  color: var(--text);
  padding: 15px 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(53,210,255,0.7);
  box-shadow: 0 0 0 4px rgba(53,210,255,0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(158,177,201,0.82);
}

.contact-form .btn {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(5, 12, 22, 0.64);
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

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

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

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 68px;
  }

  .header-btn {
    display: none;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 44px 0 38px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-points,
  .cards-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  .phone-card {
    min-height: 450px;
  }

  .floating-card {
    display: none;
  }

  .section {
    padding: 54px 0;
  }

  .service-card,
  .timeline-item {
    min-height: auto;
  }

  .benefit-item {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .contact-form {
    padding: 24px;
    border-radius: 26px;
  }

  .footer-inner {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
}

.lang-btn {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.lang-btn.active {
  color: #00111a;
  background: var(--primary);
  box-shadow: 0 10px 22px rgba(53,210,255,0.18);
}

@media (max-width: 640px) {
  .header-actions {
    gap: 8px;
  }

  .language-switcher {
    padding: 3px;
  }

  .lang-btn {
    min-width: 36px;
    height: 31px;
    font-size: 12px;
  }
}
