/* =================================================================
   Bonlala · Titanium Dark Industrial Theme
   Design reference: Titanium Dark + Glass Morphism
   ================================================================= */

/* ============================================================
   Top Banner Carousel (above Hero)
   ============================================================ */
.top-banner {
  position: relative; width: 100%; height: 480px; overflow: hidden;
  background: #06080f;
}
.top-banner__track {
  display: flex; width: 100%; height: 100%; transition: transform .5s ease;
}
.top-banner__slide {
  flex: 0 0 100%; width: 100%; height: 100%; position: relative;
  opacity: 0; transition: opacity .5s ease;
}
.top-banner__slide.active { opacity: 1; }
.top-banner__slide video,
.top-banner__slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Navigation arrows */
.top-banner__prev, .top-banner__next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(0,0,0,.4); backdrop-filter: blur(8px);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.top-banner__prev:hover, .top-banner__next:hover { background: rgba(0,0,0,.6); }
.top-banner__prev { left: 16px; }
.top-banner__next { right: 16px; }
.top-banner__prev svg, .top-banner__next svg { width: 20px; height: 20px; }
/* Dots */
.top-banner__dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 8px;
}
.top-banner__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.3); cursor: pointer; padding: 0;
  transition: background .3s, transform .3s;
}
.top-banner__dots button.active { background: #fff; transform: scale(1.4); }

@media (max-width: 768px) {
  .top-banner { height: 260px; }
  .top-banner__prev, .top-banner__next { width: 32px; height: 32px; }
}

/* ---------- CSS Variables ---------- */
:root {
  /* Background layers */
  --bg:       hsl(220 8% 6%);
  --bg-card:  hsl(220 7% 10%);
  --bg-muted: hsl(220 7% 14%);

  /* Foreground */
  --fg:      hsl(210 15% 92%);
  --fg-soft: hsl(215 10% 60%);
  --fg-mute: hsl(218 8% 42%);

  /* Brand colors */
  --primary:          hsl(200 90% 58%);
  --primary-foreground: hsl(220 20% 98%);
  --accent:           hsl(38 60% 58%);
  --accent-foreground: hsl(30 30% 10%);
  --success:          hsl(130 54% 42%);
  --destructive:      hsl(0 65% 55%);

  /* Borders */
  --border:       hsl(220 6% 18%);
  --border-strong: hsl(220 6% 28%);
  --ring:         hsl(200 90% 58%);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-card: 0 2px 12px rgba(0,0,0,.02), 0 1px 2px rgba(0,0,0,.02);
  --shadow-lg:   0 8px 30px rgba(0,0,0,.3);
  --shadow-glow: 0 0 60px rgba(46,184,245,.12);

  /* Spacing */
  --max-w: 1280px;
  --pad: clamp(16px, 4vw, 48px);

  /* Fonts */
  --font-sans: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { opacity: .85; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

/* ---------- Container ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* Pill badge */
.pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.pill-primary {
  background: hsla(200,90%,58%,.10);
  color: var(--primary);
}
.pill-accent {
  background: hsla(38,60%,58%,.10);
  color: var(--accent);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section heading */
.section-head {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 64px;
}
.section-head .pill { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--fg-soft); font-size: 17px; line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  transition: all .2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: 14px 32px; font-size: 15px; min-height: 48px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 6px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), hsla(200,90%,58%,.8));
  color: var(--primary-foreground);
  box-shadow: 0 8px 24px rgba(46,184,245,.25);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(46,184,245,.4); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: hsla(220,6%,28%,.6);
  color: var(--fg);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { background: hsla(0,0%,100%,.05); border-color: var(--border-strong); }
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--fg-soft);
  padding: 8px 14px;
}
.btn-ghost:hover { background: hsla(0,0%,100%,.04); color: var(--fg); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all .3s;
}
.header--solid {
  background: hsla(220,8%,6%,.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsla(220,6%,18%,.4);
}
.header--transparent {
  background: transparent;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 17px; color: var(--fg);
}
.header-logo {
  width: 36px; height: 36px;
  object-fit: contain;
}
.header-tag {
  font-size: 10px;
  color: var(--fg-soft);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-left: 4px;
}
.header-nav {
  display: flex; align-items: center; gap: 2px;
}
.header-nav a {
  padding: 8px 14px;
  color: var(--fg-soft);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.header-nav a:hover { background: hsla(0,0%,100%,.05); color: var(--fg); }
.header-nav a.active { color: var(--primary); background: hsla(200,90%,58%,.08); }
.header-cta { display: flex; gap: 10px; align-items: center; }

/* ---------- Nav dropdown (Products categories) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-dropdown > a svg { transition: transform .2s; }
.nav-dropdown:hover > a svg { transform: rotate(180deg); }
/* Bridge the 10px gap under the link so the dropdown stays open while the
   cursor travels from "Products" down into the menu. */
.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 12px;
  z-index: 0;
}
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 210px;
  background: #14161b; border: 1px solid hsla(220,6%,25%,.6);
  border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,.55);
  display: none; flex-direction: column; z-index: 80;
}
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px;
  color: var(--fg-soft); font-size: 13px; font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-dropdown-menu a:hover { background: hsla(0,0%,100%,.06); color: var(--fg); }
