/* ═══════════════════════════════════════════════
   GAZ-METER LLC — Corporate Website Stylesheet
   Design: Deep Purple + Green accent (yeldra.com style)
   ═══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #07001f;
  --bg-2:       #0a0028;
  --bg-card:    #110038;
  --bg-card-2:  rgba(17,0,56,0.8);
  --accent:     #7c5cff;
  --accent-g:   #3dfd98;
  --accent-grd: linear-gradient(135deg, #7c5cff, #a990ff);
  --accent-grd2:linear-gradient(135deg, #7c5cff 0%, #9b7fff 50%, #3dfd98 100%);
  --accent-grd3:linear-gradient(135deg, #3dfd98, #7c5cff);
  --text:       #ffffff;
  --text-muted: #a09ab5;
  --text-dim:   #52486e;
  --border:     rgba(124,92,255,0.22);
  --border-2:   rgba(255,255,255,0.08);
  --radius:     14px;
  --radius-lg:  20px;
  --font:       'Inter', sans-serif;
  --font-head:  'Plus Jakarta Sans', sans-serif;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);

  /* ── Spacing tokens ── */
  --section-y:  80px;   /* vertical section padding */
  --gap:        22px;   /* standard grid gap */
  --card-p:     28px;   /* uniform card padding */
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── Container — 1280px max, 40px side-padding ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Typography ── */
.gradient-text {
  background: var(--accent-grd2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.15em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-g);
  background: rgba(61,253,152,0.08);
  border: 1px solid rgba(61,253,152,0.22);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 14px;
  color: #fff;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--accent-grd);
  color: #fff;
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(124,92,255,0.32);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(124,92,255,0.48);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.94rem;
  border-radius: 11px;
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══ NAVBAR ═══ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(7,0,31,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.logo-accent { color: var(--accent-g); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 7px 13px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--accent-grd) !important;
  color: #fff !important;
  padding: 7px 18px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(124,92,255,0.3);
  margin-left: 6px;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124,92,255,0.45) !important;
}

/* ── Language Switcher ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Language dropdown ── */
.lang-switcher {
  position: relative;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font: 600 0.75rem var(--font);
  color: var(--text-muted);
  transition: var(--transition);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.lang-current:hover,
.lang-switcher.open .lang-current {
  color: var(--text);
  border-color: rgba(124,92,255,0.4);
}
.lang-chevron {
  width: 10px;
  height: 6px;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #110038;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 4px;
  min-width: 76px;
  flex-direction: column;
  gap: 2px;
  z-index: 300;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.lang-switcher.open .lang-dropdown { display: flex; }

.lang-opt {
  display: block;
  padding: 7px 14px;
  border-radius: 6px;
  font: 600 0.75rem var(--font);
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: var(--transition);
  text-align: center;
}
.lang-opt:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.lang-opt.lang-active {
  background: var(--accent-grd);
  color: #fff;
}

/* Mobile lang section */
.mobile-lang {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding: 16px 0 6px;
}
.mobile-lang-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.mobile-lang-btns {
  display: flex;
  gap: 8px;
}
.lang-btn {
  flex: 1;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  border-radius: 9px;
  padding: 11px 8px;
  font: 600 0.8rem var(--font);
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  letter-spacing: 0.08em;
  transition: var(--transition);
  cursor: pointer;
}
.lang-btn:hover { color: var(--text); background: rgba(255,255,255,0.08); }
.lang-btn.lang-active {
  background: var(--accent-grd);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 12px rgba(124,92,255,0.35);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 20px 18px;
  background: rgba(7,0,31,0.98);
  border-top: 1px solid var(--border);
  gap: 2px;
}
.mobile-menu a {
  padding: 11px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ═══ HERO ═══ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero-orb-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124,92,255,0.38) 0%, rgba(124,92,255,0.04) 55%, transparent 70%);
  top: -200px; left: -200px;
}
.hero-orb-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(61,253,152,0.16) 0%, transparent 70%);
  bottom: -80px; right: -80px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,92,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 35% 50%, black 15%, transparent 68%);
}

