:root {
  --navy: #090e1a;
  --navy-2: #0e1626;
  --navy-3: #121b2e;
  --cyan: #2dd4ee;
  --cyan-2: #5eead4;
  --cyan-dark: #0891b2;
  --violet: #818cf8;
  --text-light: #eef2f7;
  --text-muted: #94a5bd;
  --text-dim: #6b7d99;
  --card-bg: #111a2c;
  --card-bg-2: #0d1526;
  --border: #1e2b42;
  --border-soft: #182236;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 50px -20px rgba(0,0,0,0.55);
  --shadow-glow: 0 0 0 1px rgba(45,212,238,0.15), 0 20px 40px -18px rgba(45,212,238,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  background: var(--navy);
  color: var(--text-light);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Decorative dot-grid background */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 165, 189, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 60% at 70% 30%, black 40%, transparent 90%);
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.blob-cyan { background: var(--cyan); }
.blob-blue { background: var(--violet); }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 14, 26, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo .mark svg { width: 17px; height: 17px; stroke: #06121c; stroke-width: 2.4; fill: none; }
.logo span { color: var(--cyan); }

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color 0.15s ease;
}
nav a:hover { color: var(--text-light); }
nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
  transition: width 0.2s ease;
  border-radius: 2px;
}
nav > ul > li > a:hover::after { width: 100%; }

.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 160%;
  left: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 270px;
  padding: 10px;
  box-shadow: var(--shadow-soft);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.dropdown a:hover { background: rgba(45,212,238,0.08); color: var(--cyan); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: #052029;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(45,212,238,0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(45,212,238,0.7); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-light);
  padding: 12px 27px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.btn-outline:hover { border-color: var(--cyan); background: rgba(45,212,238,0.06); }

.menu-toggle { display: none; background: none; border: none; color: var(--text-light); font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  padding: 110px 0 80px;
  background:
    radial-gradient(ellipse 700px 500px at 85% 10%, rgba(45,212,238,0.14), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 90%, rgba(129,140,248,0.10), transparent 60%),
    var(--navy);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,212,238,0.08);
  border: 1px solid rgba(45,212,238,0.25);
  color: var(--cyan);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 22px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--cyan), var(--cyan-2) 60%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.stat-row { display: flex; gap: 36px; flex-wrap: wrap; }
.stat-row .stat b {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--text-light);
}
.stat-row .stat span { font-size: 0.82rem; color: var(--text-dim); }

.hero-visual {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--card-bg), var(--navy-2) 70%);
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-visual svg { position: relative; z-index: 1; width: 70%; height: 70%; }

/* Icon graphics */
.icon-svg {
  position: relative;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #16233a, #0e1729);
  border: 1px solid var(--border);
  margin-bottom: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 6px 16px -8px rgba(0,0,0,0.5);
}
.icon-svg::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(45,212,238,0.5), rgba(129,140,248,0.15) 60%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
}
.icon-svg svg { position: relative; z-index: 1; width: 25px; height: 25px; stroke: var(--cyan); fill: none; filter: drop-shadow(0 0 6px rgba(45,212,238,0.5)); }
.card:hover .icon-svg {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(45,212,238,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 24px -8px rgba(45,212,238,0.35);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.float { animation: float 4s ease-in-out infinite; }
.spin-slow { animation: spin-slow 24s linear infinite; transform-origin: center; }
.pulse-ring { animation: pulse-ring 3s ease-out infinite; transform-origin: center; }

/* Sections */
section { padding: 96px 0; }
.section-alt { background: var(--navy-2); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 50px; }

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--cyan); border-radius: 2px; }
h2 { font-size: 2.1rem; font-weight: 700; margin: 0 0 14px; }
.section-lead {
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 0;
}

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

.card {
  position: relative;
  background: linear-gradient(165deg, var(--card-bg), var(--card-bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 32px 30px;
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}
/* gradient corner glow, revealed on hover */
.card::before {
  content: '';
  position: absolute;
  top: -60%; right: -40%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(45,212,238,0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}
/* 1px gradient border ring, revealed on hover via mask */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(45,212,238,0.55), rgba(129,140,248,0.25) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }
.card .icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 600; }
.card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 20px; }
.card a.read-more {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  width: 100%;
  transition: gap 0.2s ease, color 0.2s ease;
}
.card a.read-more:hover { gap: 10px; color: var(--cyan-2); }

.feature-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.feature-list li svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2.4;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badge {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.badge:hover { border-color: var(--cyan); color: var(--cyan); }

.cta-banner {
  position: relative;
  background: linear-gradient(120deg, #0a2e38, #0e2440 60%, #14203b);
  border: 1px solid rgba(45,212,238,0.25);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  margin: 0 24px;
  overflow: hidden;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 30px; }

/* Footer */
footer {
  background: #05080f;
  border-top: 1px solid var(--border-soft);
  padding: 70px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 46px;
}
.footer-grid h4 { color: var(--text-light); margin: 0 0 18px; font-size: 0.95rem; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { color: var(--text-dim); font-size: 0.9rem; transition: color 0.15s ease; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Page header (inner pages) */
.page-header {
  position: relative;
  padding: 72px 0 50px;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { margin: 0 0 12px; font-size: 2.3rem; font-weight: 700; }
.page-header p { color: var(--text-muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 8px; font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--navy-3);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--cyan); }

.contact-info-card {
  background: linear-gradient(165deg, var(--card-bg), var(--card-bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.contact-info-card .item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-card .item .ic {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(45,212,238,0.16), rgba(129,140,248,0.1));
  border: 1px solid rgba(45,212,238,0.22);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-card .item h4 { margin: 0 0 4px; font-size: 0.98rem; }
.contact-info-card .item p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  nav ul { display: none; }
  .menu-toggle { display: block; }
  .section-head { flex-direction: column; align-items: flex-start; }
  nav.open ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-2);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
  }
  .dropdown { position: static; display: none; border: none; padding-left: 12px; box-shadow: none; }
  .has-dropdown.open .dropdown { display: block; }
  .cta-banner { margin: 0; padding: 40px 24px; }
}