.nav-dropdown-count {
  font-size: 11px; font-weight: 700; opacity: .5;
  background: hsla(0,0%,100%,.07); border-radius: 20px; padding: 1px 8px;
}
.nav-dropdown-menu a:hover .nav-dropdown-count { opacity: .9; }

/* Mobile sub-nav (categories under Products) */
.mobile-nav-sub {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 4px 0 8px; margin-left: 24px;
}
.mobile-nav-sub a {
  font-size: 13px; font-weight: 500; color: var(--fg-soft);
  padding: 6px 12px; border-radius: 8px;
}
.mobile-nav-sub a:hover { color: var(--fg); background: hsla(0,0%,100%,.06); }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-switch-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 8px;
  background: hsla(0,0%,100%,.06);
  border: 1px solid hsla(220,6%,25%,.6);
  color: var(--fg); font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background .15s, border-color .15s;
}
.lang-switch-btn:hover { background: hsla(0,0%,100%,.1); border-color: hsla(200,90%,58%,.4); }
.lang-switch-btn svg { color: var(--fg-soft); transition: transform .2s; }
.lang-switch.open .lang-switch-btn svg { transform: rotate(180deg); }
.lang-switch-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 170px;
  background: #14161b; border: 1px solid hsla(220,6%,25%,.6);
  border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,.55);
  display: none; flex-direction: column; z-index: 80;
}
.lang-switch.open .lang-switch-menu { display: flex; }
.lang-switch-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 8px 12px; border-radius: 8px;
  color: var(--fg-soft); font-size: 13px; font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.lang-switch-menu a:hover { background: hsla(0,0%,100%,.06); color: var(--fg); }
.lang-switch-menu a.active { color: var(--primary); background: hsla(200,90%,58%,.08); }
.lang-switch-menu .lang-code {
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  opacity: .55;
}
.mobile-lang {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  max-width: 320px;
}
.mobile-lang a {
  font-size: 13px; font-weight: 500;
  color: var(--fg-soft);
  padding: 7px 12px; border-radius: 8px;
  border: 1px solid hsla(220,6%,25%,.6);
  transition: color .2s, border-color .2s;
}
.mobile-lang a.active { color: var(--primary); border-color: hsla(200,90%,58%,.5); }

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
  z-index: 60;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile menu overlay ---------- */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 55;
  background: hsla(220,8%,4%,.98);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-nav {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.mobile-menu-nav a {
  font-size: 1.25rem; font-weight: 600;
  color: var(--fg-soft);
  padding: 12px 24px;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active { color: var(--fg); background: hsla(0,0%,100%,.06); }
.mobile-menu-nav a.active { color: var(--primary); }
.mobile-menu-cta { width: 220px; }

@media (max-width: 880px) {
  .header-nav { display: none; }
  .header-cta   { display: none; }
  .hamburger    { display: flex; }
}

/* ---------- Sections ---------- */
.section {
  padding: 80px var(--pad);
  position: relative;
  overflow: hidden;
}
.section-alt {
  background: linear-gradient(180deg, var(--bg), hsla(220,7%,10%,.3), var(--bg));
}

/* Glow orb decorations */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.glow-primary {
  width: 600px; height: 600px;
  background: hsla(200,90%,58%,.08);
  filter: blur(120px);
}
.glow-accent {
  width: 500px; height: 500px;
  background: hsla(38,60%,58%,.06);
  filter: blur(100px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--bg), var(--bg), hsla(200,90%,58%,.05));
}
.hero-inner {
  position: relative; z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-text h1 { line-height: 1.08; }
.hero-sub {
  font-size: 18px; color: var(--fg-soft);
  max-width: 600px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid hsla(220,6%,18%,.4);
  max-width: 500px;
}
.hero-stat-value {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.hero-stat-value .suffix { font-size: .75em; font-weight: 500; margin-left: 2px; }
.hero-stat-value .suffix-primary { color: var(--primary); }
.hero-stat-value .suffix-accent { color: var(--accent); }
.hero-stat-label {
  font-size: 12px; color: var(--fg-soft);
  letter-spacing: .12em; margin-top: 4px;
}

/* Hero video — reference-image vignette effect.
   Center stays crystal clear; a strong radial gradient darkens the
   outer ring so the video melts into the #06080f page background. */
.hero-video-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.hero-video-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--fg-soft);
  text-align: center;
  opacity: 0.7;
  letter-spacing: 0.02em;
}
.hero-video-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px; aspect-ratio: 1/1;
  background: #06080f;
  /* Soft circle mask: visible in center, feathered edge. */
  -webkit-mask-image: radial-gradient(circle at center,
    black 0%, black 45%, transparent 72%);
  mask-image: radial-gradient(circle at center,
    black 0%, black 45%, transparent 72%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* Strong vignette overlay.
   0-25%   : transparent — ring stays sharp
   25-55%  : slow fade begins
   55-80%  : steady darkening
   80-100% : full blend to #06080f */
.hero-video-box::after {
  content: '';
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at center,
    transparent 25%,
    rgba(6,8,15,.05) 35%,
    rgba(6,8,15,.14) 45%,
    rgba(6,8,15,.28) 55%,
    rgba(6,8,15,.46) 64%,
    rgba(6,8,15,.64) 73%,
    rgba(6,8,15,.80) 81%,
    rgba(6,8,15,.92) 89%,
    #06080f 92%);
}
.hero-video-box video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1.05);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--fg-soft);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-arrow {
  animation: scrollBounce 1.5s infinite ease-in-out;
  display: flex; align-items: center; justify-content: center;
}
.scroll-arrow svg { width: 18px; height: 18px; opacity: .6; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- Stats section (full width bar) ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid hsla(220,6%,18%,.4);
  border-bottom: 1px solid hsla(220,6%,18%,.4);
  background: hsla(0,0%,100%,.01);
}
.stat-item {
  padding: 32px 24px; text-align: center;
  border-right: 1px solid hsla(220,6%,18%,.4);
}
.stat-item:last-child { border-right: none; }
.stat-val {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -.02em;
}
.stat-lbl {
  font-size: 11px; color: var(--fg-soft);
  letter-spacing: .15em; text-transform: uppercase; margin-top: 6px;
}
@media (max-width: 880px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid hsla(220,6%,18%,.4); }
}