.hero-row {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-g);
  background: rgba(61,253,152,0.08);
  border: 1px solid rgba(61,253,152,0.28);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-g);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: #fff;
}
.title-line { display: block; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 22px 28px;
  background: rgba(17,0,56,0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
}
.hstat {
  flex: 1;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hstat:first-child { padding-left: 0; }
.hstat:last-child  { padding-right: 0; }

.hstat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hstat-plus {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-g);
  margin-left: 1px;
  align-self: flex-end;
  margin-bottom: 3px;
}
.hstat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hstat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  flex-shrink: 0;
}

/* ── Hero Visual (right) ── */
.hero-visual {
  position: relative;
  width: 400px;
  height: 400px;
  flex-shrink: 0;
  pointer-events: none;
  z-index: 2;
}
.hv-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(124,92,255,0.13);
  animation: spin linear infinite;
}
.hv-ring-1 {
  inset: 0;
  border-top-color: rgba(124,92,255,0.6);
  animation-duration: 12s;
}
.hv-ring-2 {
  inset: 32px;
  border-right-color: rgba(61,253,152,0.5);
  animation-duration: 18s;
  animation-direction: reverse;
}
.hv-ring-3 {
  inset: 64px;
  border-bottom-color: rgba(124,92,255,0.35);
  animation-duration: 26s;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hv-core {
  position: absolute;
  inset: 98px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.15) 0%, rgba(7,0,31,0.88) 100%);
  border: 1px solid rgba(124,92,255,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hv-gauge { width: 80px; height: 80px; }
.hv-label {
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: rgba(124,92,255,0.8);
}
.hv-badge {
  position: absolute;
  background: rgba(17,0,56,0.94);
  border: 1px solid rgba(124,92,255,0.28);
  border-radius: 9px;
  padding: 8px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
  gap: 3px;
}
.hv-bval {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-g);
  line-height: 1;
}
.hv-btxt {
  font-size: 0.62rem;
  color: var(--text-dim);
  white-space: nowrap;
}
/* Badge positions scaled for 400px visual */
.hv-b1 { top: 14px;   left: 50%; transform: translateX(-50%); }
.hv-b2 { top: 50%;    right: -14px; transform: translateY(-50%); }
.hv-b3 { bottom: 48px; right: 6px; }
.hv-b4 { bottom: 14px; left: 50%; transform: translateX(-50%); }

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══ STATS STRIP ═══ */
#stats-strip {
  background: linear-gradient(135deg, rgba(124,92,255,0.1) 0%, rgba(61,253,152,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stats-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.strip-stat { text-align: center; }
.strip-stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-grd2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.strip-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ═══ PRODUCTS ═══ */
#products {
  padding: var(--section-y) 0;
  background: var(--bg);
}

/* 4-column auto-fill grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: var(--card-p);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-grd);
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.product-card:hover::before { opacity: 1; }

.product-card.featured {
  border-color: rgba(124,92,255,0.38);
  background: linear-gradient(145deg, #180048, var(--bg-card));
  box-shadow: 0 0 32px rgba(124,92,255,0.1);
}
.product-card.featured::before { opacity: 1; }

/* Full-width IoT card */
.product-card.featured-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  background: linear-gradient(135deg, #150044 0%, var(--bg-card) 100%);
  border-color: rgba(124,92,255,0.28);
}
.product-card.featured-wide .product-icon { flex-shrink: 0; width: 52px; height: 52px; }
.product-card.featured-wide .product-name { font-size: 1.25rem; }
.product-card.featured-wide .product-desc { max-width: 560px; }
.product-card.featured-wide .product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}
.product-card.featured-wide .product-left { flex: none; }
.product-card.featured-wide .product-right { flex: 1; }

.product-icon {
  width: 48px; height: 48px;
  background: rgba(124,92,255,0.1);
  border: 1px solid rgba(124,92,255,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.product-icon svg { width: 26px; height: 26px; }

.product-badge {
  position: absolute;
  top: var(--card-p); right: var(--card-p);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-g);
  background: rgba(61,253,152,0.1);
  border: 1px solid rgba(61,253,152,0.25);
  padding: 3px 9px;
  border-radius: 100px;
}

.product-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-g);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.product-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.product-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.spec-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-g);
  flex-shrink: 0;
}

.product-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 6px;
  transition: var(--transition);
}
.product-link:hover { opacity: 0.75; }

