/* ==================================================
   نورا (NORA) — INDEX (LANDING PAGE)
   ================================================== */

/* ==================================================
   NAVBAR — Theme-aware design
   ================================================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 14px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid var(--nav-border);
  transition:
    padding .4s ease,
    background .4s ease,
    box-shadow .4s ease,
    border-color .4s ease;
}

nav::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 229, 255, .45) 30%,
    rgba(176, 38, 255, .45) 70%,
    transparent);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

html[data-theme="light"] nav::before {
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 152, 176, .5) 30%,
    rgba(139, 47, 217, .5) 70%,
    transparent);
}

nav.scrolled {
  padding: 10px 5%;
  background: var(--nav-bg-scrolled);
  box-shadow: var(--nav-shadow-scrolled);
  border-bottom-color: var(--nav-border-scrolled);
}

nav.scrolled::before {
  opacity: 1;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform .3s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 0 20px rgba(0, 229, 255, .45),
    0 6px 20px rgba(176, 38, 255, .25),
    inset 0 1px 0 rgba(255, 255, 255, .25);
  overflow: visible;
  transition: box-shadow .4s ease;
}

html[data-theme="light"] .logo-mark {
  box-shadow:
    0 0 18px rgba(0, 152, 176, .35),
    0 6px 18px rgba(139, 47, 217, .22),
    inset 0 1px 0 rgba(255, 255, 255, .35);
}

.logo:hover .logo-mark {
  box-shadow:
    0 0 35px rgba(0, 229, 255, .7),
    0 8px 28px rgba(176, 38, 255, .45),
    inset 0 1px 0 rgba(255, 255, 255, .35);
}

.logo-mark-inner {
  position: relative;
  z-index: 2;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  line-height: 1;
}

.logo-mark-ring {
  position: absolute;
  inset: -3px;
  border-radius: 15px;
  border: 1px solid rgba(0, 229, 255, .5);
  opacity: 0;
  animation: logoRing 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logoRing {
  0%, 100% {
    opacity: 0;
    transform: scale(.9);
  }
  50% {
    opacity: .7;
    transform: scale(1.05);
  }
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text);
  transition: color .4s ease;
}

html[data-theme="dark"] .logo-text {
  background: linear-gradient(90deg, #ffffff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] .logo-text {
  background: linear-gradient(90deg, #0a1428 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: var(--text-faint);
  opacity: .8;
  transition: color .4s ease, opacity .4s ease;
}

html[data-theme="light"] .logo-sub {
  opacity: .7;
}

/* ---------- Nav Links ---------- */
.nav-links {
  position: relative;
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 4px;
  border-radius: 14px;
  background: var(--nav-pill-bg);
  border: 1px solid var(--nav-pill-border);
  transition: background .4s ease, border-color .4s ease;
}

.nav-links a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: var(--text-dim);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  letter-spacing: .2px;
  transition: color .3s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  height: auto;
  border-radius: 10px;
  background: var(--nav-indicator-bg);
  border: 1px solid var(--nav-indicator-border);
  box-shadow: var(--nav-indicator-shadow);
  transition: all .45s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.nav-indicator.visible {
  opacity: 1;
}

/* ---------- Nav Right ---------- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: .82rem;
  font-weight: 500;
  border-radius: 12px;
  background: var(--nav-btn-bg);
  border: 1px solid var(--nav-btn-border);
  color: var(--text-dim);
  text-decoration: none;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.nav-login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0, 229, 255, .12),
    rgba(176, 38, 255, .1));
  opacity: 0;
  transition: opacity .3s ease;
}

html[data-theme="light"] .nav-login::before {
  background: linear-gradient(135deg,
    rgba(0, 152, 176, .12),
    rgba(139, 47, 217, .1));
}

.nav-login:hover {
  border-color: var(--nav-btn-border-hover);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, .15);
}

html[data-theme="light"] .nav-login:hover {
  box-shadow: 0 6px 20px rgba(0, 152, 176, .15);
}

.nav-login:hover::before {
  opacity: 1;
}

.nav-login > * {
  position: relative;
  z-index: 1;
}

.nav-login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--nav-icon-bg);
  color: var(--primary);
  transition: all .3s ease;
}

.nav-login:hover .nav-login-icon {
  background: var(--nav-icon-bg-hover);
  transform: rotate(-6deg);
}

.nav-toggles {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: var(--nav-toggles-bg);
  border: 1px solid var(--nav-toggles-border);
  transition: background .4s ease, border-color .4s ease;
}

.icon-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 34px;
  height: 32px;
  padding: 0 10px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-dim);
  font-size: .78rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: .5px;
  cursor: pointer;
  transition: all .3s ease;
}

.icon-toggle:hover {
  color: var(--primary);
  background: var(--nav-icon-bg-hover);
}

.icon-toggle svg {
  transition: transform .4s ease;
}

.icon-toggle:hover svg {
  transform: rotate(15deg) scale(1.1);
}

/* Theme icons — نمایش آیکون ماه در تم دارک و آیکون خورشید در تم لایت */
.icon-sun { display: none; }
.icon-moon { display: block; }

