:root {
  --bg: #080b16;
  --bg-2: #0d1424;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f4f7ff;
  --muted: #b9c3dd;
  --primary: #6ca8ff;
  --accent: #8e7dff;
  --glow: rgba(108, 168, 255, 0.28);
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #111c34 0%, var(--bg) 45%, #05070e 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 85%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .6;
  animation: float 16s ease-in-out infinite;
}
.orb-1 { width: 360px; height: 360px; background: rgba(107, 168, 255, 0.22); top: 90px; left: -80px; }
.orb-2 { width: 300px; height: 300px; background: rgba(142, 125, 255, 0.2); right: -60px; top: 220px; animation-delay: -4s; }
.orb-3 { width: 260px; height: 260px; background: rgba(68, 255, 199, 0.12); bottom: 40px; left: 40%; animation-delay: -8s; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(8, 11, 22, 0.65);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 10px 30px var(--glow));
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text { font-size: 1.05rem; }
.brand-subtext {
  color: var(--muted);
  font-size: .58rem;
  letter-spacing: .18em;
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color .25s ease;
}
.nav a:hover { color: var(--text); }

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  margin: 5px auto;
}

.hero {
  padding-top: 70px;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
}

.hero-grid,
.two-col,
.expertise-layout,
.footer-wrap,
.cta-card {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1.2fr .85fr;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.09);
  color: #d8e1fb;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0 0 16px;
  line-height: 1.08;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 7vw, 5rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.section-heading p,
.about-copy p,
.expertise-panel p,
.cta-card p,
.product-card p,
.feature-card p {
  color: var(--muted);
}

.hero-actions,
.cta-actions,
.profile-tags,
.hero-metrics,
.mini-tiles {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions { margin-top: 26px; }
.hero-metrics { margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 16px 38px var(--glow);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
}

.glass-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
}

.profile-card {
  padding: 26px;
}
.profile-ring {
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.03), 0 24px 50px rgba(0,0,0,0.3);
}
.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.profile-meta {
  padding-top: 20px;
}
.profile-meta p { color: var(--muted); margin: 0; }
.profile-tags { margin-top: 18px; }
.profile-tags span,
.mini-tiles span {
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: #d9e3fb;
  font-size: .93rem;
}

.metric-card,
.feature-card,
.product-card,
.expertise-panel,
.cta-card {
  padding: 24px;
}
.metric-card {
  min-width: 150px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
}
.metric-card strong,
.product-card h3,
.feature-card h3,
.expertise-panel h3 { display: block; }
.metric-card span { color: var(--muted); font-size: .92rem; }

.two-col,
.expertise-layout,
.footer-wrap,
.cta-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.highlights-grid,
.products-grid {
  display: grid;
  gap: 24px;
}
.highlights-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}
.products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
}

.section-heading.center {
  text-align: center;
  max-width: 860px;
}
.section-heading.center .eyebrow { margin: 0 auto 18px; }

.icon-wrap,
.product-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(108,168,255,0.22), rgba(142,125,255,0.22));
  border: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 18px;
}
svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.product-card {
  display: block;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108,168,255,0.4);
  box-shadow: 0 26px 70px rgba(0,0,0,0.45);
}
.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product-link,
.visit-link {
  color: #d7e2fd;
  font-weight: 600;
}
.visit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.visit-link::after {
  content: '→';
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.expertise-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #dfe7fc;
}
.expertise-list li:last-child { border-bottom: 0; }

.cta-card {
  align-items: center;
}
.site-footer {
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-wrap {
  color: var(--muted);
  font-size: .95rem;
}
.footer-wrap p:last-child { text-align: right; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-24px) translateX(18px); }
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .expertise-layout,
  .cta-card,
  .footer-wrap,
  .products-grid,
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    padding: 18px;
    border-radius: 20px;
    background: rgba(10, 14, 28, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .menu-btn { display: inline-block; }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }
}

@media (max-width: 640px) {
  .section { padding: 78px 0; }
  h1 { font-size: clamp(2.3rem, 12vw, 3.5rem); }
  .metric-card,
  .feature-card,
  .product-card,
  .expertise-panel,
  .cta-card,
  .profile-card { padding: 20px; }
  .btn { width: 100%; }
  .footer-wrap p:last-child { text-align: left; }
}


.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
  opacity: 0.95;
}
@media (max-width: 980px) {
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .brand-subtext { display: none; }
  .footer-logo { width: 210px; }
}
