:root {
  --bg-dark: #020813;
  --bg-dark-2: #050b15;
  --bg-dark-3: #08111e;
  --bg-panel: rgba(255, 255, 255, 0.04);

  --primary: #009dff;
  --primary-light: #34cfff;
  --primary-glow: #63d7ff;

  --accent: #19d4d3;
  --accent-light: #58e6df;

  --text-main: #ffffff;
  --text-soft: #d8ebf8;
  --text-muted: #a9bfd3;

  --border-soft: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(25, 212, 211, 0.24);
  --shadow-blue: 0 18px 45px rgba(0, 140, 255, 0.12);
  --shadow-dark: 0 18px 45px rgba(0, 0, 0, 0.22);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(0, 157, 255, 0.08), transparent 22%),
    radial-gradient(circle at left center, rgba(25, 212, 211, 0.04), transparent 28%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(99, 215, 255, 0.03), transparent 18%),
    radial-gradient(circle at 85% 70%, rgba(25, 212, 211, 0.03), transparent 20%);
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(25, 212, 211, 0.06), transparent 28%),
    radial-gradient(circle at right center, rgba(0, 157, 255, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg-dark-3) 0%, var(--bg-dark-2) 100%);
}

.section-heading {
  margin-bottom: 42px;
  position: relative;
  z-index: 1;
}

.section-label {
  color: var(--accent-light);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-main);
  text-shadow: 0 0 12px rgba(99, 215, 255, 0.08);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 8, 19, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(99, 215, 255, 0.08);
  transition: 0.3s ease;
}

.site-header.scrolled {
  background: rgba(2, 8, 19, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(99, 215, 255, 0.14);
}

.header-container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  color: var(--text-main);
  text-decoration: none;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 0 16px rgba(99, 215, 255, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  position: relative;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active-link {
  color: var(--primary-glow);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-glow));
  box-shadow: 0 0 10px rgba(99, 215, 255, 0.35);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active-link::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--text-main);
  transition: 0.3s ease;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2, 8, 19, 0.34), rgba(2, 8, 19, 0.92)),
    linear-gradient(to left, rgba(2, 8, 19, 0.10), rgba(2, 8, 19, 0.54)),
    radial-gradient(circle at center, rgba(0, 157, 255, 0.12), transparent 34%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 215, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 215, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 85%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  animation: fadeUp 1.2s ease;
  will-change: transform;
}

.hero-tag {
  color: var(--accent-light);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.12;
  margin-bottom: 22px;
  font-weight: 900;
  color: var(--text-main);
}

.hero h1 span {
  color: var(--primary-glow);
  text-shadow:
    0 0 10px rgba(99, 215, 255, 0.72),
    0 0 20px rgba(99, 215, 255, 0.5),
    0 0 40px rgba(99, 215, 255, 0.28);
}

.hero-text {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 700px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 15px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.3s ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: #03111f;
  box-shadow:
    0 0 22px rgba(0, 157, 255, 0.22),
    0 0 34px rgba(99, 215, 255, 0.14);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 28px rgba(0, 157, 255, 0.34),
    0 0 40px rgba(99, 215, 255, 0.22);
}

.btn-outline {
  border: 1px solid rgba(99, 215, 255, 0.28);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  transform: translateY(-3px);
  background: rgba(99, 215, 255, 0.08);
  border-color: rgba(99, 215, 255, 0.45);
  box-shadow: 0 0 18px rgba(99, 215, 255, 0.12);
}

.hero-accent {
  position: absolute;
  background: linear-gradient(180deg, rgba(25, 212, 211, 0.85), rgba(99, 215, 255, 0.25));
  box-shadow: 0 0 25px rgba(25, 212, 211, 0.18);
  z-index: 1;
}

.accent-one {
  width: 70px;
  height: 220px;
  left: 7%;
  top: 28%;
}

.accent-two {
  width: 60px;
  height: 180px;
  right: 10%;
  bottom: 14%;
}

/* Stats */
.stats-section {
  position: relative;
  padding: 0 0 100px;
  margin-top: -40px;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-dark);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 212, 211, 0.42);
  box-shadow:
    0 18px 40px rgba(0, 157, 255, 0.12),
    0 0 24px rgba(25, 212, 211, 0.12);
}

.stat-card h3 {
  font-size: clamp(32px, 4vw, 46px);
  color: var(--primary-glow);
  margin-bottom: 10px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(99, 215, 255, 0.18);
}

