/* ==========================================================================
   Quorixa.online — Future Lab Landing Page
   Pure CSS3 · Mobile-first · Production-ready
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg-arctic: #FCFDFF;
  --bg-mist: #F4F8FB;
  --primary: #0F172A;
  --secondary: #3B82F6;
  --accent: #00BFA6;
  --highlight: #FFB703;
  --soft-violet: #A78BFA;
  --card: #FFFFFF;
  --border: rgba(15, 23, 42, 0.08);
  --text: #111827;
  --text-secondary: #64748B;

  --font-display: "Space Grotesk", "Sora", system-ui, sans-serif;
  --font-headline: "Sora", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", "Inter", system-ui, sans-serif;
  --font-ui: "Inter", "Manrope", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 999px;

  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 16px 48px rgba(59, 130, 246, 0.12);

  --nav-h: 72px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.45s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-arctic);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

button,
input {
  font: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
}

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

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 500;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  position: relative;
}

.section__header {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.section__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.85rem;
}

.section__title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 0.85rem;
}

.section__lead {
  font-size: 1.0625rem;
  max-width: 52ch;
}

.section__header--center .section__lead {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
  background: #1e293b;
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgba(15, 23, 42, 0.2);
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn--gradient {
  width: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.btn--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.35);
}

.btn--lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Button shimmer */
.btn--shimmer {
  position: relative;
  overflow: hidden;
}

.btn--shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: shimmer 3.5s var(--ease) infinite;
}

@keyframes shimmer {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 1.25rem 0;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.7rem 1rem 0.7rem 1.35rem;
  background: rgba(252, 253, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary);
  flex-shrink: 0;
}

.nav__menu {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav__menu a {
  position: relative;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  transition: color 0.25s var(--ease);
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 1.5px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__menu a:hover {
  color: var(--primary);
}

.nav__menu a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  flex-shrink: 0;
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
}

@media (min-width: 900px) {
  .nav__menu {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   6. Hero — Product Reveal
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100svh - var(--nav-h));
  padding: 2rem 1.25rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(59, 130, 246, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 191, 166, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-arctic) 0%, var(--bg-mist) 100%);
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.hero__glow--1 {
  width: 420px;
  height: 420px;
  top: 10%;
  right: 8%;
  background: rgba(59, 130, 246, 0.22);
  animation: glow-drift 12s ease-in-out infinite alternate;
}

.hero__glow--2 {
  width: 300px;
  height: 300px;
  bottom: 15%;
  left: 5%;
  background: rgba(0, 191, 166, 0.18);
  animation: glow-drift 14s ease-in-out infinite alternate-reverse;
}

@keyframes glow-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(30px, -20px); }
}

.hero__waves {
  position: absolute;
  inset: 0;
}

.hero__waves span {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: wave-expand 6s var(--ease) infinite;
}

.hero__waves span:nth-child(2) {
  animation-delay: 2s;
}

.hero__waves span:nth-child(3) {
  animation-delay: 4s;
}

