/* ============================================================
   Beholder Labs / GripIQ — Main Stylesheet
   Brand: Navy #264653 | Sienna #E76F51 | Sandy Brown #F4A261
          Persian Green #2A9D8F | Saffron #E9C46A
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --navy:        #264653;
  --navy-mid:    #203E49;
  --navy-light:  #315966;
  --purple:      #E76F51;
  --purple-light:#F4A261;
  --teal:        #2A9D8F;
  --teal-light:  #55B5AA;
  --gold:        #E9C46A;
  --offwhite:    #FFF8E8;
  --lavender:    #B8CBC9;
  --text:        #FFF8E8;
  --text-muted:  #C7D5D2;
  --border:      rgba(231,111,81,0.18);
  --border-teal: rgba(42,157,143,0.2);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;

  --shadow-purple: 0 0 40px rgba(231,111,81,0.25);
  --shadow-teal:   0 0 40px rgba(42,157,143,0.2);

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-w: 1200px;
  --section-py: 100px;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
  color: var(--offwhite);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-muted); }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text);
  line-height: 1.7;
}

.text-teal  { color: var(--teal); }
.text-purple{ color: var(--purple-light); }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-py) 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 64px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

.btn-primary:hover {
  background: var(--purple-light);
  border-color: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231,111,81,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-secondary:hover {
  background: rgba(42,157,143,0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,157,143,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--offwhite);
  border-color: rgba(248,246,251,0.2);
}

.btn-ghost:hover {
  background: rgba(248,246,251,0.06);
  border-color: rgba(248,246,251,0.4);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Cards ── */
.card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  border-color: rgba(231,111,81,0.4);
  box-shadow: var(--shadow-purple);
  transform: translateY(-4px);
}

.card.teal-accent:hover {
  border-color: rgba(42,157,143,0.4);
  box-shadow: var(--shadow-teal);
}

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}

.site-header.scrolled {
  background: rgba(38,70,83,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  padding: 3px;
  border: 1px solid rgba(233,196,106,0.28);
  border-radius: 13px;
  background: rgba(255,248,232,0.06);
  box-shadow: 0 8px 22px rgba(22,50,60,0.28);
}

.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--offwhite);
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--offwhite);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: var(--lavender);
  transition: color 0.2s, background 0.2s;
}

.nav-social a:hover {
  color: var(--teal);
  background: rgba(42,157,143,0.1);
}

.nav-social svg { width: 18px; height: 18px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  background: none;
  border: none;
  color: var(--offwhite);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--navy);
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--teal); }

.nav-mobile .mobile-social {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 16px;
}

.nav-mobile .mobile-social a {
  font-size: 0;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.nav-mobile .mobile-social svg { width: 20px; height: 20px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-glow-purple {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(231,111,81,0.2) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero-glow-teal {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(42,157,143,0.12) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,157,143,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,157,143,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 0%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42,157,143,0.1);
  border: 1px solid rgba(42,157,143,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--purple-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {}

.hero-stat .num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--offwhite);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .num span { color: var(--teal); }

.hero-stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.device-glow-ring {
  position: relative;
  display: inline-block;
}

.device-glow-ring::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(42,157,143,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: device-breathe 3s ease-in-out infinite;
}

@keyframes device-breathe {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.05); }
}

.device-glow-ring img {
  max-width: 480px;
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(42,157,143,0.3)) drop-shadow(0 0 30px rgba(231,111,81,0.2));
  animation: device-float 4s ease-in-out infinite;
}

@keyframes device-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* LED state switcher */
.led-states {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(38,70,83,0.88);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-family: var(--font-head);
  white-space: nowrap;
}

.led-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.led-dot.blue  { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.led-dot.green { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.led-dot.red   { background: var(--purple); box-shadow: 0 0 6px var(--purple); }

/* ── Section: How it works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 42px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 auto 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.step-card:hover .step-number {
  border-color: var(--teal);
  box-shadow: 0 0 20px rgba(42,157,143,0.3);
}

.step-card h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.step-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ── Section: Benefits ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 36px;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  background: rgba(231,111,81,0.12);
  border: 1px solid rgba(231,111,81,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--purple-light);
  font-size: 1.4rem;
  transition: background 0.2s, border-color 0.2s;
}

.benefit-card:hover .benefit-icon {
  background: rgba(231,111,81,0.2);
  border-color: var(--purple-light);
}

.benefit-card h4 { margin-bottom: 10px; font-size: 1.05rem; }

/* ── Section: Product Overview ── */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-showcase.reverse { direction: rtl; }
.product-showcase.reverse > * { direction: ltr; }

.product-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.product-image-wrap img {
  max-width: 440px;
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

.product-image-wrap::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(231,111,81,0.1), rgba(42,157,143,0.05));
  pointer-events: none;
}

.product-details .section-label { margin-bottom: 12px; }
.product-details h2 { margin-bottom: 20px; }
.product-details .lead { margin-bottom: 32px; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(42,157,143,0.12);
  border-radius: 50%;
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Section: Tiers ── */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.tier-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.tier-card:hover { transform: translateY(-6px); }

.tier-card.featured {
  border-color: rgba(231,111,81,0.5);
  box-shadow: var(--shadow-purple);
  position: relative;
}

.tier-badge {
  background: var(--purple);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 0;
}

.tier-body {
  padding: 32px;
}

.tier-body h3 { margin-bottom: 6px; }

.tier-body .tier-subtitle {
  font-size: 0.85rem;
  color: var(--lavender);
  margin-bottom: 24px;
}

.tier-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.tier-features li .dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.tier-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 24px;
}

/* ── Section: Market Stats ── */
.stats-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--offwhite);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-num span { color: var(--teal); }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Section: Partners ── */
.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.partner-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s;
}