/* ---------- Cards (3-col advantage / feature) ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.card-glass {
  position: relative;
  padding: 36px 28px;
  background: hsla(220,7%,10%,.5);
  backdrop-filter: blur(8px);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-xl);
  transition: all .3s;
  overflow: hidden;
}
.card-glass:hover {
  border-color: hsla(200,90%,58%,.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px hsla(200,90%,58%,.15);
}
.card-glass .card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, hsla(200,90%,58%,.2), hsla(38,60%,58%,.1));
  border: 1px solid hsla(200,90%,58%,.2);
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 20px;
  transition: transform .3s;
}
.card-glass:hover .card-icon { transform: scale(1.1); }
.card-glass h3 { margin-bottom: 4px; font-size: 1.1rem; }
.card-glass .card-highlight {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.card-glass .card-subtitle {
  color: var(--primary);
  font-size: 13px;
  margin-top: 2px;
  margin-bottom: 8px;
}
.card-glass p { color: var(--fg-soft); font-size: 14px; line-height: 1.65; }

@media (max-width: 880px) {
  .cards-3 { grid-template-columns: 1fr; }
  #technology .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  #technology .cards-3 { grid-template-columns: 1fr; }
}

/* ---------- APP Customization Demo (Why Bonlala section) ---------- */
.app-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.app-demo-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 0 60px rgba(46,184,245,.08);
}
.app-demo-media {
  width: 100%;
  height: auto;
  display: block;
}
.app-demo-text h2 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
}
.app-demo-text p {
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 480px;
}
.app-demo-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-demo-features li {
  font-size: 14px;
  color: var(--fg-soft);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.app-demo-features .check {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .app-demo {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .app-demo-text h2 { font-size: 1.3rem; }
}

/* ---------- Product Carousel ---------- */
.products-slider {
  max-width: var(--max-w);
  margin: 0 auto;
}
.product-carousel {
  max-width: var(--max-w);
  margin: 0 auto;
  overflow-x: clip;       /* clip horizontally, keep vertical hover lift visible */
}
.products-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.products-track .product-card {
  flex: 0 0 calc((100% - 48px) / 3);   /* 3 per view, 2 gaps of 24px */
}
/* Carousel controls: arrows flanking the dots, below the cards */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 34px;
}
/* Carousel arrows */
.carousel-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid hsla(200,90%,58%,.35);
  background: hsla(220,8%,10%,.9);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 24px; line-height: 1;
  cursor: pointer;
  display: none;               /* shown by JS only when >1 page */
  align-items: center;
  justify-content: center;
  transition: all .3s;
  padding: 0;
  flex-shrink: 0;
}
.carousel-arrow:hover {
  background: hsla(200,90%,58%,.18);
  border-color: hsla(200,90%,58%,.65);
  box-shadow: 0 0 24px hsla(200,90%,58%,.3);
}
/* Carousel dots */
.carousel-dots {
  display: none;               /* shown by JS only when >1 page */
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 100px;
  background: hsla(220,6%,18%,.7);
  border: 0; padding: 0; cursor: pointer;
  transition: all .35s;
}
.carousel-dot:hover { background: hsla(200,90%,58%,.5); }
.carousel-dot.active {
  width: 26px;
  background: var(--primary);
}
@media (max-width: 880px) {
  .products-track .product-card { flex: 0 0 100%; }
}
.product-card {
  position: relative;
  background: hsla(220,7%,10%,.6);
  backdrop-filter: blur(8px);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all .4s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: hsla(200,90%,58%,.3);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px hsla(200,90%,58%,.1);
}
/* Top gradient accent line */
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, hsla(200,90%,58%,.5), transparent);
  opacity: 0; transition: opacity .4s; z-index: 2;
}
.product-card:hover::before { opacity: 1; }