html[data-theme="light"] .icon-sun { display: block; }
html[data-theme="light"] .icon-moon { display: none; }

.lang-toggle {
  font-size: .72rem;
  padding: 0 10px;
  letter-spacing: .5px;
}

.lang-current {
  color: var(--primary);
  font-weight: 700;
}

.lang-sep {
  opacity: .35;
  margin: 0 1px;
}

.lang-other {
  opacity: .55;
}

.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  font-size: .84rem;
  font-weight: 700;
  border-radius: 12px;
  overflow: hidden;
  letter-spacing: .3px;
  box-shadow:
    0 8px 24px rgba(0, 229, 255, .28),
    0 2px 8px rgba(176, 38, 255, .2),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}

html[data-theme="light"] .nav-cta {
  box-shadow:
    0 8px 22px rgba(0, 152, 176, .3),
    0 2px 8px rgba(139, 47, 217, .22),
    inset 0 1px 0 rgba(255, 255, 255, .35);
}

.nav-cta-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, .35),
    transparent);
  animation: navCtaGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes navCtaGlow {
  0%   { left: -100%; }
  50%  { left: 100%; }
  100% { left: 100%; }
}

.nav-cta-icon {
  position: relative;
  z-index: 2;
}

.nav-cta > span:not(.nav-cta-glow) {
  position: relative;
  z-index: 2;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(0, 229, 255, .42),
    0 4px 12px rgba(176, 38, 255, .32),
    inset 0 1px 0 rgba(255, 255, 255, .3);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--nav-btn-border);
  border-radius: 10px;
  background: var(--nav-btn-bg);
  cursor: pointer;
  transition: all .3s ease;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-dim);
  transition: all .3s ease;
}

.nav-burger:hover {
  border-color: var(--nav-btn-border-hover);
}

.nav-burger:hover span {
  background: var(--primary);
}

@media (max-width: 1100px) {
  .nav-links a {
    padding: 8px 11px;
    font-size: .82rem;
  }
  .nav-login span:last-child {
    display: none;
  }
  .nav-login {
    padding: 9px 12px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 12px 4%;
    gap: 10px;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
  }
  .logo-text {
    font-size: 1rem;
    letter-spacing: 2.5px;
  }
  .logo-sub {
    font-size: .5rem;
    letter-spacing: 3px;
  }
  .nav-toggles {
    display: none;
  }
  .nav-cta {
    padding: 9px 14px;
    font-size: .78rem;
  }
  .nav-cta svg {
    display: none;
  }
  .nav-login {
    display: none;
  }
}