.partner-chip:hover { border-color: rgba(42,157,143,0.3); }

.partner-chip .pin {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38,70,83,0.88), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--offwhite);
}

.gallery-item.large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* ── Section: CTA Banner ── */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(231,111,81,0.2) 0%, rgba(42,157,143,0.1) 100%);
  border: 1px solid rgba(231,111,81,0.2);
  border-radius: var(--radius-lg);
  padding: 80px;
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy-mid);
  z-index: -1;
  border-radius: inherit;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42,157,143,0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p  { font-size: 1.05rem; max-width: 600px; margin: 0 auto 36px; }

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 60%, rgba(231,111,81,0.08));
  z-index: 0;
}

.page-hero-bg .glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(231,111,81,0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.page-hero h1 { margin-bottom: 20px; max-width: 720px; }
.page-hero .lead { max-width: 620px; }

/* ── About Page ── */
.mission-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-visual {
  display: flex;
  justify-content: center;
  position: relative;
  isolation: isolate;
}

.mission-visual::before {
  content: '';
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,196,106,0.16), rgba(42,157,143,0.08) 48%, transparent 72%);
  z-index: -1;
}

.mission-visual img {
  max-width: 430px;
  filter: drop-shadow(0 24px 52px rgba(20,47,58,0.4));
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px;
}

.value-card .icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.value-card h4 { margin-bottom: 10px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 40px 24px;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid var(--border);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 { margin-bottom: 4px; }

.team-card .role {
  font-size: 0.85rem;
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card p { font-size: 0.85rem; }

.team-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.team-photo-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

.team-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(231,111,81,0.1), rgba(42,157,143,0.05));
  pointer-events: none;
}

.team-photo-caption {
  text-align: center;
  margin-top: 20px;
  color: var(--text-muted);
}

.placeholder-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233,196,106,0.08);
  border: 1px solid rgba(233,196,106,0.2);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--gold);
  margin-top: 12px;
}

/* ── Contact Page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form-wrap {}

.contact-info-wrap {}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(42,157,143,0.1);
  border: 1px solid rgba(42,157,143,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; }

.contact-info-text h4 { margin-bottom: 4px; font-size: 0.95rem; }
.contact-info-text p { font-size: 0.88rem; }
.contact-info-text a { color: var(--teal); }
.contact-info-text a:hover { text-decoration: underline; }

/* Form */
.form-group {
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-group label .req {
  color: var(--purple-light);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,157,143,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23787AA4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option { background: var(--navy-mid); }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--purple);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  margin: 0;
}

.form-checkbox label a { color: var(--teal); text-decoration: underline; }

.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }

.form-message {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
}

.form-message.success {
  display: flex;
  background: rgba(42,157,143,0.1);
  border: 1px solid rgba(42,157,143,0.25);
  color: var(--teal);
}

.form-message.error {
  display: flex;
  background: rgba(231,111,81,0.1);
  border: 1px solid rgba(231,111,81,0.25);
  color: var(--purple);
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 3px;
  border: 1px solid rgba(233,196,106,0.24);
  border-radius: 11px;
  background: rgba(255,248,232,0.05);
}

.footer-brand .footer-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--offwhite);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

/* Hidden until we have real accounts — remove class="social-pending" from the links to re-enable */
.social-pending {
  display: none !important;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--lavender);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
  color: var(--teal);
  border-color: rgba(42,157,143,0.3);
  background: rgba(42,157,143,0.06);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-bottom p { font-size: 0.8rem; }

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--teal); }

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

/* ── Scroll Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .hero-inner { gap: 40px; }
  .device-glow-ring img { max-width: 380px; }

  .product-showcase { gap: 48px; }
  .mission-section { gap: 48px; }
  .contact-layout { gap: 48px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 1; aspect-ratio: 4/3; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual { order: -1; }
  .device-glow-ring img { max-width: 280px; }
  .led-states { font-size: 0.68rem; padding: 6px 12px; }

  .hero-subtitle { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }

  .product-showcase,
  .mission-section { grid-template-columns: 1fr; gap: 40px; }
  .product-showcase.reverse { direction: ltr; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .cta-banner { padding: 48px 24px; }
  .section-header { margin-bottom: 40px; }

  .steps-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ── Hero device LED animation ── */
@keyframes led-color-cycle {
  0%,  28% { filter: none; }
  33%, 61% { filter: hue-rotate(-105deg) saturate(1.4) brightness(1.05); }
  66%, 94% { filter: hue-rotate(-215deg) saturate(1.5) brightness(1.1); }
  100%     { filter: none; }
}

#hero-device {
  animation: led-color-cycle 4.5s ease-in-out infinite;
}