.product-img {
  aspect-ratio: 4/3;
  background: radial-gradient(circle at center, hsla(200,90%,58%,.08), transparent 65%), hsla(220,8%,6%,.5);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-img img {
  max-width: 76%; max-height: 76%; object-fit: contain;
  filter: drop-shadow(0 12px 30px hsla(200,90%,58%,.25));
  transition: transform .6s;
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-tier {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 12px; border-radius: 100px;
  font-size: 10px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.tier-entry {
  background: hsla(220,7%,14%,.7);
  color: var(--fg-soft);
  border: 1px solid hsla(220,6%,18%,.4);
}
.tier-pro {
  background: hsla(200,90%,58%,.15);
  color: var(--primary);
  border: 1px solid hsla(200,90%,58%,.3);
}
.tier-flagship {
  background: linear-gradient(135deg, hsla(38,60%,58%,.18), hsla(45,60%,58%,.18));
  color: var(--accent);
  border: 1px solid hsla(38,60%,58%,.3);
}
.product-housing-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 4px 10px; border-radius: 4px;
  font-size: 10px; font-weight: 600;
  background: hsla(38,60%,58%,.1);
  border: 1px solid hsla(38,60%,58%,.2);
  color: var(--accent);
}

.product-body {
  padding: 24px;
  flex: 1;
  display: flex; flex-direction: column;
}
.product-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.product-tagline { color: var(--fg-soft); font-size: 13px; margin-bottom: 16px; }
.product-specs {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.product-specs li {
  font-size: 13px; color: var(--fg-soft);
  padding-left: 20px; position: relative;
}
.product-specs li::before {
  content: '▸'; position: absolute; left: 0; color: var(--primary); font-size: 10px; top: 4px;
}
.product-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px;
}
.tag {
  padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 500;
  background: hsla(200, 90%, 58%, .08);
  border: 1px solid hsla(200, 90%, 58%, .5);
  color: hsl(200 92% 72%);
}
.product-footer {
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid hsla(220,6%,18%,.4);
  display: flex; justify-content: space-between; align-items: center;
}
.product-moq {
  font-size: 12px; color: var(--accent);
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.product-cta {
  display: flex; gap: 10px;
}

/* ---------- Product Showcase (4-col) ---------- */
.products-category-head {
  max-width: var(--max-w);
  margin: 0 auto 28px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid hsla(220,6%,25%,.6);
  padding-bottom: 16px;
}
.products-category-head h2 {
  margin: 0; font-size: 26px; letter-spacing: -.01em;
}
.products-category-back {
  font-size: 13px; font-weight: 500; color: var(--fg-soft);
  text-decoration: none; white-space: nowrap;
  transition: color .15s;
}
.products-category-back:hover { color: var(--primary); }
/* Grouped category blocks on the all-products page */
.products-category-block { margin-bottom: 48px; }
.products-category-block:last-child { margin-bottom: 0; }
.products-category-title {
  max-width: var(--max-w);
  margin: 0 auto 24px;
  font-size: 22px; letter-spacing: -.01em;
  padding-bottom: 12px;
  border-bottom: 1px solid hsla(220,6%,25%,.6);
}
.product-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (max-width: 1000px) { .product-showcase { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-showcase { grid-template-columns: 1fr; } }

/* ---------- Feature grid (tech / about) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.feature-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 20px 20px;
  background: hsla(220,7%,10%,.3);
  border: 1px solid hsla(220,6%,18%,.3);
  border-radius: var(--radius-lg);
  transition: all .3s;
}
.feature-card-row {
  display: flex; gap: 16px; align-items: flex-start;
}
.feature-card:hover {
  border-color: hsla(200,90%,58%,.3);
  background: hsla(220,7%,10%,.6);
}
.feature-card .card-highlight {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 2px;
  transition: transform .3s;
}
.feature-card:hover .card-highlight { transform: scale(1.05); }
.feature-icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, hsla(200,90%,58%,.2), hsla(38,60%,58%,.1));
  border: 1px solid hsla(200,90%,58%,.2);
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform .3s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card h4 { font-size: .95rem; margin-bottom: 2px; }
.feature-card p { color: var(--fg-soft); font-size: 13px; line-height: 1.55; }

/* Feature card hover gallery — block child, collapsed by default */
.feature-card .feature-card-gallery {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height .45s ease, opacity .35s ease, transform .35s ease, margin-top .35s ease;
  margin-top: 0;
  border-radius: var(--radius-sm);
  background: hsla(220,7%,8%,.95);
}
.feature-card.has-preview:hover {
  z-index: 20;
}
.feature-card.has-preview:hover .feature-card-gallery {
  max-height: 360px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 14px;
}
.feature-card-gallery .gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-sm);
}
.feature-card-gallery .gallery-track::-webkit-scrollbar { display: none; }
.feature-card-gallery .gallery-track img,
.feature-card-gallery .gallery-track video {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  scroll-snap-align: start;
}
.feature-card-gallery .gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  opacity: 0;
  transition: opacity .2s;
}
.feature-card.has-preview:hover .gallery-arrow { opacity: 1; }
.feature-card-gallery .gallery-arrow.gallery-prev { left: 6px; }
.feature-card-gallery .gallery-arrow.gallery-next { right: 6px; }
.feature-card-gallery .gallery-dots {
  display: flex; justify-content: center; gap: 5px;
  margin-top: 8px;
}
.feature-card-gallery .gallery-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsla(220,7%,60%,.35);
  transition: background .2s;
  cursor: pointer;
}
.feature-card-gallery .gallery-dot.active { background: var(--primary); }