/* ==================================================
   HERO
   ================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 5% 70px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: .85rem;
  margin-bottom: 26px;
  backdrop-filter: blur(20px);
  animation: slideDown 1s ease both;
  position: relative;
  overflow: hidden;
  color: var(--text-dim);
}

.badge::after {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 152, 176, .2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  to { right: 100%; }
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 12px var(--neon-green);
  animation: blink 1.5s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes blink {
  50% { opacity: .3; }
}

.badge b {
  color: var(--primary);
  font-weight: 700;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 24px;
  animation: slideRight 1s ease .2s both;
  letter-spacing: -1px;
}

h1 .gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  50% { background-position: 100% 50%; }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

html[lang="en"] h1,
html[lang="en"] .hero-text p,
html[lang="en"] .hero-sub-list {
  animation-name: slideLeft;
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-text p {
  font-size: 1.08rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  max-width: 520px;
  animation: slideRight 1s ease .4s both;
}

.hero-sub-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 34px;
  animation: slideRight 1s ease .5s both;
}

.hero-sub-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: .95rem;
}

.hero-sub-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 161, 115, .15);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  animation: slideRight 1s ease .6s both;
}

.play-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 152, 176, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  transition: all .4s;
}

.btn-ghost:hover .play-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.15);
}

.hero-microcopy {
  margin-top: 16px;
  font-size: .82rem;
  color: var(--text-faint2);
  animation: slideRight 1s ease .7s both;
}

.glasses-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  animation: fadeIn 1.5s ease .5s both;
  perspective: 1200px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: scale(1); }
}

.glow-backdrop {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 152, 176, .32), rgba(139, 47, 217, .18) 40%, transparent 70%);
  animation: pulse 5s ease-in-out infinite;
  filter: blur(30px);
}

@keyframes pulse {
  50% { transform: scale(1.15); opacity: 1; }
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  animation: rotate 12s linear infinite;
}

.ring-1 { width: 420px; height: 420px; opacity: .55; }
.ring-2 { width: 500px; height: 500px; animation-direction: reverse; animation-duration: 18s; border-top-color: var(--secondary); border-right-color: var(--accent); opacity: .35; }
.ring-3 { width: 580px; height: 580px; animation-duration: 25s; border-top-color: var(--accent); border-right-color: var(--primary); opacity: .22; border-style: dashed; }

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.glasses-image-wrapper {
  position: relative;
  z-index: 10;
  animation: floatGlasses 6s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
  width: 100%;
  max-width: 460px;
}

@keyframes floatGlasses {
  0%, 100% { transform: translateY(0) rotateZ(-1deg); }
  50%      { transform: translateY(-22px) rotateZ(1deg); }
}

.glasses-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 152, 176, .35)) drop-shadow(0 0 40px rgba(139, 47, 217, .28));
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
  z-index: 5;
}

.particle:nth-child(1) { top: 15%; left: 12%; background: var(--primary); box-shadow: 0 0 20px var(--primary); }
.particle:nth-child(2) { top: 75%; left: 8%; background: var(--secondary); box-shadow: 0 0 20px var(--secondary); animation-delay: 1.2s; width: 8px; height: 8px; }
.particle:nth-child(3) { top: 25%; right: 12%; background: var(--accent); box-shadow: 0 0 20px var(--accent); animation-delay: 2.4s; }
.particle:nth-child(4) { top: 85%; right: 18%; background: var(--primary); box-shadow: 0 0 20px var(--primary); animation-delay: 3.6s; width: 4px; height: 4px; }
.particle:nth-child(5) { top: 50%; left: 3%; background: var(--neon-green); box-shadow: 0 0 20px var(--neon-green); animation-delay: 4.8s; }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
  50%      { transform: translate(40px, -60px) scale(1.3); opacity: 1; }
}

.hud-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 2px solid var(--primary);
  opacity: .45;
  z-index: 3;
}
.hud-tl { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.hud-tr { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.hud-bl { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.hud-br { bottom: 20px; right: 20px; border-left: none; border-top: none; }

.hud-readout {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Grotesk', monospace;
  font-size: .7rem;
  letter-spacing: 2px;
  color: var(--primary);
  opacity: .6;
  z-index: 4;
}

/* ==================================================
   ANATOMY — SCROLL-DRIVEN EXPLODED VIEW
   ================================================== */
.anatomy {
  position: relative;
  height: 450vh;
  background: linear-gradient(180deg, transparent 0%, var(--anatomy-overlay) 50%, transparent 100%);
}

.anatomy-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.anatomy-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.anatomy-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--anatomy-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--anatomy-grid) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.anatomy-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    var(--anatomy-glow-in),
    transparent 70%);
  filter: blur(60px);
}

.anatomy-header {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
  pointer-events: none;
  width: 100%;
  padding: 0 5%;
}

.anatomy-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: .8rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
}

.anatomy-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.5px;
}

.anatomy-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2400px;
  perspective-origin: 50% 55%;
  z-index: 3;
}

.anatomy-stack {
  position: relative;
  width: 560px;
  height: 340px;
  transform-style: preserve-3d;
  transform: rotateX(-12deg) rotateY(-24deg);
  transition: transform .6s ease-out;
}

.an-real-glasses {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transform-style: preserve-3d;
  transform: translateZ(0);
  will-change: opacity, transform, filter;
  pointer-events: none;
}

.an-real-glasses-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 30px 60px rgba(0, 152, 176, .35))
    drop-shadow(0 0 40px rgba(139, 47, 217, .28));
  animation: realGlassesFloat 7s ease-in-out infinite;
}

