:root {
  color-scheme: dark;
  --page-max-width: 1180px;
  --font-sans: "Inter", "Poppins", "Space Grotesk", "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  --accent-blue: #4fd1ff;
  --accent-indigo: #7b7bff;
  --accent-purple: #bf6bff;
  --accent-green: #6ee7b7;
  --accent-orange: #fb923c;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --blur-strong: 24px;
  --transition: 220ms ease;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --bg-primary: radial-gradient(circle at 12% 18%, rgba(79, 209, 255, 0.14), transparent 40%),
    radial-gradient(circle at 85% 26%, rgba(191, 107, 255, 0.12), transparent 45%),
    linear-gradient(145deg, #030711 0%, #050b18 55%, #070f1f 100%);
  --bg-product: radial-gradient(circle at 20% 16%, rgba(126, 127, 255, 0.18), transparent 45%),
    radial-gradient(circle at 82% 14%, rgba(79, 209, 255, 0.16), transparent 45%),
    linear-gradient(165deg, #070b15 0%, #0a1022 40%, #0c1328 100%);
  --bg-overlay-soft: radial-gradient(circle at 12% 78%, rgba(59, 130, 246, 0.35), transparent 55%),
    radial-gradient(circle at 88% 85%, rgba(110, 231, 183, 0.35), transparent 60%);
  --bg-overlay-strong: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.16), transparent 45%),
    radial-gradient(circle at 90% 92%, rgba(59, 130, 246, 0.16), transparent 55%);
  --surface-glass: rgba(9, 12, 22, 0.78);
  --surface-strong: rgba(12, 16, 30, 0.92);
  --surface-elevated: rgba(11, 15, 28, 0.92);
  --surface-soft: rgba(12, 16, 32, 0.8);
  --surface-softer: rgba(12, 18, 35, 0.86);
  --surface-chip: rgba(26, 35, 52, 0.75);
  --surface-ghost: rgba(255, 255, 255, 0.04);
  --surface-ghost-hover: rgba(255, 255, 255, 0.08);
  --surface-hero-start: rgba(10, 14, 28, 0.95);
  --surface-hero-end: rgba(10, 17, 32, 0.88);
  --surface-hero-border: rgba(124, 139, 179, 0.35);
  --surface-hero-orb-one: rgba(79, 209, 255, 0.28);
  --surface-hero-orb-two: rgba(191, 107, 255, 0.32);
  --surface-card-highlight: rgba(79, 209, 255, 0.08);
  --surface-card-highlight-secondary: rgba(191, 107, 255, 0.08);
  --surface-chip-bg: rgba(255, 255, 255, 0.04);
  --surface-chip-border: rgba(255, 255, 255, 0.06);
  --badge-surface: rgba(255, 255, 255, 0.06);
  --badge-glow: rgba(79, 209, 255, 0.5);
  --button-primary-shadow: 0 18px 40px rgba(79, 209, 255, 0.24);
  --button-primary-shadow-hover: 0 26px 70px rgba(79, 209, 255, 0.32);
  --card-hover-border: rgba(111, 156, 255, 0.55);
  --card-hover-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  --hero-card-shadow: 0 32px 70px rgba(0, 0, 0, 0.32);
  --hero-card-shadow-hover: 0 40px 90px rgba(0, 0, 0, 0.42);
  --page-footer-background: linear-gradient(160deg, rgba(8, 12, 24, 0.9), rgba(6, 10, 20, 0.95));
  --page-footer-border: rgba(255, 255, 255, 0.08);
  --page-footer-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  --hero-stat-background: rgba(10, 14, 26, 0.88);
  --hero-stat-border: rgba(255, 255, 255, 0.08);
  --text-primary: #e2e8f7;
  --text-secondary: #c2c7d6;
  --text-muted: #8fa0b8;
  --stroke-faint: rgba(255, 255, 255, 0.04);
  --stroke-light: rgba(255, 255, 255, 0.08);
  --stroke-medium: rgba(255, 255, 255, 0.14);
  --stroke-strong: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 20px 45px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 48px 120px rgba(0, 0, 0, 0.45);
  --nav-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg-primary: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.25), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(129, 140, 248, 0.25), transparent 55%),
    linear-gradient(140deg, #050b1f 0%, #0f172a 45%, #1e1b4b 100%);
  --bg-product: radial-gradient(circle at 25% 15%, rgba(129, 140, 248, 0.25), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(45, 212, 191, 0.22), transparent 55%),
    linear-gradient(150deg, #050b1f 0%, #0f172a 40%, #111827 100%);
  --bg-overlay-soft: radial-gradient(circle at 10% 80%, rgba(96, 165, 250, 0.18), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.18), transparent 55%);
  --bg-overlay-strong: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(168, 85, 247, 0.08), transparent 55%);
  --surface-glass: rgba(15, 23, 42, 0.72);
  --surface-strong: rgba(15, 23, 42, 0.88);
  --surface-elevated: rgba(15, 23, 42, 0.85);
  --surface-soft: rgba(15, 23, 42, 0.55);
  --surface-softer: rgba(15, 23, 42, 0.6);
  --surface-chip: rgba(148, 163, 184, 0.12);
  --surface-ghost: rgba(15, 23, 42, 0.4);
  --surface-ghost-hover: rgba(148, 163, 184, 0.12);
  --surface-hero-start: rgba(15, 23, 42, 0.88);
  --surface-hero-end: rgba(30, 41, 59, 0.72);
  --surface-hero-border: rgba(148, 163, 184, 0.18);
  --surface-hero-orb-one: rgba(56, 189, 248, 0.4);
  --surface-hero-orb-two: rgba(168, 85, 247, 0.42);
  --surface-card-highlight: rgba(56, 189, 248, 0.24);
  --surface-card-highlight-secondary: rgba(129, 140, 248, 0.2);
  --surface-chip-bg: rgba(15, 23, 42, 0.55);
  --surface-chip-border: rgba(148, 163, 184, 0.12);
  --badge-surface: rgba(15, 23, 42, 0.4);
  --badge-glow: rgba(129, 140, 248, 0.5);
  --button-primary-shadow: 0 14px 35px rgba(56, 189, 248, 0.35);
  --button-primary-shadow-hover: 0 18px 45px rgba(56, 189, 248, 0.45);
  --card-hover-border: rgba(56, 189, 248, 0.45);
  --card-hover-shadow: 0 28px 60px rgba(56, 189, 248, 0.25);
  --hero-card-shadow: 0 30px 60px rgba(56, 189, 248, 0.18);
  --hero-card-shadow-hover: 0 40px 80px rgba(56, 189, 248, 0.28);
  --page-footer-background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.92));
  --page-footer-border: rgba(148, 163, 184, 0.18);
  --page-footer-shadow: 0 32px 80px rgba(15, 23, 42, 0.35);
  --hero-stat-background: rgba(15, 23, 42, 0.65);
  --hero-stat-border: rgba(148, 163, 184, 0.18);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5f5;
  --text-muted: #94a3b8;
  --stroke-faint: rgba(148, 163, 184, 0.12);
  --stroke-light: rgba(148, 163, 184, 0.18);
  --stroke-medium: rgba(148, 163, 184, 0.24);
  --stroke-strong: rgba(148, 163, 184, 0.3);
  --shadow-sm: 0 18px 36px rgba(15, 23, 42, 0.28);
  --shadow-lg: 0 40px 80px rgba(15, 23, 42, 0.35);
  --nav-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  backdrop-filter: blur(0px);
  position: relative;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--bg-overlay-soft);
  background-size: 120px 120px, 120px 120px, cover;
  background-position: center;
  filter: blur(0px);
  opacity: 0.8;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: var(--bg-overlay-strong);
  mix-blend-mode: screen;
  opacity: 0.7;
  z-index: -2;
}

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