/* ═══ TECHNOLOGY ═══ */
#technology {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, #0a0028 0%, #07001f 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tech-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.09) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 36px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: var(--card-p);
  transition: var(--transition);
}
.tech-card:hover {
  border-color: rgba(124,92,255,0.28);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.4);
}

.tech-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--accent-grd2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  font-family: var(--font-head);
}

.tech-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(124,92,255,0.08);
  border: 1px solid rgba(124,92,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.tech-icon-wrap svg { width: 22px; height: 22px; }

.tech-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.tech-card p {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.67;
}

.tech-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.cert-item:hover {
  border-color: rgba(124,92,255,0.28);
  color: var(--text);
}
.cert-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-grd3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #07001f;
  font-weight: 800;
  flex-shrink: 0;
}

/* ═══ MARKETS ═══ */
#markets {
  padding: var(--section-y) 0;
  background: var(--bg);
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: var(--card-p);
  transition: var(--transition);
}
.market-card:hover {
  border-color: rgba(124,92,255,0.24);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.35);
}

.market-icon {
  width: 48px; height: 48px;
  background: rgba(124,92,255,0.08);
  border: 1px solid rgba(124,92,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.market-icon svg { width: 24px; height: 24px; }

.market-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.market-card p {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.67;
}

/* ═══ ABOUT ═══ */
#about {
  padding: var(--section-y) 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.about-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,253,152,0.06) 0%, transparent 70%);
  right: -120px; bottom: -120px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
}