@keyframes realGlassesFloat {
  0%, 100% { transform: translateY(0) rotateZ(-1deg); }
  50%      { transform: translateY(-10px) rotateZ(1deg); }
}

.an-real-glow {
  position: absolute;
  width: 520px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse,
    rgba(0, 229, 255, .28),
    rgba(176, 38, 255, .18) 40%,
    transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: realGlowPulse 4s ease-in-out infinite;
}

@keyframes realGlowPulse {
  50% { opacity: .6; transform: scale(1.08); }
}

.an-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  opacity: 0;
  transition: opacity .6s ease;
}

/* Layer 1: Frame */
.an-frame-shape {
  width: 380px;
  height: 130px;
  border-radius: 70px 70px 60px 60px / 60px 60px 40px 40px;
  border: 3px solid rgba(0, 229, 255, .85);
  background: linear-gradient(135deg,
    rgba(0, 229, 255, .05),
    rgba(139, 47, 217, .03));
  box-shadow:
    0 0 30px rgba(0, 229, 255, .2),
    inset 0 0 40px rgba(0, 229, 255, .06);
  position: relative;
}

.an-frame-shape::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 229, 255, .6);
}

.an-frame-shape::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 65px 65px 55px 55px / 55px 55px 35px 35px;
  border: 1px dashed rgba(0, 229, 255, .25);
}

.an-frame-temple {
  position: absolute;
  top: 50%;
  width: 90px;
  height: 10px;
  border-radius: 5px;
  transform: translateY(-50%);
}

.an-frame-temple.left {
  left: -85px;
  background: linear-gradient(270deg, rgba(0, 229, 255, .7), transparent);
}

.an-frame-temple.right {
  right: -85px;
  background: linear-gradient(90deg, rgba(0, 229, 255, .7), transparent);
}

/* Layer 2: Waveguide */
.an-waveguide-plate {
  width: 360px;
  height: 110px;
  border-radius: 60px;
  background:
    linear-gradient(135deg,
      rgba(139, 47, 217, .15),
      rgba(0, 229, 255, .1));
  border: 1.5px solid rgba(176, 38, 255, .5);
  box-shadow: 0 0 40px rgba(176, 38, 255, .25);
  position: relative;
  overflow: hidden;
}

.an-waveguide-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, .15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .15) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .7;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
}

.an-waveguide-scan {
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .5), transparent);
  animation: waveguideScan 3.5s linear infinite;
}

@keyframes waveguideScan {
  to { left: 130%; }
}

/* Layer 3: Display */
.an-display {
  display: flex;
  gap: 90px;
  align-items: center;
  justify-content: center;
}

.an-display-panel {
  width: 120px;
  height: 70px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a1a2e, #1a0a2e);
  border: 2px solid rgba(0, 229, 255, .7);
  box-shadow:
    0 0 30px rgba(0, 229, 255, .4),
    inset 0 0 20px rgba(0, 229, 255, .25);
  position: relative;
  overflow: hidden;
}

.an-display-pixels {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(0, 229, 255, .35) 0.5px, transparent 1px),
    radial-gradient(circle, rgba(176, 38, 255, .3) 0.5px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
  background-position: 0 0, 2px 2px;
  animation: pixelsShift 6s linear infinite;
}

@keyframes pixelsShift {
  to { background-position: 20px 20px, -30px -30px; }
}

/* Layer 4: Sensor */
.an-sensor {
  display: flex;
  gap: 110px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.an-sensor-cam {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a2a3e, #050510);
  border: 2px solid rgba(0, 229, 255, .6);
  box-shadow: 0 0 20px rgba(0, 229, 255, .35);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.an-sensor-lens {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(0, 229, 255, .9),
    rgba(0, 80, 150, .4) 60%,
    transparent 70%);
  box-shadow: inset 0 0 8px rgba(0, 229, 255, .8);
}

.an-sensor-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, .5);
  animation: sensorPulse 2s ease-out infinite;
}

