:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-soft: #e8efff;
  --surface-muted: #d7e3ff;
  --primary: #4f72f2;
  --primary-dark: #1f56db;
  --accent: #10c9ef;
  --text: #17345f;
  --text-soft: #4b648d;
  --border: rgba(79, 114, 242, 0.14);
  --shadow: 0 20px 50px rgba(41, 83, 187, 0.14);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.feature-actions {
  text-align: center;
}

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

.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, #dbe5ff 0%, #edf3ff 100%);
}

.section-soft {
  background: #eef4ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(245, 248, 255, 0.82);
  border-bottom: 1px solid rgba(79, 114, 242, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 46px;
  height: 46px;
}

.brand-text {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding-top: 72px;
  background: linear-gradient(135deg, #5475ea 0%, #6b8cff 40%, #8fd7f8 100%);
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.hero .eyebrow,
.light {
  color: rgba(255, 255, 255, 0.85);
}

h1,
h2,
h3,
strong {
  letter-spacing: -0.03em;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.04;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.hero p,
.hero li,
.contact-section p,
.contact-section li {
  color: rgba(255, 255, 255, 0.88);
}

.lead {
  max-width: 700px;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: var(--primary-dark);
  background: #ffffff;
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-points,
.check-list,
.service-card ul,
.contact-card ul {
  margin: 0;
  padding-left: 20px;
}

.hero-points li,
.check-list li,
.service-card li,
.contact-card li {
  margin-bottom: 10px;
}

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

.hero-card,
.hero-panel,
.visual-window,
.service-card,
.about-box,
.contact-card,
.talent-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.main-orb {
  position: absolute;
  inset: 20px 60px 80px 30px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.12));
  opacity: 0.26;
}

.small-orb {
  position: absolute;
  width: 170px;
  height: 170px;
  right: 0;
  top: 18px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
  opacity: 0.8;
}

.network-panel {
  position: absolute;
  top: 70px;
  right: 40px;
  width: min(100%, 440px);
  height: 280px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.network-panel::before,
.network-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 0 47%, rgba(79, 114, 242, 0.24) 48%, transparent 49%),
    linear-gradient(20deg, transparent 0 42%, rgba(16, 201, 239, 0.22) 43%, transparent 44%);
}

.network-panel span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.network-panel span:nth-child(1) { top: 42px; left: 58px; }
.network-panel span:nth-child(2) { top: 76px; right: 100px; }
.network-panel span:nth-child(3) { bottom: 68px; left: 110px; }
.network-panel span:nth-child(4) { bottom: 42px; right: 58px; }
.network-panel span:nth-child(5) { top: 138px; left: 214px; }
.network-panel span:nth-child(6) { top: 40px; right: 42px; }

.stats-panel {
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 320px;
  background: rgba(13, 45, 115, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 26px;
}

.stats-panel strong,
.contact-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.stats-panel > div + div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #dbe9ff, #f1f6ff);
  color: var(--primary-dark);
  font-weight: 800;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-block.reverse {
  direction: rtl;
}

.split-block.reverse > * {
  direction: ltr;
}

.visual-card {
  display: flex;
  justify-content: center;
}

.visual-window {
  width: 100%;
  max-width: 500px;
  padding: 22px;
  background: linear-gradient(180deg, #f8fbff, #dce8ff);
  border: 1px solid var(--border);
}

.window-header {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.window-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(79, 114, 242, 0.42);
}

.window-body {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.code-line {
  height: 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #89dff8, #5678ef);
}

.code-line.wide { width: 92%; }
.code-line.medium { width: 68%; }
.code-line:not(.wide):not(.medium) { width: 78%; }

.code-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.code-grid div {
  height: 94px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(79, 114, 242, 0.18), rgba(16, 201, 239, 0.22));
}

.talent-visual {
  display: flex;
  justify-content: center;
}

.talent-card {
  width: 100%;
  max-width: 500px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #dfeaff);
  border: 1px solid var(--border);
}

.talent-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(79, 114, 242, 0.1);
  color: var(--primary-dark);
  font-weight: 700;
}

.talent-lines,
.talent-lines.short {
  height: 14px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(79, 114, 242, 0.24), rgba(16, 201, 239, 0.4));
}

.talent-lines.short {
  width: 62%;
}

.talent-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.talent-columns span {
  height: 160px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(84, 117, 234, 0.18), rgba(84, 117, 234, 0.48));
}

.about-box {
  padding: 44px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid var(--border);
  text-align: center;
}

.about-box > p {
  max-width: 900px;
  margin: 0 auto;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
  text-align: left;
}

.about-metrics div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
}

.about-metrics span {
  display: block;
  color: var(--text-soft);
}

.contact-section {
  background: linear-gradient(135deg, #5475ea 0%, #6b8cff 60%, #79b8ff 100%);
  color: #ffffff;
}

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

.contact-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card h3,
.contact-card p {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-block,
  .contact-grid,
  .services-grid,
  .about-metrics {
    grid-template-columns: 1fr;
  }

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

  .stats-panel {
    width: 280px;
  }

  .services-grid,
  .about-metrics {
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 74px 0;
  }

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

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    padding-top: 40px;
  }

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

  .network-panel {
    width: calc(100% - 20px);
    right: 10px;
    top: 50px;
  }

  .stats-panel {
    position: absolute;
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 0;
  }

  .about-box,
  .service-card,
  .contact-card,
  .talent-card,
  .visual-window {
    padding: 24px;
  }
}