@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Stats grid (about) ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-card {
  padding: 24px 18px;
  background: hsla(220,7%,10%,.4);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color .3s;
}
.stat-card:hover { border-color: hsla(200,90%,58%,.3); }
.stat-card .stat-icon {
  font-size: 22px; color: var(--primary); margin-bottom: 10px;
}
.stat-card .stat-number {
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.stat-card .stat-desc {
  font-size: 11px; color: var(--fg-soft);
  letter-spacing: .12em; margin-top: 4px;
}
@media (max-width: 880px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Process Timeline ---------- */
.process-timeline {
  position: relative;
  max-width: 960px; margin: 0 auto;
  padding: 0;
}
.process-timeline::before {
  content: '';
  position: absolute; left: 23px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, hsla(200,90%,58%,.4), hsla(220,6%,18%,.4), hsla(38,60%,58%,.3));
}
.process-step {
  position: relative;
  display: flex; gap: 20px;
  padding: 0 0 28px 0;
}
.process-step:last-child { padding-bottom: 0; }
.process-dot {
  position: relative; z-index: 1;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-foreground);
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 20px hsla(200,90%,58%,.2);
}
.process-content { flex: 1; padding-top: 6px; }
.process-content h4 { font-size: 1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.process-duration {
  font-size: 11px; padding: 2px 8px; border-radius: 100px;
  background: var(--bg-muted);
  color: var(--fg-soft);
  font-weight: 500;
}
.process-content p { color: var(--fg-soft); font-size: 13px; line-height: 1.55; }

/* ---------- Color chips ---------- */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.color-chip {
  padding: 16px 18px;
  background: hsla(220,7%,10%,.5);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 14px;
  transition: border-color .2s;
}
.color-chip:hover { border-color: var(--border-strong); }
.color-swatch {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-strong); flex-shrink: 0;
}
.color-chip-name { font-weight: 600; font-size: 14px; }

/* ---------- Module grid ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.module-card {
  padding: 22px 16px;
  background: hsla(220,7%,10%,.5);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600; font-size: 14px;
  transition: border-color .2s;
}
.module-card:hover { border-color: var(--border-strong); }
.module-card .em {
  font-size: 28px; display: block; margin-bottom: 10px;
}

/* ---------- 2-col layout (tech, about, app) ---------- */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.grid-2col-rev .col-img { order: -1; }
.col-text { display: flex; flex-direction: column; gap: 24px; }
.col-text .pill { align-self: flex-start; }
.col-text h2 { line-height: 1.12; }
.col-text p { color: var(--fg-soft); font-size: 15px; line-height: 1.7; }

.col-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid hsla(220,6%,18%,.4);
}
.col-img img {
  width: 100%; height: auto; object-fit: cover;
}
.col-img .img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,17,23,.6) 100%);
  pointer-events: none;
}

@media (max-width: 880px) {
  .grid-2col { grid-template-columns: 1fr; gap: 40px; }
  .grid-2col-rev .col-img { order: 0; }
}

/* ---------- Gallery grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid hsla(220,6%,18%,.4);
  cursor: pointer;
  transition: transform .3s, border-color .3s;
}
.gallery-item:hover { transform: scale(1.02); border-color: var(--border-strong); }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; left: 14px; bottom: 14px;
  color: var(--fg); font-size: 12px; z-index: 1;
  font-weight: 500;
}
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, hsla(200,90%,58%,.08), hsla(200,90%,58%,.04), hsla(38,60%,58%,.06));
  border: 1px solid hsla(200,90%,58%,.2);
  text-align: center;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, hsla(200,90%,58%,.15), transparent 70%);
  pointer-events: none;
}
.cta-strip h2 { margin-bottom: 12px; }
.cta-strip p { color: var(--fg-soft); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-strip .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-info {
  padding: 36px;
  background: hsla(220,7%,10%,.6);
  backdrop-filter: blur(8px);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-xl);
  display: flex; flex-direction: column; gap: 18px;
}
.contact-info h2 { margin-bottom: 4px; }
.contact-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed hsla(220,6%,18%,.3);
}
.contact-row:last-child { border-bottom: none; }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, hsla(200,90%,58%,.2), hsla(38,60%,58%,.1));
  border: 1px solid hsla(200,90%,58%,.2);
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-row-label { font-size: 10px; color: var(--fg-soft); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.contact-row-value { font-weight: 500; font-size: 14px; word-break: break-all; }

/* Contact form */
.contact-form {
  padding: 36px;
  background: hsla(220,7%,10%,.6);
  backdrop-filter: blur(8px);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-xl);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: span 2; }
.field-label {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  background: hsla(220,7%,14%,.5);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: 8px;
  color: var(--fg);
  transition: border-color .15s, background .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: hsla(200,90%,58%,.06);
}
/* Expanded dropdown options: dark bg + light text so the list stays readable */
select option {
  background: hsl(220 8% 13%);
  color: var(--fg);
}
textarea { resize: vertical; min-height: 120px; }