@keyframes wave-expand {
  0% {
    width: 180px;
    height: 180px;
    opacity: 0.5;
  }
  100% {
    width: 900px;
    height: 900px;
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  animation: fade-up 0.9s var(--ease) both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero__headline {
  font-family: var(--font-headline);
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Product stage */
.hero__stage {
  position: relative;
  z-index: 2;
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin-inline: auto;
  animation: fade-up 1s 0.15s var(--ease) both;
}

.stage__rings {
  position: absolute;
  inset: 0;
}

.stage__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 50%;
}

.stage__ring--1 {
  inset: 8%;
  border-color: rgba(59, 130, 246, 0.15);
}

.stage__ring--2 {
  inset: 18%;
  border-style: dashed;
  border-color: rgba(0, 191, 166, 0.2);
  animation: spin-slow 40s linear infinite;
}

.stage__ring--3 {
  inset: 30%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 40%, transparent 70%);
  border-color: rgba(15, 23, 42, 0.05);
  box-shadow: inset 0 0 60px rgba(59, 130, 246, 0.06);
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.stage__spotlight {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 253, 255, 1) 0%, rgba(244, 248, 251, 0.4) 60%, transparent 70%);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.stage__product {
  position: absolute;
  z-index: 3;
}

.stage__product--main {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.stage__product--watch {
  top: 12%;
  right: 8%;
}

.stage__product--buds {
  bottom: 14%;
  left: 6%;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 1.05fr;
    padding: 1rem clamp(1.5rem, 5vw, 4rem) 3rem;
    gap: 2rem;
  }

  .hero__content {
    padding-left: clamp(0, 4vw, 2rem);
  }

  .hero__stage {
    width: min(100%, 560px);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   7. CSS Product Mockups
   -------------------------------------------------------------------------- */
.mockup {
  position: relative;
  background: linear-gradient(145deg, #1e293b 0%, #0F172A 100%);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.mockup--lg {
  width: 88px;
  height: 88px;
}

.mockup--xl {
  width: 140px;
  height: 140px;
}

.mockup--watch {
  width: 72px;
  height: 88px;
  border-radius: 22px;
}

.mockup--watch::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  background: linear-gradient(160deg, #3B82F6 0%, #0F172A 55%, #00BFA6 100%);
  opacity: 0.9;
}

.mockup--watch::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 28px;
  height: 10px;
  transform: translateX(-50%);
  background: #334155;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 98px 0 #334155;
}

.mockup--buds {
  width: 90px;
  height: 70px;
  border-radius: 28px;
}

.mockup--buds::before,
.mockup--buds::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 42px;
  border-radius: 14px 14px 18px 18px;
  background: linear-gradient(180deg, #e2e8f0, #94a3b8);
  top: 12px;
  box-shadow: inset 0 -8px 0 rgba(15, 23, 42, 0.15);
}

.mockup--buds::before { left: 16px; }
.mockup--buds::after { right: 16px; }

.mockup--hub {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  background: linear-gradient(160deg, #f8fafc 0%, #e2e8f0 40%, #cbd5e1 100%);
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.8);
}

.mockup--hub::before {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  opacity: 0.5;
  animation: pulse-core 3s ease-in-out infinite;
}

.mockup--hub::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.mockup--speaker {
  width: 70px;
  height: 100px;
  border-radius: 36px;
  background: linear-gradient(180deg, #334155, #0F172A);
}

.mockup--speaker::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  width: 36px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.06),
    inset 0 0 12px rgba(59, 130, 246, 0.4);
}

.mockup--camera {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(145deg, #1e293b, #0F172A);
}

.mockup--camera::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #60a5fa, #1e3a8a 50%, #0F172A);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.mockup--projector {
  width: 110px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1f5f9, #94a3b8);
}

.mockup--projector::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff, #3B82F6 40%, #0F172A);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
}

.mockup--projector::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 36px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: var(--primary);
  opacity: 0.35;
}

.mockup--lg.mockup--watch { width: 64px; height: 78px; }
.mockup--lg.mockup--buds { width: 96px; height: 72px; }
.mockup--lg.mockup--hub { width: 90px; height: 90px; }
.mockup--lg.mockup--speaker { width: 62px; height: 90px; }
.mockup--lg.mockup--camera { width: 78px; height: 78px; }
.mockup--lg.mockup--projector { width: 100px; height: 54px; }

.mockup--xl.mockup--watch { width: 100px; height: 120px; border-radius: 28px; }
.mockup--xl.mockup--buds { width: 150px; height: 110px; border-radius: 40px; }
.mockup--xl.mockup--hub { width: 150px; height: 150px; border-radius: 36px; }
.mockup--xl.mockup--projector { width: 180px; height: 95px; border-radius: 18px; }

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

/* Floating animations */
.float-a { animation: float-y 5s ease-in-out infinite; }
.float-b { animation: float-y 6.5s 0.5s ease-in-out infinite; }
.float-c { animation: float-y 7s 1s ease-in-out infinite; }

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

.stage__product--main.float-a {
  animation: float-main 5s ease-in-out infinite;
}

@keyframes float-main {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 10px)); }
}

.float-soft {
  animation: float-soft 6s ease-in-out infinite;
}

.float-soft-delay {
  animation: float-soft 7s 1.2s ease-in-out infinite;
}

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

/* --------------------------------------------------------------------------
   8. Featured Devices
   -------------------------------------------------------------------------- */
.devices {
  background: var(--bg-mist);
}

.device-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .device-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .device-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.device-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.device-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration) var(--ease), background var(--duration) var(--ease);
  pointer-events: none;
}

.device-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.device-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.device-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background:
    radial-gradient(circle at 50% 60%, rgba(59, 130, 246, 0.08), transparent 60%),
    linear-gradient(180deg, #F8FAFC, #EEF2F7);
  transition: transform var(--duration) var(--ease);
}

.device-card:hover .device-card__visual {
  transform: scale(1.03);
}

