:root {
  --bg-dark: #0b1220;
  --bg-light: #f5f8ff;
  --panel-dark: #131f36;
  --panel-light: #ffffff;
  --text-dark: #091024;
  --text-light: #eef2ff;
  --muted-dark: #9fb0d8;
  --muted-light: #52607a;
  --primary: #4f8cff;
  --primary-hover: #366de3;
  --border-dark: #2d3f64;
  --border-light: #dbe4ff;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  background: #0a1020;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.section {
  padding: 84px 0;
  position: relative;
  z-index: 1;
}

.tech-glow {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 140, 255, 0.22), transparent 38%),
    radial-gradient(circle at 85% 10%, rgba(0, 224, 255, 0.16), transparent 34%),
    radial-gradient(circle at 50% 85%, rgba(128, 100, 255, 0.14), transparent 44%);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 0.35s ease-out;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #7fa8ff;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

p {
  margin: 0 0 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(8, 14, 30, 0.8);
  border-bottom: 1px solid rgba(120, 149, 214, 0.18);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: #d8e3ff;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav a:hover {
  color: #ffffff;
}

.nav-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  color: #95b2ea;
}

.nav-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
}

.lang-switch {
  border: 1px solid #7fa8ff;
  background: transparent;
  color: #dce8ff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

.lang-switch:hover {
  background: rgba(79, 140, 255, 0.2);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  align-items: center;
}

.subtitle {
  color: var(--muted-dark);
  font-size: 1.06rem;
  max-width: 58ch;
}

.hero-support,
.section-intro {
  margin-top: 8px;
  color: var(--muted-dark);
  max-width: 72ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.25);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  border-color: #5f7fb8;
  color: #dce8ff;
}

.btn-outline:hover {
  border-color: #9ebcff;
  color: #fff;
}

.hero-panel {
  background: linear-gradient(145deg, #182742, #111a2e);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hero-panel:hover {
  transform: translateY(-3px);
  border-color: #4e73b4;
  box-shadow: 0 16px 34px rgba(8, 24, 58, 0.45);
}

.kpi + .kpi {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #29426f;
}

.kpi h3 {
  margin-bottom: 6px;
  font-size: 0.96rem;
  color: #aac5ff;
}

.kpi p {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7fa8ff;
  flex: 0 0 auto;
}

.icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm,
.icon-sm svg {
  width: 16px;
  height: 16px;
}

.icon-md,
.icon-md svg {
  width: 20px;
  height: 20px;
}

.icon-lg,
.icon-lg svg {
  width: 22px;
  height: 22px;
}

.icon-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted-dark);
}

.hero-points li {
  font-size: 0.95rem;
}

.feature-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-item {
  border: 1px solid var(--border-light);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 8px 22px rgba(41, 61, 118, 0.08);
}

.feature-item p {
  color: var(--muted-light);
}

.card-grid,
.case-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--panel-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #5f86cc;
  box-shadow: 0 12px 28px rgba(14, 35, 76, 0.45);
}

.card p {
  color: var(--muted-dark);
}

.card .icon-lg {
  margin-bottom: 10px;
}

.timeline {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.timeline-item {
  background: var(--panel-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 22px rgba(41, 61, 118, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(39, 66, 135, 0.15);
}

.timeline-item p {
  color: var(--muted-light);
}

.timeline-item .icon {
  margin-bottom: 8px;
  color: #4f8cff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  background: #111d34;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: #6088d2;
  box-shadow: 0 12px 26px rgba(6, 20, 52, 0.48);
}

.stat-num {
  margin: 0 0 4px;
  font-size: 1.9rem;
  font-weight: 800;
}

.stat-note {
  margin-top: 8px;
  color: #b7c7e9;
  font-size: 0.92rem;
}

.case-card {
  background: var(--panel-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(41, 61, 118, 0.16);
}

.case-card p {
  color: var(--muted-light);
}

.case-card .icon {
  margin-bottom: 8px;
  color: #4f8cff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.contact-info li {
  margin-bottom: 12px;
  color: #d2defa;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-form {
  background: #101c34;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-form:hover {
  transform: translateY(-4px);
  border-color: #5f86cc;
  box-shadow: 0 14px 30px rgba(7, 20, 52, 0.44);
}

.contact-form label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #dce7ff;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 14px;
  background: #0b152b;
  color: #eef3ff;
  border: 1px solid #2a426f;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(79, 140, 255, 0.5);
  border-color: #4f8cff;
}

.site-footer {
  border-top: 1px solid #203055;
  background: #070d1a;
  padding: 24px 0;
  text-align: center;
  color: #9fb0d8;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  filter: blur(5px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.interactive-tilt {
  transform-style: preserve-3d;
}

@media (max-width: 1000px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .card-grid,
  .case-grid,
  .timeline,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section {
    padding: 68px 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 4%;
    width: min(260px, 80vw);
    background: #0d1931;
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-nav.open {
    display: flex;
  }

  .tech-glow {
    opacity: 0.55;
  }

  .card-grid,
  .feature-grid,
  .case-grid,
  .timeline,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
