﻿:root {
  --accent: #38bdf8;
  --accent2: #0ea5e9;
  --bg: #0f172a;
  --surface: rgba(15, 23, 42, 0.82);
  --surface-strong: rgba(8, 15, 28, 0.95);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: rgba(226, 232, 240, 0.62);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(56, 189, 248, 0.16),
      transparent 26rem
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(167, 139, 250, 0.12),
      transparent 22rem
    ),
    linear-gradient(180deg, #101a2d 0%, #0b1220 52%, #0f172a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

#fxCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 360px;
  height: 360px;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.18),
    transparent 58%
  );
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body:hover .cursor-glow {
  opacity: 1;
}

nav {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 14px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(130%);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
}

.logo::before {
  content: "";
  width: 36px;
  height: 36px;
  margin-right: 7px;
  background: url("../assets/Logo.png") center / contain no-repeat;
}

.logo span:first-child {
  color: #ffffff;
}

.logo span:last-child {
  color: var(--accent);
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-lang,
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: rgba(56, 189, 248, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn-lang:hover,
.btn-back:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
}

main {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 120px;
}

.hero {
  position: relative;
  min-height: 92vh;
  margin: 0 auto 40px;
  display: grid;
  place-items: center;
  padding: 90px 0 80px;
  text-align: center;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
}

.hero-orb--a {
  width: 260px;
  height: 260px;
  top: 8%;
  left: 6%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.25),
    transparent 66%
  );
}

.hero-orb--b {
  width: 320px;
  height: 320px;
  top: 20%;
  right: 6%;
  background: radial-gradient(
    circle,
    rgba(167, 139, 250, 0.16),
    transparent 64%
  );
}

.hero-orb--c {
  width: 180px;
  height: 180px;
  bottom: 16%;
  left: 22%;
  background: radial-gradient(
    circle,
    rgba(52, 211, 153, 0.16),
    transparent 62%
  );
}

.hero-copy {
  position: relative;
  max-width: 760px;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.16);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  font-weight: 900;
  line-height: 0.95;
}

.hero h1 span {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.18);
}

.hero-lead {
  margin: 24px auto 32px;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 16px;
  justify-items: center;
}

.hero-stats div {
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(8, 15, 28, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-stats strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-index {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.section-link {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.82);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.section-link:hover {
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-1px);
}

.page-section {
  margin-bottom: 60px;
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-label {
  display: inline-flex;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  font-size: 0.78rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.section-lead {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.feature-grid,
.card-grid,
.timeline-grid,
.bot-grid,
.wave-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.card-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.bot-grid,
.wave-list {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.feature-grid article,
.card-grid article,
.timeline-grid article,
.bot-grid article,
.wave-list article,
.jobs-card,
.cta-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feature-grid strong,
.card-grid h3,
.timeline-grid strong,
.bot-grid strong,
.wave-list strong,
.cta-card h2 {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 900;
}

.feature-grid p,
.card-grid p,
.timeline-grid p,
.bot-grid p,
.wave-list p,
.jobs-card p,
.cta-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.card-grid article span,
.timeline-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 16px;
}

.jobs-card {
  display: grid;
  gap: 18px;
  text-align: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.18),
    rgba(14, 165, 233, 0.16)
  );
  color: #f8fafc;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.18);
}

.cta-big {
  width: 100%;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 18px 32px;
  color: rgba(226, 232, 240, 0.42);
  font-size: 0.82rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(2, 6, 23, 0.34);
}

.footer-link {
  color: rgba(226, 232, 240, 0.68);
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #7dd3fc;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 64px 0 48px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }

  .hero-stats {
    grid-template-columns: repeat(1, minmax(120px, 1fr));
  }

  .feature-grid,
  .card-grid,
  .timeline-grid,
  .bot-grid,
  .wave-list {
    grid-template-columns: 1fr;
  }

  .section-head {
    padding: 0 14px;
  }

  .jobs-card,
  .cta-card {
    padding: 22px;
  }

  footer {
    padding: 24px 14px;
  }
}

@media (max-width: 620px) {
  nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-right {
    width: 100%;
    justify-content: flex-end;
  }

  .section-index {
    flex-direction: column;
  }
}