.contact-company {
  padding: 28px;
  background: linear-gradient(135deg, hsla(200,90%,58%,.1), hsla(200,90%,58%,.04), hsla(38,60%,58%,.06));
  border: 1px solid hsla(200,90%,58%,.2);
  border-radius: var(--radius-xl);
  margin-top: 20px;
  display: flex; align-items: center; gap: 14px;
}
.contact-company-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, hsla(200,90%,58%,.2), hsla(38,60%,58%,.1));
  border: 1px solid hsla(200,90%,58%,.2);
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
  .chip-group { gap: 8px !important; }
}

/* ---------- Form sections & chips ---------- */
.form-section {
  border-top: 1px solid hsla(220,6%,18%,.4);
  padding-top: 28px;
  margin-top: 28px;
}
.form-section:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.form-section-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title .step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0a0e14;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.form-section-desc {
  font-size: 13px;
  color: var(--fg-soft);
  margin-bottom: 18px;
}
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid hsla(220,6%,18%,.5);
  background: hsla(220,7%,14%,.4);
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}
.chip:hover {
  border-color: hsla(200,90%,58%,.4);
  background: hsla(200,90%,58%,.06);
}
.chip-input:checked + .chip {
  border-color: var(--primary);
  background: linear-gradient(135deg, hsla(200,90%,58%,.15), hsla(38,60%,58%,.08));
  color: var(--primary);
  font-weight: 600;
}
.chip .chip-icon {
  font-size: 15px;
}
.form-hint {
  font-size: 11px;
  color: var(--fg-soft);
  margin-top: 6px;
  font-style: italic;
}

/* ---------- Success message ---------- */
.success-box {
  text-align: center; padding: 48px 24px;
}
.success-icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsla(130,54%,42%,.2), hsla(130,54%,42%,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--success);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid hsla(220,6%,18%,.3);
  background: var(--bg-card);
  padding: 64px var(--pad) 24px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-brand {
  flex: 2 1 240px;
  min-width: 220px;
  display: flex; flex-direction: column; gap: 16px;
}
.footer-cols {
  flex: 3 1 420px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-cols > div { flex: 1 1 130px; min-width: 130px; }
.footer-brand-row {
  display: flex; align-items: center; gap: 10px;
}
.footer-logo {
  width: 40px; height: 40px;
  object-fit: contain;
}
.footer-brand-name { font-weight: 700; font-size: 17px; }
.footer-brand-sub { font-size: 11px; color: var(--fg-soft); }
.footer-grid h4 {
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--fg); margin-bottom: 16px;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 8px; }
.footer-grid li a { color: var(--fg-soft); font-size: 13px; }
.footer-grid li a:hover { color: var(--primary); }
.footer-grid li .contact-info-row {
  font-size: 13px; color: var(--fg-soft);
  display: flex; gap: 6px; align-items: flex-start;
}
.footer-grid li .contact-info-row .icon { color: var(--primary); flex-shrink: 0; width: 16px; text-align: center; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid hsla(220,6%,18%,.3);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-soft);
  flex-wrap: wrap; gap: 12px;
}
.footer-cert { display: flex; gap: 16px; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: hsla(220, 6%, 20%, .6);
  color: var(--fg-soft);
  transition: all .2s;
}
.footer-social a:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 880px) { .footer-cols { flex: 1 1 100%; } }
@media (max-width: 580px) { .footer-grid { flex-direction: column; } }

