:root {
  --sf: 'Space Grotesk', sans-serif;
  --bf: 'Inter', sans-serif;
  --bg: #0a1628;
  --purple: #8b5cf6;
  --blue: #00adff;
  --mint: #00d9c0;
  --white: #ffffff;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --purple-tint: #a78bfa;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--bf);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-300);
  background: linear-gradient(135deg, #0a1628 0%, #0d1a2d 50%, #0a1628 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Tailwind Utility Classes ── */
.text-5xl { font-size: 3rem; line-height: 1; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-white { color: #ffffff; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.leading-relaxed { line-height: 1.625; }

/* ── Skip Link ── */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--purple); color: white; padding: 12px 24px;
  border-radius: 0 0 8px 8px; z-index: 100; font-family: var(--bf);
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── Focus States (WCAG) ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--purple); outline-offset: 4px; border-radius: 4px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Gradient Text ── */
.grad-text {
  color: #8b5cf6;
  background: linear-gradient(90deg, #8b5cf6 0%, #00adff 50%, #00d9c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Ambient Background ── */
.ambient-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.ambient-glow-1 {
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(139,92,246,0.06) 0%, transparent 50%);
}
.ambient-glow-2 {
  background: radial-gradient(ellipse 60% 40% at 30% 70%, rgba(139,92,246,0.04) 0%, transparent 50%);
}

/* ── Neural Background Canvas ── */
#neuralCanvas {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}

/* ── Buttons ── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px;
  font-family: var(--bf); font-size: 14px; font-weight: 500;
  color: white; cursor: pointer; border: none;
  transition: all 0.3s; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: rgba(139,92,246,0.8);
  border: 1px solid rgba(139,92,246,0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(139,92,246,0.3);
}
.btn-primary .btn-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #8b5cf6, #00adff);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-primary:hover .btn-fill { transform: translateX(0); }
.btn-primary .btn-text,
.btn-primary .btn-arrow { position: relative; z-index: 1; }
.btn-primary .btn-arrow { transition: transform 0.3s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary {
  position: relative; overflow: visible;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px;
  font-family: var(--bf); font-size: 14px; font-weight: 500;
  color: white; cursor: pointer; border: none;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-secondary .btn-border-static {
  position: absolute; inset: 0; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: opacity 0.3s; pointer-events: none;
}
.btn-secondary:hover .btn-border-static { opacity: 0; }
.btn-secondary .border-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible;
}
.btn-secondary .border-svg rect {
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.6s ease-out;
}
.btn-secondary:hover .border-svg rect { stroke-dashoffset: 0; }
.btn-secondary .btn-glow {
  position: absolute; inset: 0; border-radius: 8px;
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.btn-secondary:hover .btn-glow { opacity: 1; }
.btn-secondary .btn-text,
.btn-secondary .btn-arrow { position: relative; z-index: 1; }
.btn-secondary .btn-arrow { transition: transform 0.3s; }
.btn-secondary:hover .btn-arrow { transform: translateX(4px); }

/* ── Feature Card (Light Glass) ── */
/* Spec: ge-feature-card-spec.docx — lighter variant, no blur at rest */
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  box-shadow: none;
  backdrop-filter: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.feature-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(139,92,246,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 20px rgba(139,92,246,0.08);
  transform: translateY(-2px);
}
.feature-card .card-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.5s;
}
.feature-card:hover .card-glow { opacity: 1; }
.feature-card .icon-wrap {
  width: 3rem; height: 3rem; border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(0,173,255,0.2));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.feature-card .icon-wrap svg { width: 20px; height: 20px; }
.feature-card h3 {
  font-family: var(--sf); font-size: 1rem; font-weight: 600;
  color: white; margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem; line-height: 1.25rem; color: var(--gray-300);
}

/* ── Icon Gradient (for inline SVGs) ── */
.icon-grad-defs { position: absolute; width: 0; height: 0; }

/* ── CSS Mask Icons (for brand SVG icons) ── */
.mask-icon {
  display: inline-block;
  width: 2rem; height: 2rem;
  background: linear-gradient(135deg, #8b5cf6, #00adff, #00d9c0);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}

/* ── Section Heading ── */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 {
  font-family: var(--sf); font-size: 2.25rem; line-height: 2.5rem;
  font-weight: 700; color: white; margin-bottom: 0.75rem;
}
.section-head p {
  font-size: 1.125rem; line-height: 1.75rem;
  color: var(--gray-300); max-width: 42rem; margin: 0 auto;
}

/* ── Gradient Divider ── */
.gradient-divider {
  max-width: 80rem; margin: 0 auto; padding: 0 1.5rem;
}
.gradient-divider div {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,173,255,0.3) 20%, rgba(139,92,246,0.3) 50%, rgba(0,217,192,0.3) 80%, transparent 100%);
}

/* ── Feature Grid ── */
.feat-grid { display: grid; gap: 1rem; }
.feat-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feat-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ── Hero ── */
.hero {
  position: relative; z-index: 10;
  min-height: 100vh; display: flex; flex-direction: column;
  padding-top: 2rem;
}
.hero-inner {
  max-width: 80rem; margin: 0 auto; padding: 5rem 1.5rem;
  width: 100%; flex-grow: 1; display: flex; align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem; align-items: center; width: 100%;
}
.hero-grid h1 {
  font-family: var(--sf); font-size: 2.25rem; line-height: 2.5rem;
  font-weight: 700; color: white; margin-bottom: 0.5rem;
}
.hero-grid .hero-subtitle {
  font-family: var(--sf); font-size: 1.5rem; line-height: 2rem;
  font-weight: 600; margin-bottom: 1.5rem;
  color: #8b5cf6;
  background: linear-gradient(90deg, #8b5cf6 0%, #00adff 50%, #00d9c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-grid .hero-desc {
  font-size: 1.125rem; line-height: 1.625;
  color: var(--gray-300); margin-bottom: 2.5rem;
  max-width: 26em;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-img-col {
  position: relative;
}
.hero-img-col::before {
  content: '';
  position: absolute;
  inset: 5% 5%;
  background: radial-gradient(ellipse at center,
    rgba(139,92,246,0.55) 0%,
    rgba(0,173,255,0.35) 30%,
    rgba(0,217,192,0.15) 50%,
    transparent 70%);
  filter: blur(60px);
  z-index: 0;
  border-radius: 50%;
}
.hero-img {
  position: relative; z-index: 1;
  width: 100%; object-fit: contain;
}

/* ── Scroll Chevron ── */
.scroll-chevron {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: transparent; border: none; cursor: pointer;
  padding: 8px; padding-bottom: 2rem; min-height: 44px; min-width: 44px;
  transition: opacity 0.3s;
}
.scroll-chevron span {
  font-family: var(--bf); font-size: 12px; font-weight: 500;
  color: var(--gray-400); letter-spacing: 0.05em;
}
@keyframes chevronBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.chevron-bounce { animation: chevronBounce 2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .chevron-bounce { animation: none; } }

/* ── Section ── */
.page-section {
  position: relative; z-index: 10;
  padding: 5rem 0;
}

/* ── CTA Section ── */
.cta-section {
  position: relative; z-index: 10; padding: 5rem 0;
}

/* ── Responsive ── */
@media (min-width: 768px) {
  .hero-grid h1 { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1200px) {
  .px-6 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .hero-inner { padding-left: 2.5rem; padding-right: 2.5rem; }
}
@media (max-width: 900px) {
  .feat-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  .section-head h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .feat-grid-3 { grid-template-columns: 1fr !important; }
  .feat-grid-2 { grid-template-columns: 1fr !important; }
}

/* ── Scrollbar Hide ── */
*::-webkit-scrollbar { display: none; }