@keyframes sensorPulse {
  0%   { transform: scale(.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.an-sensor-ir {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b6b;
  box-shadow: 0 0 12px #ff3b6b;
  transform: translateY(-50%);
  animation: irBlink 1.2s ease-in-out infinite;
}

.an-sensor-ir.left  { left: 30px; }
.an-sensor-ir.right { right: 30px; animation-delay: .6s; }

@keyframes irBlink {
  50% { opacity: .2; }
}

/* Layer 5: Board */
.an-board-pcb {
  width: 320px;
  height: 90px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a2818, #061a10);
  border: 1.5px solid rgba(0, 255, 170, .4);
  box-shadow:
    0 0 30px rgba(0, 255, 170, .18),
    inset 0 0 20px rgba(0, 255, 170, .05);
  position: relative;
  overflow: hidden;
}

.an-board-pcb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(0, 255, 170, .4) 1px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: .35;
}

.an-board-chip {
  position: absolute;
  background: linear-gradient(135deg, #1a1a2e, #0a0a15);
  border: 1px solid rgba(0, 229, 255, .6);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0, 229, 255, .3);
}

.an-board-chip.main {
  width: 90px;
  height: 46px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', monospace;
  font-size: .55rem;
  letter-spacing: 1.5px;
  color: rgba(0, 229, 255, .9);
  font-weight: 700;
  background: linear-gradient(135deg, #0a1a2e, #150525);
  box-shadow:
    0 0 20px rgba(0, 229, 255, .45),
    inset 0 0 10px rgba(0, 229, 255, .15);
}

.an-board-chip.ram {
  width: 34px;
  height: 22px;
  top: 12px;
  left: 30px;
}

.an-board-chip.wifi {
  width: 26px;
  height: 20px;
  bottom: 12px;
  right: 30px;
  border-color: rgba(176, 38, 255, .6);
  box-shadow: 0 0 12px rgba(176, 38, 255, .4);
}

.an-board-trace {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 229, 255, .7), transparent);
}

.an-board-trace.t1 { width: 60px; top: 30px; left: 70px; }
.an-board-trace.t2 { width: 80px; bottom: 28px; right: 70px; background: linear-gradient(270deg, rgba(176, 38, 255, .7), transparent); }
.an-board-trace.t3 { width: 40px; top: 50%; left: 20px; }

.an-board-led {
  position: absolute;
  top: 14px;
  right: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00ffaa;
  box-shadow: 0 0 12px #00ffaa;
  animation: ledBlink 1.5s ease-in-out infinite;
}

@keyframes ledBlink {
  50% { opacity: .3; }
}

/* Layer 6: Battery */
.an-battery {
  display: flex;
  gap: 130px;
  align-items: center;
  justify-content: center;
}

.an-battery-cell {
  width: 60px;
  height: 90px;
  border-radius: 10px;
  background: linear-gradient(180deg,
    rgba(0, 255, 170, .15),
    rgba(0, 152, 176, .1));
  border: 2px solid rgba(0, 255, 170, .5);
  box-shadow: 0 0 25px rgba(0, 255, 170, .25);
  position: relative;
}

.an-battery-cell::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 255, 170, .7);
}

.an-battery-cell::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(0deg,
      rgba(0, 255, 170, .25) 0 2px,
      transparent 2px 6px);
}

/* Layer Label (Callout) */
.an-layer-label {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--callout-bg);
  border: 1px solid rgba(0, 229, 255, .3);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(-50%) translateX(20px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
  z-index: 20;
  white-space: nowrap;
}

.an-layer-label::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .8));
  transform: translateY(-50%);
  pointer-events: none;
}

.an-frame .an-layer-label,
.an-display .an-layer-label,
.an-board .an-layer-label {
  left: calc(100% + 30px);
}

.an-frame .an-layer-label::before,
.an-display .an-layer-label::before,
.an-board .an-layer-label::before {
  right: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .8));
}

.an-waveguide .an-layer-label,
.an-sensor .an-layer-label,
.an-battery .an-layer-label {
  right: calc(100% + 30px);
  flex-direction: row-reverse;
}

.an-waveguide .an-layer-label::before,
.an-sensor .an-layer-label::before,
.an-battery .an-layer-label::before {
  left: 100%;
  background: linear-gradient(270deg, transparent, rgba(0, 229, 255, .8));
}

.an-label-index {
  font-family: 'Space Grotesk', monospace;
  font-size: .75rem;
  font-weight: 700;
  color: #00e5ff;
  letter-spacing: 2px;
  padding: 2px 8px;
  border: 1px solid rgba(0, 229, 255, .4);
  border-radius: 6px;
}

.an-label-text h5 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--callout-text);
  margin-bottom: 3px;
}

.an-label-text p {
  font-size: .72rem;
  color: var(--callout-text-dim);
  margin: 0;
}

/* Progress Indicator */
.anatomy-progress {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  width: 320px;
}