.device-card:hover .mockup {
  transform: translateY(-6px) scale(1.04);
  transition: transform var(--duration) var(--ease);
}

.device-card .mockup {
  transition: transform var(--duration) var(--ease);
}

.device-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  flex: 1;
}

.device-card__body h3 {
  font-size: 1.2rem;
}

.device-card__body > p {
  font-size: 0.9375rem;
  flex: 1;
}

.device-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.35rem 0 0.5rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.rating {
  font-size: 0.85rem;
  color: var(--highlight);
  letter-spacing: 0.05em;
}

.rating em {
  font-style: normal;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0;
  margin-left: 0.25rem;
}

/* --------------------------------------------------------------------------
   9. Innovation Ecosystem
   -------------------------------------------------------------------------- */
.ecosystem {
  background: var(--bg-arctic);
  overflow: hidden;
}

.eco-map {
  position: relative;
  min-height: 560px;
  max-width: 1000px;
  margin-inline: auto;
}

.eco-map__lines {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.eco-path {
  fill: none;
  stroke: rgba(59, 130, 246, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  animation: dash-flow 20s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -200; }
}

.eco-core {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md), 0 0 40px rgba(59, 130, 246, 0.1);
}

.eco-core__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.3);
  animation: ripple 2.8s var(--ease) infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.eco-core__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.eco-node {
  position: relative;
  z-index: 2;
  padding: 1.35rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.eco-node:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.25);
}

.eco-node h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.eco-node p {
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .eco-map {
    min-height: 520px;
  }

  .eco-map__lines {
    display: block;
  }

  .eco-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: 140px;
    height: 140px;
  }

  .eco-node {
    position: absolute;
    width: min(240px, 28%);
    margin: 0;
  }

  .eco-node--1 { top: 6%; left: 4%; }
  .eco-node--2 { top: 4%; right: 4%; }
  .eco-node--3 { bottom: 12%; left: 2%; }
  .eco-node--4 { bottom: 8%; right: 2%; }
  .eco-node--5 { top: 0; left: 28%; }
  .eco-node--6 { top: 2%; right: 26%; }
}

/* --------------------------------------------------------------------------
   10. Device Explorer (horizontal scroll)
   -------------------------------------------------------------------------- */
.explorer {
  background: linear-gradient(180deg, var(--bg-mist) 0%, var(--bg-arctic) 100%);
  padding-bottom: 2rem;
}

.explorer .container {
  margin-bottom: 0.5rem;
}

.explorer-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.25rem;
  padding: 1rem 1.25rem 2.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.35) transparent;
}

.explorer-track:focus-visible {
  outline-offset: -4px;
}

.explorer-panel {
  flex: 0 0 min(88vw, 720px);
  scroll-snap-align: center;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  min-height: 320px;
}

.explorer-panel__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 191, 166, 0.08), transparent 65%),
    linear-gradient(160deg, #F8FAFC, #E8EEF5);
}