a:hover {
  text-decoration: none;
}

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

button {
  font: inherit;
}

main {
  width: min(100% - 32px, var(--page-max-width));
  margin: 0 auto;
  padding-bottom: 120px;
}

.top-nav {
  width: min(100% - 32px, var(--page-max-width));
  margin: 32px auto 0;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: sticky;
  top: 18px;
  z-index: 30;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(18px);
  border: 1px solid var(--stroke-light);
  box-shadow: var(--nav-shadow);
  position: sticky;
  overflow: hidden;
}

.top-nav::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(79, 209, 255, 0.45), rgba(191, 107, 255, 0.4));
  opacity: 0.4;
  filter: blur(40px);
  z-index: -1;
}

.top-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
  box-shadow: var(--nav-shadow);
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(130deg, var(--accent-blue), var(--accent-indigo));
  -webkit-background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.85), rgba(99, 102, 241, 0.9));
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.45);
}

.top-nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.top-nav__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-nav__links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.top-nav__links a:hover,
.top-nav__links a:focus-visible {
  background: var(--surface-ghost-hover);
  color: var(--text-primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), filter var(--transition);
}

.button--primary {
  background: linear-gradient(120deg, rgba(79, 209, 255, 0.95), rgba(191, 107, 255, 0.9));
  box-shadow: var(--button-primary-shadow);
  color: #04152f;
}

.button--primary:hover,
.button--primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--button-primary-shadow-hover);
  filter: brightness(1.05);
}

.button--ghost {
  border-color: var(--stroke-strong);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: var(--text-secondary);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--accent-blue);
  background: var(--surface-ghost-hover);
  color: var(--text-primary);
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke-light);
  background: var(--surface-soft);
  color: var(--text-secondary);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  overflow: hidden;
}