.anp-track {
  width: 100%;
  height: 2px;
  background: rgba(0, 229, 255, .15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.anp-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00e5ff, #b026ff);
  box-shadow: 0 0 12px #00e5ff;
  transition: width .15s linear;
}

.anp-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: .72rem;
  color: var(--text-faint2);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 1px;
}

.anp-label {
  transition: color .3s;
}

.anp-label.active {
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, .6);
}

/* Scroll Hint */
.anatomy-hint {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  font-size: .78rem;
  color: var(--text-faint);
  letter-spacing: 1px;
  opacity: 1;
  transition: opacity .6s ease;
  pointer-events: none;
}

.anatomy-hint.hide {
  opacity: 0;
}

.an-hint-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(0, 229, 255, .5);
  border-radius: 12px;
  position: relative;
}

.an-hint-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: #00e5ff;
  box-shadow: 0 0 8px #00e5ff;
  animation: hintWheel 1.6s ease-in-out infinite;
}

@keyframes hintWheel {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%      { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

@media (max-width: 1200px) {
  .anatomy-stack { width: 460px; height: 280px; }
  .an-frame-shape { width: 320px; height: 110px; }
  .an-frame-temple { width: 70px; }
  .an-frame-temple.left { left: -65px; }
  .an-frame-temple.right { right: -65px; }
  .an-waveguide-plate { width: 300px; height: 92px; }
  .an-display { gap: 70px; }
  .an-display-panel { width: 100px; height: 58px; }
  .an-sensor { gap: 90px; }
  .an-board-pcb { width: 270px; height: 78px; }
  .an-board-chip.main { width: 76px; height: 38px; font-size: .5rem; }
  .an-battery { gap: 100px; }
  .an-battery-cell { width: 52px; height: 78px; }
  .an-layer-label { padding: 8px 12px; }
  .an-label-text h5 { font-size: .8rem; }
  .an-label-text p { font-size: .66rem; }
  .an-real-glasses-img { max-width: 440px; }
}

@media (max-width: 900px) {
  .anatomy { height: 380vh; }
  .anatomy-header { top: 90px; }
  .anatomy-stack {
    width: 380px;
    height: 240px;
    transform: rotateX(-8deg) rotateY(-18deg);
  }
  .an-real-glasses-img { max-width: 360px; }
  .an-frame-shape { width: 260px; height: 90px; }
  .an-frame-temple { width: 55px; }
  .an-frame-temple.left { left: -50px; }
  .an-frame-temple.right { right: -50px; }
  .an-waveguide-plate { width: 240px; height: 76px; }
  .an-display { gap: 50px; }
  .an-display-panel { width: 80px; height: 48px; }
  .an-sensor { gap: 70px; }
  .an-sensor-cam { width: 36px; height: 36px; }
  .an-sensor-lens { width: 16px; height: 16px; }
  .an-board-pcb { width: 220px; height: 64px; }
  .an-board-chip.main { width: 64px; height: 32px; font-size: .45rem; }
  .an-battery { gap: 80px; }
  .an-battery-cell { width: 44px; height: 64px; }
  .an-layer-label {
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    transform: translateY(-10px) !important;
    margin-top: 8px;
    padding: 6px 10px;
  }
  .an-layer-label::before { display: none; }
  .an-label-text h5 { font-size: .72rem; }
  .an-label-text p { font-size: .6rem; }
  .anatomy-progress { width: 260px; bottom: 30px; }
  .anatomy-hint { display: none; }
}

@media (max-width: 600px) {
  .anatomy { height: 350vh; }
  .anatomy-header { top: 80px; }
  .anatomy-header h2 { font-size: 1.3rem; }
  .anatomy-stack { width: 300px; height: 200px; }
  .an-real-glasses-img { max-width: 280px; }
  .an-frame-shape { width: 220px; height: 76px; }
  .an-waveguide-plate { width: 200px; height: 64px; }
  .an-display { gap: 36px; }
  .an-display-panel { width: 62px; height: 38px; }
  .an-sensor { gap: 50px; }
  .an-sensor-cam { width: 30px; height: 30px; }
  .an-sensor-lens { width: 14px; height: 14px; }
  .an-board-pcb { width: 180px; height: 54px; }
  .an-battery { gap: 60px; }
  .an-battery-cell { width: 36px; height: 54px; }
  .an-label-index { font-size: .65rem; padding: 1px 6px; }
  .an-label-text h5 { font-size: .68rem; }
  .an-label-text p { font-size: .55rem; }
  .anatomy-progress { width: 200px; }
  .anp-labels { font-size: .62rem; }
}

/* ==================================================
   STATS BAR
   ================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 70px auto 0;
  max-width: 1400px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.stat-item {
  padding: 38px 18px;
  text-align: center;
  background: var(--bg-soft);
  transition: background .4s;
}

.stat-item:hover {
  background: var(--glass);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-value small {
  font-size: 1.15rem;
  -webkit-text-fill-color: var(--primary);
}

.stat-title {
  color: var(--text-faint);
  font-size: .86rem;
}

/* ==================================================
   SECTION HEAD
   ================================================== */
.section-head {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: .8rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.section-head p {
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* ==================================================
   FEATURES
   ================================================== */
.features {
  padding: 130px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 38px 30px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  transition: transform .5s cubic-bezier(.4, 0, .2, 1), box-shadow .5s, background .5s, border-color .5s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 152, 176, .15);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 152, 176, .15), rgba(139, 47, 217, .15));
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.6rem;
  transition: all .5s;
}

.feature-card:hover .feature-icon-box {
  transform: rotate(-8deg) scale(1.08);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 30px rgba(0, 152, 176, .4);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-dim);
  font-size: .93rem;
  line-height: 1.85;
}

