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

:root {
  --navy:         #0D1120;
  --navy-mid:     #162040;
  --navy-light:   #1C2A54;
  --mint:         #00F5A0;
  --mint-dark:    #00C070;
  --white:        #FFFFFF;
  --muted:        #8BA0B8;
  --border:       rgba(0, 245, 160, 0.15);
  --border-hover: rgba(0, 245, 160, 0.45);
  --font:         'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease:         0.25s ease;
  --radius:       8px;
  --max-w:        1120px;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

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

a { color: var(--mint); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--white); }
img { max-width: 100%; display: block; }

/* ── Navigation ─────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  padding: 0 32px;
  background: rgba(10, 13, 22, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 245, 160, 0.1);
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
}

#navbar.scrolled {
  background: rgba(10, 13, 22, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 52px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--muted);
  transition: color var(--ease);
  border-radius: var(--radius);
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--mint) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  margin-left: 8px;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease) !important;
}
.nav-cta:hover {
  background: #00e090 !important;
  color: var(--navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 245, 160, 0.3) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all var(--ease);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--mint);
  color: var(--navy);
}
.btn-primary:hover {
  background: #00e090;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 245, 160, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ── Hero ────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 130px 32px 90px;
}

.hero-canvas-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: 40%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(0, 245, 160, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* Hero dark glass card — sits over the shader, holds all content */
.hero-card {
  max-width: 700px;
  background: rgba(10, 13, 22, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 245, 160, 0.1);
  border-radius: 20px;
  padding: 48px 52px 44px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 245, 160, 0.04) inset;
}

/* Hero logo — full colored SVG logo */
.hero-logo-hero {
  margin-bottom: 44px;
}

.hero-logo-hero img {
  max-width: 520px;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 32px rgba(0, 245, 160, 0.22))
    drop-shadow(0 0 80px rgba(0, 245, 160, 0.08));
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.stat { flex: 1; padding-right: 32px; }

.stat-value {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 7px;
  letter-spacing: -0.5px;
}

.stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 32px 0 0;
  align-self: stretch;
}


/* ── Section Scaffolding ─────────────────────────────── */
.section {
  padding: 64px 32px;
  position: relative;
  z-index: 1;
  perspective: 1200px;
}
.section-alt { background: transparent; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  background: rgba(10, 13, 22, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 245, 160, 0.1);
  border-radius: 24px;
  padding: 56px 60px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 245, 160, 0.04) inset;
  transform-origin: 50% 0%;
  will-change: transform;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--mint);
}

.section-title {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--white);
}

.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 60px;
  line-height: 1.75;
}

