:root {
  --bg: #07111f;
  --panel: rgba(14, 25, 43, 0.72);
  --panel-strong: rgba(16, 29, 49, 0.95);
  --text: #e9f2ff;
  --muted: #a9bdd7;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #5de0ff;
  --accent-2: #80ffca;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(93, 224, 255, 0.16), transparent 22%),
    radial-gradient(circle at 85% 15%, rgba(128, 255, 202, 0.12), transparent 20%),
    radial-gradient(circle at 50% 80%, rgba(84, 107, 255, 0.15), transparent 25%),
    linear-gradient(180deg, #050c17 0%, #081221 45%, #050a13 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(4, 11, 22, 0.6);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #3f7cff);
  color: #04111d;
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--muted); margin-top: 4px; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  transition: color 0.25s ease;
}
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #58a6ff);
  color: #07111f;
  box-shadow: 0 18px 38px rgba(93, 224, 255, 0.24);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}
.btn-nav {
  padding: 12px 18px;
  color: var(--text) !important;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 0 auto;
}

.hero {
  padding: 72px 0 42px;
}
.hero-grid,
.split-section,
.contact-grid,
.neural-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.hero-copy h1,
.section-head h2,
.split-copy h2,
.neural-grid h2,
.contact-grid h2 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy p,
.section-head p,
.split-copy p,
.contact-grid p,
.neural-grid p,
.info-card p,
.industry-card p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-stats div,
.info-card,
.industry-card,
.contact-card,
.neural-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px;
}
.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.hero-stats span { color: var(--muted); font-size: 0.95rem; }

.card-glow {
  position: relative;
  overflow: hidden;
}
.card-glow::before {
  content: '';
  position: absolute;
  inset: -20% auto auto -10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 224, 255, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.hero-visual,
.split-image {
  padding: 18px;
  border-radius: 32px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section {
  padding: 44px 0 88px;
}
.alt-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}
.section-head {
  margin-bottom: 28px;
  max-width: 720px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3.6rem); }

.card-grid.three-col,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card,
.industry-card {
  padding: 24px;
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-weight: 700;
  color: #06111d;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(93, 224, 255, 0.6);
}

.neural-card {
  position: relative;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}
#neuralCanvas {
  width: 100%;
  height: 420px;
  display: block;
  background: linear-gradient(180deg, rgba(4, 11, 22, 0.35), rgba(9, 18, 31, 0.92));
}
.neural-overlay {
  position: absolute;
  left: 24px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.neural-overlay span {
  color: var(--accent-2);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.neural-overlay strong {
  font-size: 1.2rem;
}

.industry-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.contact-card {
  padding: 24px;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  gap: 8px;
}
.form-row label {
  font-size: 0.95rem;
  color: #dfeaff;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font: inherit;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #8ea6c3; }
.form-note { color: var(--muted); }

.footer {
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.16);
}
.footer-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 20px;
    background: rgba(8, 17, 31, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .hero-grid,
  .split-section,
  .contact-grid,
  .neural-grid,
  .card-grid.three-col,
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-copy h1,
  .section-head h2,
  .split-copy h2,
  .neural-grid h2,
  .contact-grid h2 {
    font-size: clamp(2rem, 7vw, 3.3rem);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 42px;
  }
  .section {
    padding: 34px 0 72px;
  }
  .container {
    width: min(var(--container), calc(100% - 20px));
  }
  .hero-visual,
  .split-image,
  .contact-card,
  .info-card,
  .industry-card {
    border-radius: 22px;
  }
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