/* ==================================================
   COMPARE TABLE
   ================================================== */
.compare {
  padding: 110px 0;
}

.compare-table {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.compare-table > div {
  padding: 20px 22px;
  font-size: .92rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
}

.compare-table > div:nth-child(3n+1) {
  color: var(--text-dim);
  background: var(--glass);
}

.compare-head {
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--glass) !important;
  color: var(--text) !important;
}

.compare-head.win {
  background: linear-gradient(135deg, rgba(0, 152, 176, .18), rgba(139, 47, 217, .18)) !important;
  color: var(--primary) !important;
}

.compare-yes { color: var(--neon-green); font-weight: 600; }
.compare-no { color: var(--text-faint2); }

/* ==================================================
   SHOWCASE
   ================================================== */
.showcase {
  padding: 130px 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 230px);
  gap: 20px;
}

.showcase-item {
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .5s, box-shadow .5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.showcase-item:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.showcase-item:nth-child(3) { grid-column: span 5; grid-row: span 1; }

.showcase-item img {
  width: 65%;
  height: auto;
  object-fit: contain;
  transition: transform .8s cubic-bezier(.4, 0, .2, 1);
  filter: drop-shadow(0 20px 40px rgba(0, 152, 176, .3));
}

.showcase-item:hover {
  border-color: var(--primary);
  box-shadow: 0 30px 80px rgba(0, 152, 176, .18);
}

.showcase-item:hover img {
  transform: scale(1.12) rotate(-3deg);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .75));
  display: flex;
  align-items: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity .5s;
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
}

.showcase-overlay-text {
  transform: translateY(16px);
  transition: transform .5s;
}

.showcase-item:hover .showcase-overlay-text {
  transform: translateY(0);
}

.showcase-overlay-text h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #fff;
}

.showcase-overlay-text span {
  font-size: .84rem;
  color: var(--primary);
}

/* ==================================================
   SPECS
   ================================================== */
.specs {
  padding: 130px 0;
}

.specs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.specs-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.specs-image img {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 30px 70px rgba(0, 152, 176, .32));
  animation: floatGlasses 7s ease-in-out infinite;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.spec-row::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width .5s;
}

html[lang="en"] .spec-row::after {
  right: auto;
  left: 0;
}

.spec-row:hover::after {
  width: 100%;
}

.spec-label {
  color: var(--text-faint);
  font-size: .94rem;
}

.spec-value {
  font-weight: 700;
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
}

/* ==================================================
   TESTIMONIALS
   ================================================== */