/* ---------- Product detail ---------- */
.prod-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  max-width: var(--max-w); margin: 0 auto;
  padding: 120px var(--pad) 60px;
  align-items: center;
}
.prod-gallery {
  position: relative; aspect-ratio: 1/1;
  background: radial-gradient(circle at center, hsla(200,90%,58%,.08), transparent 70%), hsla(220,7%,10%,.3);
  border-radius: var(--radius-xl);
  border: 1px solid hsla(220,6%,18%,.4);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.prod-gallery img { max-width: 84%; max-height: 84%; filter: drop-shadow(0 20px 40px hsla(200,90%,58%,.25)); }
.prod-thumbs { display: flex; gap: 10px; margin-top: 14px; justify-content: center; flex-wrap: wrap; }
.prod-thumb {
  width: 60px; height: 60px;
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: 10px;
  background: hsla(220,7%,10%,.5);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .15s; padding: 4px;
}
.prod-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.prod-thumb:hover, .prod-thumb.active { border-color: var(--primary); transform: scale(1.04); }

.specs-table {
  width: 100%; border-collapse: collapse;
  background: hsla(220,7%,10%,.4);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 24px;
}
.specs-table tr + tr td { border-top: 1px solid hsla(220,6%,18%,.4); }
.specs-table td { padding: 14px 18px; font-size: 13px; }
.specs-table td:first-child { color: var(--fg-soft); width: 40%; font-weight: 500; }
.specs-table td:last-child { color: var(--fg); }

@media (max-width: 880px) { .prod-hero { grid-template-columns: 1fr; gap: 30px; padding: 100px var(--pad) 30px; } }

/* ---------- 404 ---------- */
.not-found {
  min-height: 70vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px var(--pad) 60px;
}
.not-found h1 { font-size: clamp(4rem, 10vw, 8rem); }
.not-found p { color: var(--fg-soft); margin: 16px 0 32px; font-size: 17px; }

/* ---------- Section sub-header ---------- */
.section-subhead {
  text-align: center; font-size: 17px; font-weight: 700;
  color: var(--fg); margin-bottom: 28px; margin-top: 56px;
}
.section-subhead:first-of-type { margin-top: 0; }

/* ---------- Customization cards ---------- */
.customize-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.custom-card {
  padding: 24px;
  background: hsla(220,7%,10%,.4);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-md);
  transition: all .3s;
}
.custom-card:hover { border-color: var(--border-strong); }
.custom-card .custom-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, hsla(200,90%,58%,.2), hsla(38,60%,58%,.1));
  border: 1px solid hsla(200,90%,58%,.2);
  color: var(--primary);
  margin-bottom: 14px;
  transition: transform .3s;
}
.custom-card .custom-icon svg { width: 22px; height: 22px; }
.custom-card:hover .custom-icon { transform: scale(1.1); }
.custom-card h4 { font-size: 1rem; margin-bottom: 4px; }
.custom-card p { color: var(--fg-soft); font-size: 13px; line-height: 1.55; }
/* Hover-expand gallery for left-column cards */
.custom-card.has-preview { cursor: pointer; position: relative; z-index: 1; }
.custom-card.has-preview:hover { z-index: 10; }
.custom-card .custom-gallery {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height .45s ease, opacity .35s ease, transform .35s ease, margin .35s ease;
  margin-top: 0;
  border-radius: var(--radius-sm);
  position: relative;
}
.custom-card.has-preview:hover .custom-gallery {
  max-height: 380px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 14px;
}
.custom-gallery .gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-sm);
}
.custom-gallery .gallery-track::-webkit-scrollbar { display: none; }
.custom-gallery .gallery-track img,
.custom-gallery .gallery-track video {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  scroll-snap-align: start;
}
/* Gallery arrows */
.custom-gallery .gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  opacity: 0;
  transition: opacity .2s;
}
.custom-card.has-preview:hover .gallery-arrow { opacity: 1; }
.gallery-arrow.gallery-prev { left: 6px; }
.gallery-arrow.gallery-next { right: 6px; }
/* Gallery dots */
.custom-gallery .gallery-dots {
  display: flex; justify-content: center; gap: 5px;
  margin-top: 8px;
}
.gallery-dots .gallery-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsla(220,7%,60%,.35);
  transition: background .2s;
}
.gallery-dots .gallery-dot.active { background: var(--primary); }
}
@media (max-width: 640px) { .customize-grid { grid-template-columns: 1fr; } }

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px;
  background: linear-gradient(135deg, hsla(220,7%,10%,.6), hsla(220,7%,10%,.3), hsla(220,7%,10%,.6));
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-xl);
}
.team-role {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.team-role .role-icon { font-size: 28px; color: var(--primary); }
.team-role .role-name { font-size: 12px; color: var(--fg-soft); }
.team-role .role-count { font-size: 18px; font-weight: 700; }
@media (max-width: 880px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA bar (between sections) ---------- */
.cta-bar {
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, hsla(200,90%,58%,.08), hsla(200,90%,58%,.03), hsla(38,60%,58%,.05));
  border: 1px solid hsla(200,90%,58%,.2);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.cta-bar h4 { font-size: 1.05rem; }
.cta-bar p { font-size: 13px; color: var(--fg-soft); }

/* ---------- About Us v2 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.about-media { position: relative; }
.about-carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid hsla(220,6%,18%,.4);
  background: var(--bg-card);
  aspect-ratio: 4/3;
}

/* full-width banner variant for About Us page top */
.about-carousel--full {
  aspect-ratio: 21/9;
  border-radius: var(--radius-xl);
}

.about-carousel__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  color: var(--text-muted);
  background: var(--bg-surface, var(--bg-card));
}
.about-carousel__placeholder svg {
  width: 48px; height: 48px;
  opacity: .3;
}
.about-carousel__placeholder p {
  font-size: .9rem;
  opacity: .5;
}
.about-carousel__track {
  position: relative;
  width: 100%; height: 100%;
}
.about-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.about-carousel__slide.active { opacity: 1; }
.about-carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-carousel__prev,
.about-carousel__next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.5);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 3;
}
.about-carousel__prev:hover,
.about-carousel__next:hover { background: rgba(0,0,0,.75); }
.about-carousel__prev { left: 14px; }
.about-carousel__next { right: 14px; }
.about-carousel__prev svg,
.about-carousel__next svg { width: 18px; height: 18px; }
.about-carousel__dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.about-carousel__dots button {
  width: 8px; height: 8px;
  border-radius: 50%; border: none;
  background: rgba(255,255,255,.35);
  cursor: pointer; padding: 0;
  transition: background .3s, transform .3s;
}
.about-carousel__dots button.active { background: var(--primary); transform: scale(1.4); }