/* ── Icon Boxes ──────────────────────────────────────── */
.icon-box {
  width: 54px;
  height: 54px;
  background: rgba(0, 245, 160, 0.07);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  flex-shrink: 0;
  transition: background var(--ease), border-color var(--ease);
}
.icon-box svg { width: 24px; height: 24px; }
.icon-box-sm {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.icon-box-sm svg { width: 20px; height: 20px; }

/* ── Products ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-card {
  background: rgba(22, 32, 64, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 44px;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(0, 245, 160, 0.14),
    0 0 64px rgba(0, 245, 160, 0.06);
}
.product-card:hover .icon-box {
  background: rgba(0, 245, 160, 0.12);
  border-color: rgba(0, 245, 160, 0.3);
}

.product-card .icon-box { margin-bottom: 28px; }

.product-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.product-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.product-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-features li {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px rgba(0, 245, 160, 0.5);
}

/* ── Advantage / Benefits ────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background: rgba(22, 32, 64, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.benefit-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.38),
    0 0 22px rgba(0, 245, 160, 0.13),
    0 0 52px rgba(0, 245, 160, 0.05);
}
.benefit-card:hover .icon-box {
  background: rgba(0, 245, 160, 0.12);
  border-color: rgba(0, 245, 160, 0.3);
}

.benefit-card .icon-box { margin-bottom: 22px; }

.benefit-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.35;
}

.benefit-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Technology ──────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tech-feature {
  background: rgba(22, 32, 64, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.tech-feature:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.38),
    0 0 22px rgba(0, 245, 160, 0.13),
    0 0 52px rgba(0, 245, 160, 0.05);
}
.tech-feature:hover .icon-box {
  background: rgba(0, 245, 160, 0.12);
  border-color: rgba(0, 245, 160, 0.3);
}

.tech-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.tech-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

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

.contact-info {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item { display: flex; flex-direction: column; gap: 5px; }

.contact-item-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--mint);
}

.contact-item a { font-size: 15px; color: var(--white); transition: color var(--ease); }
.contact-item a:hover { color: var(--mint); }
.contact-item span { font-size: 15px; color: var(--muted); }

.contact-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(0, 245, 160, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.contact-note strong { color: var(--mint); }

/* Contact Form */
.contact-form {
  background: rgba(22, 32, 64, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(13, 17, 32, 0.7);
  border: 1px solid rgba(139, 160, 184, 0.2);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--white);
  font-family: var(--font);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  -webkit-appearance: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(139, 160, 184, 0.4);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 20px;
}
.form-success.visible { display: flex; }

.form-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.form-success p {
  font-size: 15px;
  color: var(--muted);
  max-width: 300px;
  line-height: 1.7;
}

/* ── Footer ──────────────────────────────────────────── */
#footer {
  padding: 56px 32px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: rgba(10, 13, 22, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.footer-logo img { height: 30px; width: auto; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--mint); }

.footer-copy { text-align: right; }
.footer-copy p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.footer-copy a { color: var(--muted); transition: color var(--ease); }
.footer-copy a:hover { color: var(--mint); }

/* ── Scroll Reveal Animations ────────────────────────── */
/* Classic fade-up (unchanged — vapor text measurement relies on
   .reveal staying opacity/transform-based, so do not restructure) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Directional variants — same .visible trigger, different journeys.
   NEVER apply these to .section-label / .section-title or any of their
   ancestors: the vapor effect measures those from the live DOM. */
.reveal-left, .reveal-right, .reveal-flip, .reveal-scale {
  opacity: 0;
  will-change: transform, opacity, filter;
}

.reveal-left {
  transform: perspective(1000px) translateX(-56px) rotateY(6deg);
  filter: blur(7px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
}
.reveal-right {
  transform: perspective(1000px) translateX(56px) rotateY(-6deg);
  filter: blur(7px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: perspective(1000px) translateX(0) rotateY(0);
  filter: blur(0);
}

/* Flip-up: cards rise and rotate flat-to-upright like dealt cards */
.reveal-flip {
  transform: perspective(900px) rotateX(32deg) translateY(48px) scale(0.95);
  transform-origin: 50% 100%;
  filter: blur(5px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s ease;
}
.reveal-flip.visible {
  opacity: 1;
  transform: perspective(900px) rotateX(0) translateY(0) scale(1);
  filter: blur(0);
}

/* Zoom-in with focus pull */
.reveal-scale {
  transform: scale(0.9) translateY(24px);
  filter: blur(8px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

/* Staggered children */
.products-grid > .reveal-right          { transition-delay: 0.14s; }
.benefits-grid > .reveal-flip:nth-child(2) { transition-delay: 0.12s; }
.benefits-grid > .reveal-flip:nth-child(3) { transition-delay: 0.24s; }
.benefits-grid > .reveal-flip:nth-child(4) { transition-delay: 0.36s; }
.tech-grid > :nth-child(2)              { transition-delay: 0.12s; }
.tech-grid > :nth-child(3)              { transition-delay: 0.18s; }
.tech-grid > :nth-child(4)              { transition-delay: 0.3s;  }
.contact-right.reveal-right             { transition-delay: 0.15s; }

/* Icon spring-pop once the host card has landed */
@keyframes iconPop {
  0%   { transform: scale(0.4) rotate(-8deg); opacity: 0; }
  100% { transform: scale(1) rotate(0);       opacity: 1; }
}
.reveal-left.visible  .icon-box,
.reveal-right.visible .icon-box,
.reveal-flip.visible  .icon-box {
  animation: iconPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}
.products-grid  > .visible:nth-child(2) .icon-box { animation-delay: 0.44s; }
.benefits-grid  > .visible:nth-child(2) .icon-box { animation-delay: 0.42s; }
.benefits-grid  > .visible:nth-child(3) .icon-box { animation-delay: 0.54s; }
.benefits-grid  > .visible:nth-child(4) .icon-box { animation-delay: 0.66s; }
.tech-grid      > .visible:nth-child(2) .icon-box { animation-delay: 0.42s; }
.tech-grid      > .visible:nth-child(3) .icon-box { animation-delay: 0.48s; }
.tech-grid      > .visible:nth-child(4) .icon-box { animation-delay: 0.6s;  }

/* Product feature bullets cascade in after the card lands */
.product-features li {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card.visible .product-features li {
  opacity: 1;
  transform: translateX(0);
}
.product-card.visible .product-features li:nth-child(1) { transition-delay: 0.42s; }
.product-card.visible .product-features li:nth-child(2) { transition-delay: 0.5s;  }
.product-card.visible .product-features li:nth-child(3) { transition-delay: 0.58s; }
.product-card.visible .product-features li:nth-child(4) { transition-delay: 0.66s; }
.product-card.visible .product-features li:nth-child(5) { transition-delay: 0.74s; }

/* ── Hero Entrance Sequence ──────────────────────────── */
@keyframes heroCardIn {
  from { opacity: 0; transform: scale(0.97) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
#navbar         { animation: navIn      0.7s ease 0.05s both; }
.hero-card      { animation: heroCardIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s  both; }
.hero-logo-hero { animation: heroIn     0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }
.hero-sub       { animation: heroIn     0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s  both; }
.hero-actions   { animation: heroIn     0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.62s both; }
.hero-stats     { animation: heroIn     0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.78s both; }

/* ── Scroll Progress Bar ─────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), #7df5cf);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.55);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1002;
  pointer-events: none;
}

/* ── Nav Link Underline ──────────────────────────────── */
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 1.5px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

/* ── Card Spotlight (cursor-tracking glow) ───────────── */
.product-card, .benefit-card, .tech-feature, .contact-form { position: relative; }
.product-card::after,
.benefit-card::after,
.tech-feature::after,
.contact-form::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 245, 160, 0.08),
    transparent 65%
  );
}
.product-card:hover::after,
.benefit-card:hover::after,
.tech-feature:hover::after,
.contact-form:hover::after { opacity: 1; }

/* ── Reduced Motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-flip, .reveal-scale,
  .product-features li {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  #navbar, .hero-card, .hero-logo-hero, .hero-sub, .hero-actions, .hero-stats,
  .visible .icon-box {
    animation: none !important;
  }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 52px; }
  .contact-info { margin-top: 0; flex-direction: row; flex-wrap: wrap; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .footer-copy { text-align: left; }
  .footer-links { justify-content: flex-start; }
  .section-inner { padding: 48px 44px; }
}

@media (max-width: 768px) {
  :root { --max-w: 100%; }

  body { overflow-x: hidden; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10, 13, 24, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 20px 24px 32px;
    gap: 2px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 13px 16px; font-size: 15px; color: var(--white); border-radius: 8px; }
  .nav-cta { text-align: center; margin-left: 0; margin-top: 8px; }

  #hero {
    padding: 110px 20px 72px;
    overflow: hidden;
  }
  .hero-glow { display: none; }

  .hero-inner { width: 100%; }

  .hero-card {
    padding: 32px 24px;
    text-align: center;
    max-width: 100%;
  }

  .hero-logo-hero {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
  }
  .hero-logo-hero img { max-width: 280px; }

  .hero-sub {
    font-size: 15px;
    margin: 0 auto 36px;
  }

  .hero-actions { justify-content: center; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
    justify-content: center;
  }
  .stat { padding-right: 0; flex: 0 0 40%; text-align: center; }
  .stat-divider { display: none; }

  .section { padding: 44px 16px; perspective: none; }
  .section-inner {
    padding: 36px 20px;
    border-radius: 16px;
    transform: none !important;
    width: 100%;
    overflow: hidden;
  }

  .products-grid,
  .tech-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }

  .product-card { padding: 28px 20px; }
  .benefit-card { padding: 28px 20px; }
  .tech-feature { padding: 24px 20px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-copy { text-align: left; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
}