.theme-toggle[data-theme-state='dark'] {
  background: linear-gradient(130deg, rgba(30, 41, 59, 0.68), rgba(15, 23, 42, 0.52));
  color: var(--text-secondary);
}

.theme-toggle[data-theme-state='light'] {
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(226, 232, 240, 0.7));
  color: var(--text-secondary);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
  box-shadow: 0 18px 36px rgba(56, 189, 248, 0.22);
  background: var(--surface-ghost-hover);
  color: var(--text-primary);
}

.theme-toggle[data-theme-state='light']:hover,
.theme-toggle[data-theme-state='light']:focus-visible {
  background: linear-gradient(130deg, rgba(255, 255, 255, 1), rgba(226, 232, 240, 0.78));
}

.theme-toggle[data-theme-state='dark'] .theme-toggle__icon {
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.35));
}

.theme-toggle[data-theme-state='light'] .theme-toggle__icon {
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.35));
}

.theme-toggle__icon {
  font-size: 1.1rem;
  line-height: 1;
}

.theme-toggle__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-toggle__spark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  filter: blur(0px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  animation: themeSpark 620ms ease-out forwards;
}

@keyframes themeSpark {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.4);
  }
  60% {
    opacity: 1;
    transform: translate(calc(-50% + var(--spark-x, 0px)), calc(-50% + var(--spark-y, -18px))) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--spark-x, 0px)), calc(-50% + var(--spark-y, -24px))) scale(0.2);
  }
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  padding: clamp(44px, 5vw, 68px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)), var(--bg-product);
  border: 1px solid var(--surface-hero-border);
  box-shadow: var(--shadow-lg);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--blur-strong));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-lg) - 10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  opacity: 0.8;
  box-shadow: inset 0 0 0 1px rgba(79, 209, 255, 0.08);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: rgba(99, 102, 241, 0.85);
  font-weight: 600;
}

.hero__title {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

.hero__subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  text-wrap: balance;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__visual {
  position: relative;
  display: grid;
  gap: 24px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.85;
  mix-blend-mode: screen;
  animation: orbFloat 16s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-orb--one {
  width: 220px;
  height: 220px;
  top: -40px;
  right: -60px;
  background: radial-gradient(circle at 30% 30%, var(--surface-hero-orb-one), transparent 70%);
}

.hero-orb--two {
  width: 260px;
  height: 260px;
  bottom: -90px;
  left: 40px;
  background: radial-gradient(circle at 60% 40%, var(--surface-hero-orb-two), transparent 70%);
  animation-delay: -5s;
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: linear-gradient(140deg, rgba(79, 209, 255, 0.1), rgba(191, 107, 255, 0.08));
  border: 1px solid var(--surface-hero-border);
  box-shadow: var(--hero-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
  transition: transform 600ms var(--ease-out), box-shadow 400ms var(--ease-out);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.16), transparent 40%),
    linear-gradient(220deg, rgba(236, 72, 153, 0.16), transparent 55%);
  opacity: 0.7;
  z-index: -1;
}

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

.hero-card__title {
  font-size: 1.25rem;
  font-weight: 600;
}

.hero-card__subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.hero-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-chip-bg);
  border: 1px solid var(--surface-chip-border);
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-indigo);
  box-shadow: 0 0 12px var(--badge-glow);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.hero-stat {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--hero-stat-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-stat strong {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--accent-blue);
}

.hero-stat span {
  color: var(--text-muted);
}

.section {
  margin-top: 72px;
  display: grid;
  gap: 32px;
  position: relative;
}

.section__header {
  max-width: 680px;
  position: relative;
  padding-top: 8px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.section__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  text-wrap: balance;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--stroke-light);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-8px);
  border-color: var(--card-hover-border);
  box-shadow: var(--card-hover-shadow);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid var(--stroke-faint);
  pointer-events: none;
  opacity: 0.85;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(79, 209, 255, 0.1), rgba(191, 107, 255, 0.05));
  opacity: 0.55;
  filter: blur(32px);
  z-index: -1;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--badge-surface);
}

.product-card__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-blue));
  box-shadow: 0 0 12px var(--badge-glow);
}

.product-card__title {
  font-size: 1.6rem;
  font-weight: 600;
}

.product-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.product-card__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-card__list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface-chip-bg);
  border: 1px solid var(--surface-chip-border);
  backdrop-filter: blur(12px);
}

.product-card__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.product-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-blue);
  transition: color var(--transition);
}

.product-card__cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform var(--transition);
}

.product-card:hover .product-card__cta,
.product-card:focus-visible .product-card__cta {
  color: var(--accent-green);
}