.about-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about-content h2 { line-height: 1.12; }
.about-content p { color: var(--fg-soft); font-size: 15px; line-height: 1.7; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.about-stat {
  padding: 20px;
  background: hsla(220,7%,10%,.4);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-md);
  transition: border-color .3s;
}
.about-stat:hover { border-color: hsla(200,90%,58%,.3); }
.about-stat__icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, hsla(200,90%,58%,.2), hsla(38,60%,58%,.1));
  border: 1px solid hsla(200,90%,58%,.2);
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 12px;
}
.about-stat__value {
  font-size: 1.6rem; font-weight: 800;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.about-stat__value span { font-size: .75em; font-weight: 500; color: var(--primary); margin-left: 2px; }
.about-stat__label {
  font-size: 12px; color: var(--fg-soft);
  letter-spacing: .1em; margin-top: 4px;
}
.about-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-content { text-align: center; align-items: center; }
  .about-content .pill { align-self: center; }
  .about-stats { max-width: 480px; width: 100%; }
}

/* ---------- Technical Capabilities ---------- */
.techcap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.techcap-card {
  padding: 36px 24px;
  background: hsla(220,7%,10%,.5);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all .3s;
}
.techcap-card:hover {
  border-color: hsla(200,90%,58%,.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px hsla(200,90%,58%,.15);
}
.techcap-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, hsla(200,90%,58%,.2), hsla(38,60%,58%,.1));
  border: 1px solid hsla(200,90%,58%,.2);
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 18px;
  transition: transform .3s;
}
.techcap-card:hover .techcap-icon { transform: scale(1.1); }
.techcap-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

@media (max-width: 880px) { .techcap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .techcap-grid { grid-template-columns: 1fr; } }

/* ---------- Admin styling ---------- */
.admin-body {
  background: var(--bg-card);
  min-height: 100vh;
}
.admin-header {
  background: var(--bg);
  border-bottom: 1px solid hsla(220,6%,18%,.4);
  padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-sidebar {
  background: var(--bg);
  border-right: 1px solid hsla(220,6%,18%,.4);
  width: 220px; min-height: calc(100vh - 56px);
  padding: 20px 0;
}
.admin-sidebar a {
  display: block; padding: 10px 24px;
  color: var(--fg-soft); font-size: 14px; font-weight: 500;
  transition: all .15s;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  color: var(--primary);
  background: hsla(200,90%,58%,.08);
}
.admin-content {
  padding: 32px;
  background: var(--bg-card);
  min-height: calc(100vh - 56px);
}
.admin-content h2 { margin-bottom: 24px; }
.admin-table {
  width: 100%; border-collapse: collapse;
  background: hsla(220,7%,10%,.4);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; font-size: 13px; }
.admin-table th { background: var(--bg-muted); font-weight: 600; color: var(--fg-soft); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.admin-table tr + tr td { border-top: 1px solid hsla(220,6%,18%,.4); }
.admin-table tr:hover td { background: hsla(0,0%,100%,.02); }
.admin-card {
  background: hsla(220,7%,10%,.5);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
}
.admin-form-group { margin-bottom: 16px; }
.admin-form-group label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--fg-soft); margin-bottom: 6px;
  letter-spacing: .06em;
}
.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
  background: var(--bg);
  border: 1px solid hsla(220,6%,18%,.4);
}

/* Notification */
.toast { position: fixed; top: 24px; right: 24px; z-index: 100; padding: 14px 24px; border-radius: var(--radius-md); font-weight: 500; font-size: 14px; }
.toast-success { background: hsla(130,54%,42%,.2); border: 1px solid hsla(130,54%,42%,.4); color: var(--success); }

/* ---------- Admin login ---------- */
.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.login-card {
  width: 380px; padding: 40px;
  background: var(--bg-card);
  border: 1px solid hsla(220,6%,18%,.4);
  border-radius: var(--radius-xl);
}
.login-card h2 { text-align: center; margin-bottom: 28px; }
.login-error { color: var(--destructive); font-size: 13px; margin-bottom: 16px; text-align: center; }

/* ---------- Optional Housing ---------- */
.opt-housing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.opt-housing-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.opt-housing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.opt-housing-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-muted);
}
.opt-housing-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.opt-housing-desc {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--fg-soft);
  line-height: 1.5;
}

@media (max-width: 880px) {
  .opt-housing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ---------- News Cards (About Us page) ---------- */
.news-card {
  display: block;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  border-color: rgba(99,102,241,.25);
}
.news-card__image {
  width: 100%; height: 180px; overflow: hidden;
  background: rgba(0,0,0,.2);
}
.news-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.news-card:hover .news-card__image img { transform: scale(1.05); }
.news-card__body {
  padding: 20px 22px 24px;
}
.news-card__date {
  display: inline-block;
  font-size: .75rem; color: var(--primary, #6366f1);
  font-weight: 600; letter-spacing: .5px;
  margin-bottom: 8px; text-transform: uppercase;
}
.news-card__title {
  font-size: 1.05rem; font-weight: 600;
  margin: 0 0 10px; line-height: 1.4;
  color: var(--fg, #f1f1f1);
}
.news-card__text {
  font-size: .88rem; line-height: 1.65;
  color: var(--muted, #999);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { align-items: center; }
  .hero-stats { max-width: 100%; justify-content: center; }
  .hero-sub { max-width: 100%; }
  .hero-video-wrap { margin-top: 24px; }
  .hero-video-box { max-width: 300px; }
  .news-grid { grid-template-columns: 1fr !important; }
}