.testimonials {
  padding: 130px 0;
  background: linear-gradient(180deg, transparent, var(--glass), transparent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 34px 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  position: relative;
  transition: transform .5s, border-color .5s, box-shadow .5s;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 26px;
  font-size: 4.5rem;
  font-family: 'Space Grotesk', serif;
  color: var(--primary);
  opacity: .16;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 25px 60px rgba(0, 152, 176, .12);
}

.testimonial-card p {
  color: var(--text-dim);
  font-size: .97rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  flex-shrink: 0;
}

.author-info h5 {
  font-size: .94rem;
  margin-bottom: 3px;
}

.author-info span {
  font-size: .81rem;
  color: var(--text-faint);
}

/* ==================================================
   FAQ
   ================================================== */
.faq {
  padding: 110px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .35s;
  color: var(--primary);
  font-size: .85rem;
  margin-left: 16px;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 26px 22px;
  color: var(--text-dim);
  font-size: .93rem;
  line-height: 1.9;
}

/* ==================================================
   CTA (Buy section)
   ================================================== */
.cta {
  padding: 110px 0 140px;
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 55px;
  background: linear-gradient(135deg, rgba(0, 152, 176, .08), rgba(139, 47, 217, .08));
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  backdrop-filter: blur(30px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--primary), transparent 25%, transparent, var(--secondary), transparent 75%);
  animation: rotate 12s linear infinite;
  opacity: .08;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-box p {
  color: var(--text-dim);
  margin-bottom: 28px;
  font-size: 1.03rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.countdown-unit {
  background: var(--box-dark);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 12px 18px;
  min-width: 74px;
}

.countdown-unit strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  color: var(--primary);
}

.countdown-unit span {
  font-size: .72rem;
  color: var(--text-faint);
}

.price-display {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 32px;
  padding: 18px 36px;
  background: var(--box-dark);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.price-old {
  font-size: 1.3rem;
  color: var(--text-faint2);
  text-decoration: line-through;
}

.price-new {
  font-size: 2.7rem;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-new small {
  font-size: 1rem;
  -webkit-text-fill-color: var(--text-faint);
  font-weight: 400;
  margin-right: 8px;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  color: var(--text-dim);
}

.cta-feature b {
  color: var(--neon-green);
  font-size: 1rem;
  font-weight: 400;
}

/* ==================================================
   MOBILE BAR
   ================================================== */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 5%;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  transform: translateY(110%);
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.mobile-bar.show {
  transform: translateY(0);
}

.mobile-bar .mb-price strong {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--primary);
  font-size: 1.05rem;
  display: block;
}

.mobile-bar .mb-price span {
  font-size: .72rem;
  color: var(--text-faint);
}

.mobile-bar button {
  padding: 12px 22px;
  font-size: .85rem;
  white-space: nowrap;
}

/* ==================================================
   FOOTER
   ================================================== */
footer {
  padding: 70px 5% 30px;
  border-top: 1px solid var(--glass-border);
  margin-top: 40px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-brand p {
  color: var(--text-faint);
  font-size: .9rem;
  margin-top: 14px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-faint);
  text-decoration: none;
  font-size: .88rem;
  transition: all .3s;
}

.footer-col a:hover {
  color: var(--primary);
  padding-right: 6px;
}

html[lang="en"] .footer-col a:hover {
  padding-right: 0;
  padding-left: 6px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--text-faint2);
  font-size: .85rem;
}

/* ==================================================
   VIDEO MODAL
   ================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: min(92vw, 1100px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: scale(.92) translateY(20px);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
}

.video-modal.active .video-modal-content {
  transform: scale(1) translateY(0);
}

.video-wrapper,
.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.video-modal-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .25s;
  z-index: 2;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, .2);
  transform: rotate(90deg);
}

.video-modal:not(.active) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .video-modal-close {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, .55);
  }
}

/* ==================================================
   RESPONSIVE (general)
   ================================================== */
@media (max-width: 1024px) {
  .specs-layout { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .showcase-item { grid-column: span 1 !important; grid-row: span 1 !important; height: 280px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .compare-table { font-size: .85rem; }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p, .hero-sub-list { margin-left: auto; margin-right: auto; }
  .hero-sub-list { align-items: center; }
  .hero-buttons { justify-content: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .glasses-image-wrapper { max-width: 300px; }
  .ring-2, .ring-3 { display: none; }
  .glow-backdrop { width: 380px; height: 380px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 78px; }
}

@media (max-width: 600px) {
  nav { padding: 12px 4%; gap: 10px; }
  .logo-text { font-size: 1rem; letter-spacing: 2.5px; }
  .btn-primary { padding: 11px 18px; font-size: .82rem; }
  .icon-toggle { width: 34px; height: 34px; font-size: .85rem; }
  .stat-value { font-size: 1.9rem; }
  .cta-box { padding: 46px 22px; }
  .price-new { font-size: 1.9rem; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .compare-table { grid-template-columns: 1.1fr 1fr 1fr; font-size: .78rem; }
  .compare-table > div { padding: 14px 10px; }
}