/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0B0F1A;
  color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Utilities ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: #111827; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 12px; }
.section-header p { color: #9CA3AF; font-size: 1.125rem; max-width: 540px; margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; transition: all .2s; cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: #fff;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,.25); color: #fff; background: transparent;
}
.btn-outline:hover { border-color: #06B6D4; color: #06B6D4; }
.btn-sm { padding: 10px 22px; font-size: .9rem; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: transparent; transition: background .3s, box-shadow .3s;
}
.navbar.scrolled { background: rgba(11,15,26,.95); box-shadow: 0 1px 20px rgba(0,0,0,.4); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 220px;
}
.nav-logo img { height: 200px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: .95rem; color: #9CA3AF; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  text-align: center; overflow: hidden; padding-top: 220px;
}
.hero-video {
  position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
  width: auto; height: auto; transform: translate(-50%, -50%);
  object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 800ms ease;
}
.hero-video.is-ready { opacity: 1; }
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: rgba(11, 15, 26, 0.65);
}
.hero-glow {
  position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.2), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.15; max-width: 800px; margin: 0 auto 24px; }
.hero-sub { font-size: 1.2rem; color: #9CA3AF; max-width: 620px; margin: 0 auto 40px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 40px 32px; text-align: center;
  transition: border-color .3s, box-shadow .3s;
}
.card:hover {
  border-color: rgba(6,182,212,.35);
  box-shadow: 0 0 30px rgba(6,182,212,.08);
}
.card-icon { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.card p { color: #9CA3AF; font-size: .95rem; }

/* ===== Capabilities ===== */
.capabilities { display: flex; align-items: center; gap: 60px; }
.capabilities-text { flex: 1; }
.capabilities-text h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 28px; }
.capabilities-list li {
  padding: 12px 0; font-size: 1.05rem; color: #9CA3AF;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative; padding-left: 24px;
}
.capabilities-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
}
.capabilities-visual { flex: 1; display: flex; justify-content: center; }
.services-graphic {
  max-width: 400px; width: 100%; height: auto;
  border-radius: 16px;
}

/* ===== CTA Box ===== */
.cta-box {
  text-align: center; padding: 64px 40px; border-radius: 20px;
  border: 1.5px solid transparent;
  background-image: linear-gradient(#111827, #111827), linear-gradient(135deg, #2563EB, #06B6D4);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.cta-box h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.cta-box p { color: #9CA3AF; font-size: 1.1rem; margin-bottom: 32px; }

/* ===== Footer ===== */
.footer { padding: 40px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 32px; }
.footer-brand span { color: #9CA3AF; font-size: .875rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #9CA3AF; font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav-inner { height: 180px; }
  .nav-logo img { height: 160px; }
  .nav-links { display: none; }
  .navbar .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .navbar.open .nav-links {
    display: flex; flex-direction: column; position: absolute;
    top: 180px; left: 0; width: 100%; background: rgba(11,15,26,.98);
    padding: 24px; gap: 20px;
  }
  .hero { padding-top: 180px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-sub { font-size: 1rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .capabilities { flex-direction: column; text-align: center; }
  .capabilities-list li { padding-left: 24px; }
  .services-graphic { max-width: 280px; }
  .cta-box { padding: 40px 24px; }
  .section { padding: 64px 0; }
}