.explorer-panel__copy h3 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 1rem;
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-list li {
  position: relative;
  padding-left: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.tech-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-note {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

@media (min-width: 700px) {
  .explorer-panel {
    grid-template-columns: 1fr 1fr;
    flex-basis: min(90vw, 860px);
  }

  .explorer-panel--b .explorer-panel__copy {
    order: 1;
  }

  .explorer-panel--b .explorer-panel__media {
    order: 2;
  }
}

/* --------------------------------------------------------------------------
   11. AI Technology Showcase
   -------------------------------------------------------------------------- */
.ai-showcase {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(167, 139, 250, 0.06), transparent 60%),
    var(--bg-arctic);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .ai-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.ai-block {
  padding: 2rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.ai-block:hover {
  box-shadow: var(--shadow-md);
}

.ai-block--1 { border-top: 3px solid var(--secondary); }
.ai-block--2 { border-top: 3px solid var(--accent); }
.ai-block--3 { border-top: 3px solid var(--highlight); }
.ai-block--4 { border-top: 3px solid var(--soft-violet); }

.ai-block__icon {
  margin-bottom: 1.25rem;
}

.icon-ring {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  background: rgba(59, 130, 246, 0.08);
  position: relative;
}

.icon-ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.85;
}

.icon-ring--teal {
  border-color: var(--accent);
  background: rgba(0, 191, 166, 0.1);
}

.icon-ring--teal::after {
  background: var(--accent);
}

.icon-ring--amber {
  border-color: var(--highlight);
  background: rgba(255, 183, 3, 0.12);
}

.icon-ring--amber::after {
  background: var(--highlight);
}

.icon-ring--violet {
  border-color: var(--soft-violet);
  background: rgba(167, 139, 250, 0.12);
}

.icon-ring--violet::after {
  background: var(--soft-violet);
}

.ai-block h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.ai-block p {
  font-size: 0.975rem;
}

/* --------------------------------------------------------------------------
   12. Performance Dashboard
   -------------------------------------------------------------------------- */
.dashboard {
  background: var(--bg-mist);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .metrics {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.metric {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.metric:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.metric__ring {
  --progress: 80;
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: conic-gradient(
    var(--secondary) calc(var(--progress) * 1%),
    rgba(15, 23, 42, 0.06) 0
  );
  display: grid;
  place-items: center;
}

.metric__ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--card);
}

.metric__value {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.metric h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.metric p {
  font-size: 0.85rem;
  max-width: 18ch;
  margin-inline: auto;
}

.metric:nth-child(2) .metric__ring {
  background: conic-gradient(
    var(--accent) calc(var(--progress) * 1%),
    rgba(15, 23, 42, 0.06) 0
  );
}

.metric:nth-child(3) .metric__ring {
  background: conic-gradient(
    var(--highlight) calc(var(--progress) * 1%),
    rgba(15, 23, 42, 0.06) 0
  );
}

.metric:nth-child(4) .metric__ring {
  background: conic-gradient(
    var(--soft-violet) calc(var(--progress) * 1%),
    rgba(15, 23, 42, 0.06) 0
  );
}

/* --------------------------------------------------------------------------
   13. Customer Reviews
   -------------------------------------------------------------------------- */
.reviews {
  background: var(--bg-arctic);
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.review-card {
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.85rem;
}

.avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), #1d4ed8);
}

.avatar--teal {
  background: linear-gradient(135deg, var(--accent), #0d9488);
}

.avatar--amber {
  background: linear-gradient(135deg, var(--highlight), #d97706);
  color: var(--primary);
}

.review-card__name {
  font-family: var(--font-headline);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  display: block;
}

.review-card__device {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.stars {
  color: var(--highlight);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.review-card > p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   14. Membership & Protection
   -------------------------------------------------------------------------- */
.membership {
  background: var(--bg-mist);
}

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
  max-width: 980px;
  margin-inline: auto;
}

@media (min-width: 800px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
    align-items: center;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease);
}

.plan h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.plan__price {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.plan__price span {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.925rem;
  color: var(--text);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.plan .btn {
  width: 100%;
}

.plan--featured {
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow-glow);
  padding-top: 2.5rem;
  z-index: 1;
}

@media (min-width: 800px) {
  .plan--featured {
    transform: scale(1.05);
    padding-block: 2.75rem;
  }

  .plan--featured:hover {
    transform: scale(1.07);
  }
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--secondary);
  border-radius: 8px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   15. Product Launch Banner
   -------------------------------------------------------------------------- */
.launch {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 8rem) 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 30% 50%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 40%, rgba(0, 191, 166, 0.1), transparent 50%),
    linear-gradient(135deg, #0F172A 0%, #1e293b 50%, #0f2744 100%);
}

.launch__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.launch__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 65%);
  animation: glow-drift 10s ease-in-out infinite alternate;
}

.launch__waves span {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: wave-expand 7s var(--ease) infinite;
}

.launch__waves span:nth-child(2) { animation-delay: 2.3s; }
.launch__waves span:nth-child(3) { animation-delay: 4.6s; }

.launch__geo {
  position: absolute;
  width: 280px;
  height: 280px;
  right: 8%;
  bottom: -40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 40% 60% 55% 45%;
  transform: rotate(18deg);
  animation: spin-slow 50s linear infinite;
}

.launch__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-inline: auto;
}

.launch__content h2 {
  font-size: clamp(1.85rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.launch .btn--primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.launch .btn--primary:hover {
  background: var(--bg-mist);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.72);
  padding: 4.5rem 0 2rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s var(--ease);
}

.footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 2rem;
  }
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff !important;
  margin-bottom: 0.85rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.925rem;
  max-width: 32ch;
  margin-bottom: 1.5rem;
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter input {
  flex: 1 1 180px;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter input:focus {
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter .btn {
  padding: 0.8rem 1.25rem;
}

.footer__col h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__col a {
  font-size: 0.925rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 2rem;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.social {
  display: flex;
  gap: 0.75rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  transition:
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.social a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.warranty-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   17. Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .hero__atmosphere,
  .launch__atmosphere {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