.product-card:hover .product-card__cta svg,
.product-card:focus-visible .product-card__cta svg {
  transform: translateX(4px);
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.value-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke-light);
  display: grid;
  gap: 12px;
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-sm);
}

.value-card strong {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-footer {
  width: min(100% - 32px, var(--page-max-width));
  margin: 120px auto 40px;
  padding: 48px clamp(12px, 4vw, 24px);
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--page-footer-background);
  border: 1px solid var(--page-footer-border);
  box-shadow: var(--page-footer-shadow);
  display: grid;
  gap: 36px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
}

.page-footer__brand {
  display: grid;
  gap: 16px;
  max-width: 260px;
}

.brand--footer {
  font-size: 1.4rem;
}

.page-footer__brand p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-footer__column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-footer__title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-footer__column a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition);
}

.page-footer__column a:hover,
.page-footer__column a:focus-visible {
  color: var(--accent-blue);
}

.page-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--stroke-light);
  color: var(--text-muted);
}

.page-footer__bottom span {
  font-weight: 500;
}

.page-footer__links {
  display: flex;
  gap: 18px;
}

.page-footer__links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.page-footer__links a:hover,
.page-footer__links a:focus-visible {
  color: var(--accent-blue);
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--delay, 0s);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -14px, 0) scale(1.06);
  }
}

/* Product page overrides */

body.product-page {
  background: var(--bg-product);
}

.product-page main {
  width: min(100% - 32px, 1080px);
  padding-bottom: 100px;
}

.product-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 32px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)), var(--bg-product);
  border: 1px solid var(--surface-hero-border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 15% 20%, rgba(79, 209, 255, 0.22), transparent 60%),
    radial-gradient(circle at 80% 15%, rgba(191, 107, 255, 0.22), transparent 65%),
    linear-gradient(135deg, rgba(6, 10, 20, 0.55), transparent 70%);
  opacity: 0.9;
  z-index: 0;
}

.product-hero > * {
  position: relative;
  z-index: 1;
}

.product-hero__content {
  display: grid;
  gap: 22px;
}

.product-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-blue);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: max-content;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.2);
}

.product-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--accent-blue), var(--accent-indigo));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}

.product-hero__eyebrow {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

.product-hero__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
}

.product-hero__lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface-chip);
  color: var(--text-secondary);
  border: 1px solid var(--stroke-light);
}

.highlight-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--text-muted);
}

.highlight-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.highlight-list li::before {
  content: "";
  margin-top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.device-gallery {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.device-gallery__frame {
  position: relative;
  width: clamp(240px, 40vw, 320px);
  padding: 18px;
  border-radius: calc(var(--radius-lg) * 1.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.device-gallery__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 25% 20%, rgba(79, 209, 255, 0.2), transparent 65%),
    radial-gradient(circle at 70% 80%, rgba(191, 107, 255, 0.16), transparent 65%);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.device-gallery__frame > * {
  position: relative;
  z-index: 1;
}

.device-gallery__screen {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: var(--surface-elevated);
  border: 1px solid var(--stroke-strong);
  position: relative;
}

.device-gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 320ms ease;
}

.device-gallery__slide.is-active {
  opacity: 1;
}

.device-gallery__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.device-gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--stroke-strong);
  background: var(--surface-chip);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.device-gallery__dot.is-active {
  transform: scale(1.1);
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

.device-gallery__caption {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

.feature-section {
  margin-top: 64px;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: var(--surface-softer);
  border: 1px solid var(--stroke-light);
  display: grid;
  gap: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.feature-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface-softer);
  border: 1px solid var(--stroke-light);
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 24px 50px rgba(56, 189, 248, 0.22);
}

.feature-card:hover::after,
.feature-card:focus-within::after {
  opacity: 0.45;
}

.feature-card strong {
  font-size: 1.05rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: var(--surface-chip);
  border: 1px solid var(--stroke-medium);
  color: var(--text-secondary);
}

.use-case-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--text-muted);
}

.use-case-list li {
  display: flex;
  gap: 12px;
}

.use-case-list li::before {
  content: "";
  margin-top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.8);
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
}

@media (max-width: 960px) {
  .hero,
  .product-hero {
    padding: 36px;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    top: 16px;
    padding: 24px 16px 18px;
    width: min(100% - 24px, var(--page-max-width));
  }

  .top-nav__controls {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .top-nav__links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  body {
    line-height: 1.55;
  }

  .hero,
  .product-hero,
  .feature-section {
    padding: 28px;
  }

  .top-nav__controls {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .top-nav__links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .theme-toggle {
    width: 100%;
    justify-content: center;
  }

  .cta-group {
    width: 100%;
  }

  .cta-group .button {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  main,
  .top-nav,
  .page-footer {
    width: calc(100% - 24px);
  }

  .hero,
  .product-hero,
  .feature-section {
    padding: 24px;
  }

  .page-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