.about-text {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-text strong { color: var(--text); font-weight: 600; }

.about-milestones {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.milestone {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ms-year {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-g);
  background: rgba(61,253,152,0.08);
  border: 1px solid rgba(61,253,152,0.2);
  padding: 2px 9px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.ms-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 22px var(--card-p);
  transition: var(--transition);
}
.about-stat-card:hover { border-color: rgba(124,92,255,0.28); }

.asc-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--accent-grd2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.asc-label {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.about-quote {
  background: linear-gradient(135deg, rgba(124,92,255,0.07), rgba(61,253,152,0.04));
  border: 1px solid rgba(124,92,255,0.2);
  border-radius: var(--radius);
  padding: 22px var(--card-p);
}
.about-quote blockquote {
  font-size: 0.97rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 10px;
}
.about-quote blockquote em {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-style: normal;
}
.about-quote cite {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: normal;
}

/* ═══ CONTACT ═══ */
#contact {
  padding: var(--section-y) 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 48px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-left .section-sub {
  margin-bottom: 32px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(124,92,255,0.1);
  border: 1px solid rgba(124,92,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.info-icon svg { width: 18px; height: 18px; }

.info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3px;
}
.info-value {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-2);
  border-radius: 9px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(124,92,255,0.5);
  background: rgba(124,92,255,0.04);
  box-shadow: 0 0 0 3px rgba(124,92,255,0.1);
}
.form-group select option { background: #07001f; }
.form-group textarea { resize: vertical; min-height: 100px; }

/* Field validation states (email + phone) */
.form-group input.field-valid {
  border-color: rgba(61,253,152,0.55) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10l5 5 7-9' stroke='%233dfd98' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  padding-right: 36px;
}
.form-group input.field-invalid {
  border-color: rgba(255,70,70,0.55) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 5l10 10M15 5L5 15' stroke='%23ff4646' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  padding-right: 36px;
}

.form-submit { width: 100%; justify-content: center; padding: 14px 28px; font-size: 0.95rem; }

.form-success {
  display: none;
  text-align: center;
  font-weight: 600;
  color: var(--accent-g);
  font-size: 0.9rem;
  padding: 12px;
  background: rgba(61,253,152,0.06);
  border: 1px solid rgba(61,253,152,0.2);
  border-radius: 9px;
}

/* ═══ FOOTER ═══ */
#footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 52px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 44px;
}

.footer-brand-block {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-desc {
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.footer-contact-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-contact-mini span:nth-child(2) { color: var(--text-dim); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 40px; height: 40px;
  border-radius: 9px;
  object-fit: cover;
}
.footer-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.footer-tagline {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 140px;
}
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent-g); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.footer-motto {
  font-style: italic;
  color: rgba(124,92,255,0.55);
}

/* ═══ ANIMATIONS ═══ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Nav active ── */
.nav-active { color: #fff !important; }

/* ═══ HOVER EFFECTS ═══ */

/* ── Logo ── */
.logo-img { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.logo-link:hover .logo-img { transform: scale(1.1); }

/* ── Nav links — animated gradient underline ── */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 13px; right: 13px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-g));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.nav-active::after { transform: scaleX(1); }

/* ── btn-primary — shimmer sweep ── */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: translateX(-150%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(310%); }

/* ── btn-ghost — subtle fill ── */
.btn-ghost:hover {
  background: rgba(124,92,255,0.07);
  box-shadow: inset 0 0 0 1px rgba(124,92,255,0.2);
}

/* ── Product card — icon animates on card hover ── */
.product-icon {
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              background var(--transition), border-color var(--transition);
}
.product-card:hover .product-icon {
  background: rgba(124,92,255,0.2);
  border-color: rgba(124,92,255,0.45);
  transform: scale(1.1) rotate(-5deg);
}

/* ── Product link — nudge + color shift ── */
.product-link:hover {
  opacity: 1;
  color: var(--accent-g);
  transform: translateX(5px);
}

/* ── Tech card — icon lifts on hover ── */
.tech-card { position: relative; overflow: hidden; }
.tech-icon-wrap {
  transition: transform 0.3s ease,
              background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.tech-card:hover .tech-icon-wrap {
  transform: translateY(-5px);
  background: rgba(124,92,255,0.17);
  border-color: rgba(124,92,255,0.36);
  box-shadow: 0 8px 18px rgba(124,92,255,0.18);
}

/* ── Market card — icon scale + rotate ── */
.market-card { position: relative; overflow: hidden; }
.market-icon {
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              background var(--transition), border-color var(--transition);
}
.market-card:hover .market-icon {
  background: rgba(124,92,255,0.2);
  border-color: rgba(124,92,255,0.4);
  transform: scale(1.1) rotate(-5deg);
}

/* ── About stat card — horizontal nudge + glow ── */
.about-stat-card:hover {
  border-color: rgba(124,92,255,0.4);
  transform: translateX(6px);
  box-shadow: -3px 0 18px rgba(124,92,255,0.1), 0 8px 24px rgba(0,0,0,0.35);
}

/* ── Milestone year badge glow ── */
.ms-year {
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.milestone:hover .ms-year {
  background: rgba(61,253,152,0.15);
  border-color: rgba(61,253,152,0.5);
  box-shadow: 0 0 12px rgba(61,253,152,0.28);
}

/* ── Cert items — scale + glow ── */
.cert-item:hover {
  border-color: rgba(124,92,255,0.44);
  color: var(--text);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(124,92,255,0.14);
}

/* ── Contact info icons ── */
.info-icon {
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              background var(--transition), border-color var(--transition);
}
.info-block:hover .info-icon {
  background: rgba(124,92,255,0.22);
  border-color: rgba(124,92,255,0.44);
  transform: scale(1.1);
}

/* ── Footer links — translateX nudge ── */
.footer-col a { transition: color var(--transition), transform var(--transition); }
.footer-col a:hover {
  color: var(--accent-g);
  transform: translateX(4px);
}

/* ── Glass spotlight (tracks mouse via JS --mx / --my) ── */
.about-stat-card { position: relative; overflow: hidden; }
.contact-form    { position: relative; overflow: hidden; }

.product-card::after,
.tech-card::after,
.market-card::after,
.about-stat-card::after,
.contact-form::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mx, -999px) var(--my, -999px),
    rgba(124,92,255,0.13),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.product-card.featured-wide::after {
  background: radial-gradient(
    900px circle at var(--mx, -999px) var(--my, -999px),
    rgba(124,92,255,0.09),
    transparent 55%
  );
}
.product-card:hover::after,
.tech-card:hover::after,
.market-card:hover::after,
.about-stat-card:hover::after,
.contact-form:hover::after { opacity: 1; }

/* Lift card content above the glass ::after layer */
.product-card .product-icon,
.product-card .product-name,
.product-card .product-category,
.product-card .product-desc,
.product-card .product-specs,
.product-card .product-link,
.tech-card .tech-num,
.tech-card .tech-icon-wrap,
.tech-card h4,
.tech-card p,
.market-card .market-icon,
.market-card h4,
.market-card p,
.about-stat-card .asc-value,
.about-stat-card .asc-label {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   Desktop   > 1100px  — default styles
   Tablet    600–1100px
   Phone     ≤ 600px
   ═══════════════════════════════════════════════════════════ */

/* ── ≤1100px  narrow desktop / tablet landscape ── */
@media (max-width: 1100px) {
  .container   { padding: 0 28px; }

  /* Hero — shrink visual proportionally (400→300px) */
  .hero-row    { gap: 44px; }
  .hero-visual { width: 300px; height: 300px; }
  .hv-ring-2   { inset: 24px; }
  .hv-ring-3   { inset: 48px; }
  .hv-core     { inset: 74px; }
  .hv-b1 { top: 10px; }
  .hv-b2 { right: -10px; }
  .hv-b3 { bottom: 36px; right: 4px; }
  .hv-b4 { bottom: 10px; }

  /* Products — 2-column */
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.featured-wide { flex-direction: column; gap: 20px; }
  .product-card.featured-wide .product-specs { grid-template-columns: 1fr 1fr; }
}

/* ── ≤900px  tablet landscape ── */
@media (max-width: 900px) {
  :root { --section-y: 64px; --gap: 18px; }

  /* Navigation → burger */
  .nav-links { display: none; }
  .nav-right { display: none; }
  .burger    { display: flex; }

  /* Hero — drop visual entirely */
  .hero-visual  { display: none; }
  .hero-row     { gap: 0; justify-content: flex-start; }
  .hero-content { max-width: 680px; }

  /* Technology — 2-col */
  .tech-grid   { grid-template-columns: repeat(2, 1fr); }

  /* About — single column */
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ── ≤768px  tablet portrait ── */
@media (max-width: 768px) {
  :root { --section-y: 56px; --card-p: 22px; }
  .container { padding: 0 20px; }

  .section-sub { max-width: 100%; }

  /* Hero stats — 2×2 grid (border-as-gap trick) */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    overflow: hidden;
    padding: 0;
    backdrop-filter: blur(14px);
  }
  .hstat {
    padding: 18px 20px;
    background: rgba(17,0,56,0.82);
  }
  .hstat:first-child  { padding-left: 20px; }
  .hstat:last-child   { padding-right: 20px; }
  .hstat-divider { display: none; }

  /* Stats strip — 3-column grid */
  .stats-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 18px;
  }
  .strip-stat-num { font-size: 2rem; }

  /* Products — keep 2-col (degrades to 1-col at 480px) */

  /* Markets — 2-col */
  .markets-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row     { grid-template-columns: 1fr; }

  /* Cert items — equal-width 2-column grid */
  .tech-certs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
  }
  .cert-item { justify-content: flex-start; }

  /* Footer */
  .footer-links { gap: 24px; }
}

/* ── ≤600px  large phone / phablet ── */
@media (max-width: 600px) {
  :root { --section-y: 52px; --gap: 14px; }

  /* Hero — stack CTA buttons full-width */
  .hero-badge { font-size: 0.68rem; padding: 5px 12px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* Stats strip — 2-col, last item spans full width */
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-stat:last-child { grid-column: 1 / -1; }
  .strip-stat-num { font-size: 1.8rem; }

  /* Markets — 1-col */
  .markets-grid { grid-template-columns: 1fr; }

  .about-milestones { gap: 10px; }
}

/* ── ≤480px  phone portrait ── */
@media (max-width: 480px) {
  :root { --card-p: 18px; }
  .container { padding: 0 16px; }

  /* Hero stats — tighter cells */
  .hstat-num   { font-size: 1.5rem; }
  .hstat-label { font-size: 0.62rem; }

  /* Products — 1-col */
  .products-grid { grid-template-columns: 1fr; }
  .product-card.featured-wide .product-specs { grid-template-columns: 1fr; }

  /* Technology — 1-col */
  .tech-grid { grid-template-columns: 1fr; }

  /* Cert items — single column */
  .tech-certs { grid-template-columns: 1fr; }

  /* Contact form */
  .contact-form { padding: 20px 16px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-brand-block { max-width: 100%; }
  .footer-links { gap: 20px; }
  .footer-bottom .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .footer-contact-mini {
    flex-direction: column;
    gap: 2px;
  }
  .footer-contact-mini span:nth-child(2) { display: none; }
}