.stat-card p {
  color: var(--text-soft);
  font-size: 16px;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.image-frame {
  border: 2px solid rgba(99, 215, 255, 0.55);
  padding: 8px;
  position: relative;
  box-shadow: 0 0 24px rgba(99, 215, 255, 0.08);
}

.image-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.floating-accent {
  position: absolute;
  width: 88px;
  height: 170px;
  background: linear-gradient(180deg, rgba(25, 212, 211, 0.85), rgba(99, 215, 255, 0.25));
  box-shadow: 0 0 25px rgba(25, 212, 211, 0.18);
}

.accent-box {
  left: -18px;
  bottom: -24px;
}

.about-box {
  position: relative;
  z-index: 1;
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 30px;
  color: var(--text-soft);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(10px);
}

.about-list {
  margin-top: 18px;
  padding-right: 18px;
}

.about-list li {
  margin-bottom: 10px;
  color: var(--text-soft);
}

/* Services */
.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.advanced-services {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 28px 22px;
  transition: 0.3s ease;
  box-shadow: var(--shadow-blue);
  backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: rgba(25, 212, 211, 0.42);
  box-shadow:
    0 16px 40px rgba(0, 157, 255, 0.12),
    0 0 24px rgba(25, 212, 211, 0.12);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(0, 157, 255, 0.18), rgba(25, 212, 211, 0.16));
  border: 1px solid rgba(99, 215, 255, 0.16);
  box-shadow: 0 0 20px rgba(0, 157, 255, 0.08);
  transition: 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
  color: var(--text-main);
}

.service-card p {
  color: var(--text-soft);
  font-size: 15px;
}

/* Features */
.features-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-item {
  background: var(--bg-panel);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 212, 211, 0.42);
}

.feature-item h3 {
  margin-bottom: 12px;
  color: var(--accent-light);
  font-size: 22px;
}

.feature-item p {
  color: var(--text-soft);
}

/* Clients */
.clients-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 34px 28px;
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(10px);
}

.clients-text {
  color: var(--text-soft);
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 800px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.client-logo {
  min-height: 90px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(99, 215, 255, 0.12);
  color: var(--primary-glow);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(25, 212, 211, 0.36);
  box-shadow: 0 0 24px rgba(25, 212, 211, 0.12);
}

/* Use Cases */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.use-case-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 30px 24px;
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 212, 211, 0.38);
  box-shadow:
    0 16px 40px rgba(0, 157, 255, 0.12),
    0 0 22px rgba(25, 212, 211, 0.10);
}

.case-number {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-glow);
  text-shadow: 0 0 12px rgba(99, 215, 255, 0.12);
}

.use-case-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: var(--text-main);
}

.use-case-card p {
  color: var(--text-soft);
  font-size: 15px;
}

/* Contact */
.contact-box {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 42px 24px;
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(10px);
}

.contact-box p {
  margin-bottom: 22px;
  font-size: 18px;
  color: var(--text-soft);
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(99, 215, 255, 0.08);
  padding: 22px 0;
  text-align: center;
  background: linear-gradient(180deg, #030912 0%, #02060d 100%);
}

.site-footer p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll to top */
.scroll-top-btn {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-light));
  color: #03111f;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 12px 30px rgba(0, 157, 255, 0.22),
    0 0 20px rgba(25, 212, 211, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s ease;
  z-index: 1200;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 35px rgba(0, 157, 255, 0.32),
    0 0 24px rgba(25, 212, 211, 0.18);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .advanced-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .image-frame img {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 4%;
    width: 92%;
    background: rgba(2, 8, 19, 0.98);
    border: 1px solid rgba(99, 215, 255, 0.1);
    border-radius: 18px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-dark);
  }

  .nav.active {
    display: flex;
  }

  .hero {
    min-height: 92vh;
    text-align: right;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 46px);
  }

  .hero-text {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-buttons,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-width: unset;
  }

  .features-grid,
  .stats-grid,
  .advanced-services,
  .clients-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .stats-section {
    padding: 0 0 75px;
    margin-top: -20px;
  }

  .section {
    padding: 78px 0;
  }

  .scroll-top-btn {
    left: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .accent-one,
  .accent-two,
  .floating-accent {
    display: none;
  }

  .image-frame img {
    height: 300px;
  }

  .clients-box,
  .contact-box,
  .about-box {
    padding: 24px 18px;
  }
}