/**
 * Nova — Premium public frontend theme
 * Light-only. Admin never loads this file.
 * Tokens: Linear / Stripe / Vercel inspired.
 *
 * Fonts: loaded via <link> in head.php (no @import — Cloudflare + FOUC safe).
 */

/* ── Force light (doc: light only) ───────────────────────── */
html.dark body.theme-nova,
body.theme-nova {
  color-scheme: light !important;
  --nova-bg: #ffffff;
  --nova-surface: #fafafc;
  --nova-surface-2: #f4f4f8;
  --nova-border: #ececf2;
  --nova-text: #0f172a;
  --nova-muted: #64748b;
  --nova-primary: #5b4bff;
  --nova-primary-2: #7a6bff;
  --nova-accent: #8b5cf6;
  --nova-glow: rgba(91, 75, 255, 0.18);
  --nova-radius: 22px;
  --nova-radius-lg: 28px;
  --nova-radius-xl: 32px;
  --nova-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 40px rgba(15, 23, 42, 0.06);
  --nova-shadow-lg: 0 4px 8px rgba(15, 23, 42, 0.03), 0 24px 64px rgba(91, 75, 255, 0.1);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--nova-bg) !important;
  color: var(--nova-text) !important;
  -webkit-font-smoothing: antialiased;
}

html.dark body.theme-nova .dark\:bg-slate-950,
html.dark body.theme-nova .dark\:bg-slate-900,
html.dark body.theme-nova .dark\:text-white,
html.dark body.theme-nova .dark\:text-slate-100,
html.dark body.theme-nova .dark\:text-slate-200,
html.dark body.theme-nova .dark\:text-slate-300,
html.dark body.theme-nova .dark\:border-slate-800,
html.dark body.theme-nova .dark\:border-white\/5 {
  /* neutralize dark utilities on public nova pages via inheritance */
}

body.theme-nova {
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(91, 75, 255, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(139, 92, 246, 0.07), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(122, 107, 255, 0.05), transparent 45%) !important;
  background-attachment: fixed;
}

/* Ambient noise overlay — must stay behind content (do NOT force position:relative
   on all body children: that overrides Tailwind .fixed and dumps the cart drawer
   into the document flow under the footer). */
body.theme-nova::before {
  content: '';
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.theme-nova > header,
body.theme-nova > main,
body.theme-nova > footer,
body.theme-nova > .nova-mobile-bar,
body.theme-nova > .nova-live-stack,
body.theme-nova > #flash-message {
  position: relative;
  z-index: 1;
}

/* Fixed chrome — explicit so nothing flattens them into the page flow */
body.theme-nova .nova-header {
  position: fixed !important;
  z-index: 50 !important;
}
body.theme-nova #cart-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 60 !important;
}
body.theme-nova #cart-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 100% !important;
  max-width: 28rem !important;
  width: 100% !important;
  z-index: 61 !important;
  /* Closed by default — do not rely solely on Tailwind utilities */
  transform: translateX(100%) !important;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
  background: #fff !important;
  border-left: 1px solid var(--nova-border) !important;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
}
body.theme-nova #cart-drawer.is-open,
body.theme-nova #cart-drawer:not(.translate-x-full) {
  transform: translateX(0) !important;
}
body.theme-nova #cart-overlay.hidden {
  display: none !important;
}
body.theme-nova .nova-live-stack {
  position: fixed !important;
  z-index: 40 !important;
}
body.theme-nova .nova-mobile-bar {
  z-index: 45 !important;
}
body.theme-nova .nova-cursor-glow {
  position: fixed !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

/* Cursor glow */
.nova-cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 75, 255, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: multiply;
}
body.theme-nova.nova-cursor-on .nova-cursor-glow {
  opacity: 1;
}

/* ── Typography ──────────────────────────────────────────── */
.nova-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nova-primary);
}

.nova-display {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--nova-text);
}
.nova-gradient-text {
  background: linear-gradient(135deg, #5b4bff 0%, #8b5cf6 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nova-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--nova-muted);
  max-width: 36rem;
}

.nova-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.nova-container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) {
  .nova-container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .nova-container { padding: 0 2rem; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.nova-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 999px;
  padding: 0.95rem 1.65rem;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.nova-btn:active { transform: translateY(0) scale(0.98); }

.nova-btn-primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #5b4bff 0%, #7a6bff 50%, #8b5cf6 100%);
  box-shadow: 0 8px 24px rgba(91, 75, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.nova-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(91, 75, 255, 0.45), 0 0 0 4px rgba(91, 75, 255, 0.12);
  color: #fff;
}
.nova-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: nova-ripple 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes nova-ripple {
  to { transform: scale(2.4); opacity: 0; }
}
.nova-btn-on-dark {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.nova-btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}
.nova-btn-outline-light {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.nova-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}
.nova-magnetic {
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.2s ease;
}

.nova-btn-secondary {
  color: var(--nova-text);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nova-border);
  box-shadow: var(--nova-shadow);
}
.nova-btn-secondary:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--nova-shadow-lg);
  color: var(--nova-text);
}

.nova-btn-ghost {
  color: var(--nova-primary);
  background: transparent;
  border: 1px solid transparent;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.nova-btn-ghost:hover {
  color: #4c3fe0;
  background: rgba(91, 75, 255, 0.06);
}

/* ── Glass header ────────────────────────────────────────── */
.nova-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.85rem 1rem 0;
  transition: padding 0.3s ease;
}
.nova-header.is-scrolled {
  padding-top: 0.45rem;
}
.nova-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(236, 236, 242, 0.9);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.nova-header.is-scrolled .nova-header-inner {
  padding: 0.45rem 0.85rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}
.nova-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) {
  .nova-nav { display: flex; }
}
.nova-nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nova-muted);
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nova-nav a:hover {
  color: var(--nova-text);
  background: rgba(15, 23, 42, 0.04);
}
.nova-nav a.is-active {
  color: var(--nova-primary);
  background: rgba(91, 75, 255, 0.08);
}
.nova-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--nova-primary);
  transform: translateX(-50%);
}
.nova-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-self: end;
}

/* Mega menu + profile dropdown */
.nova-mega {
  position: relative;
}
.nova-nav-mega-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nova-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  font-family: inherit;
  transition: color 0.2s, background 0.2s;
}
.nova-nav-mega-btn:hover,
.nova-mega:hover .nova-nav-mega-btn {
  color: var(--nova-text);
  background: rgba(15, 23, 42, 0.04);
}
.nova-mega-panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.5rem);
  transform: translateX(-50%) translateY(6px);
  width: min(280px, 80vw);
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--nova-border);
  box-shadow: var(--nova-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.nova-mega:hover .nova-mega-panel,
.nova-mega:focus-within .nova-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nova-mega-label {
  margin: 0 0 0.5rem;
  padding: 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}
.nova-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}
.nova-mega-list a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nova-text);
  text-decoration: none;
}
.nova-mega-list a:hover {
  background: rgba(91, 75, 255, 0.06);
  color: var(--nova-primary);
}
.nova-mega-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--nova-primary);
  opacity: 0.45;
  flex-shrink: 0;
}
.nova-mega-all {
  display: block;
  margin-top: 0.5rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--nova-primary);
  text-decoration: none;
  border-top: 1px solid var(--nova-border);
}
.nova-profile { position: relative; }
.nova-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  width: 11.5rem;
  padding: 0.4rem;
  margin: 0;
  list-style: none;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--nova-border);
  box-shadow: var(--nova-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 60;
}
.nova-profile:hover .nova-dropdown,
.nova-profile:focus-within .nova-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nova-dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nova-muted);
  text-decoration: none;
  border-radius: 10px;
}
.nova-dropdown a:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--nova-text);
}
.nova-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--nova-muted);
  cursor: pointer;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.nova-icon-btn:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--nova-text);
}
.nova-icon-btn .badge {
  position: absolute;
  top: 0.2rem;
  right: 0.15rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--nova-primary);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Push main under floating header */
body.theme-nova main#main-content {
  padding-top: 5.5rem !important;
}

/* ── Hero ────────────────────────────────────────────────── */
.nova-hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 4rem;
}
@media (min-width: 1024px) {
  .nova-hero { padding: 3rem 0 5.5rem; }
}
.nova-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .nova-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}
.nova-hero-visual {
  position: relative;
  min-height: 320px;
}
@media (min-width: 640px) {
  .nova-hero-visual { min-height: 400px; }
}
.nova-hero-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(91, 75, 255, 0.28), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  animation: nova-pulse 8s ease-in-out infinite;
}
@keyframes nova-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.nova-mock {
  position: relative;
  z-index: 1;
  border-radius: var(--nova-radius-xl);
  background: linear-gradient(160deg, #fff 0%, #f7f7fc 100%);
  border: 1px solid var(--nova-border);
  box-shadow: var(--nova-shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.nova-hero-visual:hover .nova-mock {
  transform: perspective(1200px) rotateY(0) rotateX(0);
}
.nova-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: rgba(250, 250, 252, 0.95);
  border-bottom: 1px solid var(--nova-border);
}
.nova-mock-bar i {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  display: block;
}
.nova-mock-title {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.nova-float-card {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nova-border);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  box-shadow: var(--nova-shadow);
  font-size: 0.75rem;
  animation: nova-float 5s ease-in-out infinite;
}
.nova-float-card strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--nova-text);
  margin-bottom: 0.15rem;
}
@keyframes nova-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Trust bar ───────────────────────────────────────────── */
.nova-trust {
  padding: 1.5rem 0 3rem;
  border-top: 1px solid transparent;
}
.nova-trust-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}
.nova-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem 2.5rem;
  opacity: 0.55;
  filter: grayscale(1);
}
.nova-logo-row span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #334155;
}
.nova-logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.nova-logo-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: nova-marquee 28s linear infinite;
  opacity: 0.5;
  filter: grayscale(1);
}
.nova-logo-track span {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #334155;
  white-space: nowrap;
}
@keyframes nova-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .nova-logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ── Stats ───────────────────────────────────────────────── */
.nova-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .nova-stats { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
}
.nova-stat {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: var(--nova-radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--nova-border);
  box-shadow: var(--nova-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nova-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--nova-shadow-lg);
}
.nova-stat-wide {
  grid-column: span 2;
}
@media (min-width: 768px) {
  .nova-stat-wide { grid-column: span 1; }
}
.nova-stat-value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--nova-text);
  line-height: 1.1;
}
.nova-stat-label {
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nova-muted);
}

/* ── Bento ───────────────────────────────────────────────── */
.nova-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .nova-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(140px, auto);
  }
  .nova-bento-lg { grid-column: span 2; grid-row: span 2; }
  .nova-bento-wide { grid-column: span 2; }
  .nova-bento-tall { grid-row: span 2; }
}
.nova-bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--nova-radius-lg);
  border: 1px solid var(--nova-border);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--nova-shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.nova-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nova-shadow-lg);
}
.nova-bento-card .nova-ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(91, 75, 255, 0.12), rgba(139, 92, 246, 0.15));
  color: var(--nova-primary);
  margin-bottom: 1rem;
}
.nova-bento-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: var(--nova-text);
}
.nova-bento-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--nova-muted);
  margin: 0;
}
.nova-bento-lg {
  background: linear-gradient(145deg, #fff 0%, #f5f3ff 100%);
}
.nova-bento-lg h3 { font-size: 1.35rem; }

/* ── Why / timeline ──────────────────────────────────────── */
.nova-why-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .nova-why-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}
.nova-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--nova-border);
}
.nova-timeline li {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
}
.nova-timeline li::before {
  content: '';
  position: absolute;
  left: -0.4rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--nova-primary);
  box-shadow: 0 0 0 4px rgba(91, 75, 255, 0.12);
}
.nova-feature-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .nova-feature-grid { grid-template-columns: 1fr 1fr; }
}
.nova-feature-card {
  border-radius: var(--nova-radius);
  border: 1px solid var(--nova-border);
  background: #fff;
  padding: 1.25rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: default;
  position: relative;
}
.nova-feature-card:hover,
.nova-feature-card.is-active {
  border-color: rgba(91, 75, 255, 0.35);
  box-shadow: 0 12px 32px rgba(91, 75, 255, 0.1);
  transform: scale(1.02);
}
.nova-feature-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--nova-primary);
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

/* ── Product cards (theme) ───────────────────────────────── */
.nova-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--nova-radius-lg);
  border: 1px solid var(--nova-border);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--nova-shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.nova-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--nova-shadow-lg);
}
.nova-product-card .thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--nova-surface-2);
}
.nova-product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.nova-product-card:hover .thumb img {
  transform: scale(1.06);
}
.nova-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.28);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nova-product-card:hover .nova-card-overlay { opacity: 1; }
.nova-preview-chip {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}
.nova-ribbon {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35);
}
.nova-ribbon-hot {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.nova-ribbon-new {
  background: linear-gradient(135deg, #5b4bff, #8b5cf6);
  box-shadow: 0 4px 12px rgba(91, 75, 255, 0.35);
}
.nova-product-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
}
.nova-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.nova-product-body .cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nova-primary);
}
.nova-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.02em;
}
.nova-product-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--nova-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nova-product-body h3 a {
  color: inherit;
  text-decoration: none;
}
.nova-product-body h3 a:hover { color: var(--nova-primary); }
.nova-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.nova-rating-row .sales {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
}
.nova-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.5rem;
  flex-wrap: wrap;
}
.nova-price-row .now {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--nova-text);
}
.nova-price-row .was {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.nova-price-row .save {
  font-size: 0.65rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}
.nova-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  align-items: center;
}
.nova-card-actions .nova-btn {
  flex: 1;
  padding: 0.65rem 0.75rem;
  font-size: 0.8125rem;
  border-radius: 12px;
}
.nova-wish-btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--nova-border);
  border-radius: 12px;
  flex-shrink: 0;
  background: #fff;
}
.nova-wish-btn:hover {
  border-color: #fda4af;
  color: #f43f5e;
  background: #fff1f2;
}
.nova-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--nova-radius-lg);
  border: 1px dashed var(--nova-border);
  background: rgba(255, 255, 255, 0.6);
}

/* Carousel */
.nova-carousel {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nova-carousel::-webkit-scrollbar { display: none; }
.nova-carousel > * {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .nova-carousel > * { flex-basis: 300px; }
}

/* ── Process ─────────────────────────────────────────────── */
.nova-process {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .nova-process {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
.nova-process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--nova-radius);
  background: #fff;
  border: 1px solid var(--nova-border);
  box-shadow: var(--nova-shadow);
  transition: transform 0.3s ease, border-color 0.3s;
}
.nova-process-step:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 75, 255, 0.3);
}
.nova-process-step .num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--nova-primary);
  margin-bottom: 0.5rem;
}
.nova-process-step h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--nova-text);
}
.nova-process-step p {
  font-size: 0.8rem;
  color: var(--nova-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Pricing ─────────────────────────────────────────────── */
.nova-pricing-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .nova-pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.nova-price-card {
  position: relative;
  border-radius: var(--nova-radius-xl);
  border: 1px solid var(--nova-border);
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--nova-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s;
}
.nova-price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nova-shadow-lg);
}
.nova-price-card.is-featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #5b4bff, #8b5cf6) border-box;
  border: 2px solid transparent;
  box-shadow: 0 20px 50px rgba(91, 75, 255, 0.15);
  transform: scale(1.02);
}
.nova-price-card .amount {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--nova-text);
}
.nova-price-card ul {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  flex: 1;
}
.nova-price-card li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--nova-muted);
  padding: 0.35rem 0;
}
.nova-price-card li::before {
  content: '✓';
  color: var(--nova-primary);
  font-weight: 800;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.nova-faq details {
  border-radius: var(--nova-radius);
  border: 1px solid var(--nova-border);
  background: #fff;
  margin-bottom: 0.75rem;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--nova-shadow);
}
.nova-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--nova-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.nova-faq summary::-webkit-details-marker { display: none; }
.nova-faq summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--nova-primary);
  transition: transform 0.25s;
}
.nova-faq details[open] summary::after {
  content: '−';
}
.nova-faq .ans {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--nova-muted);
}

/* ── Testimonials ────────────────────────────────────────── */
.nova-testimonial {
  border-radius: var(--nova-radius-xl);
  border: 1px solid var(--nova-border);
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--nova-shadow);
  height: 100%;
}
.nova-testimonial .stars { color: #f59e0b; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.nova-testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--nova-text);
  font-weight: 500;
}
.nova-testimonial .who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nova-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b4bff, #8b5cf6);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.nova-co-logo {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  opacity: 0.85;
}

/* ── Case studies ────────────────────────────────────────── */
.nova-case {
  border-radius: var(--nova-radius-lg);
  overflow: hidden;
  border: 1px solid var(--nova-border);
  background: #fff;
  box-shadow: var(--nova-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
}
.nova-case:hover { transform: translateY(-4px); }
.nova-case-top {
  height: 8rem;
  background: linear-gradient(135deg, rgba(91, 75, 255, 0.15), rgba(139, 92, 246, 0.25));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.nova-case-body { padding: 1.25rem; flex: 1; }
.nova-case-metrics {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.nova-case-metrics span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--nova-primary);
  background: rgba(91, 75, 255, 0.08);
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
}

/* ── Live toast ──────────────────────────────────────────── */
.nova-live-stack {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: min(320px, calc(100vw - 2rem));
  pointer-events: none;
}
@media (max-width: 640px) {
  .nova-live-stack { bottom: 5rem; left: 0.75rem; }
}
.nova-live-toast {
  pointer-events: auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nova-border);
  box-shadow: var(--nova-shadow-lg);
  font-size: 0.8rem;
  color: var(--nova-muted);
  animation: nova-toast-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nova-live-toast strong { color: var(--nova-text); }
.nova-live-toast .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
  animation: nova-pulse 2s infinite;
}
@keyframes nova-toast-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Newsletter / final CTA ──────────────────────────────── */
.nova-final-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--nova-radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #5b4bff 0%, #6d5cff 40%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(91, 75, 255, 0.35);
}
.nova-final-cta::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -80px;
  right: -40px;
}
.nova-final-cta::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: -60px;
  left: -20px;
}
.nova-final-cta > * { position: relative; z-index: 1; }
.nova-final-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: #fff;
}
.nova-final-cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}
.nova-final-cta .nova-btn-secondary {
  color: var(--nova-primary);
}

/* ── Footer ──────────────────────────────────────────────── */
.nova-footer {
  margin-top: 4rem;
  padding: 4rem 0 2rem;
  background: #fafafc;
  border-top: 1px solid var(--nova-border);
}
.nova-footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) {
  .nova-footer-grid {
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 2rem;
  }
  .nova-footer-brand { grid-column: span 1; }
}
.nova-footer h4 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nova-text);
  margin: 0 0 1rem;
}
.nova-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nova-footer li { margin-bottom: 0.55rem; }
.nova-footer a {
  font-size: 0.875rem;
  color: var(--nova-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nova-footer a:hover { color: var(--nova-primary); }
.nova-socials {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.nova-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  border: 1px solid var(--nova-border);
  background: #fff;
  color: var(--nova-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.nova-social-btn:hover {
  color: var(--nova-primary);
  border-color: rgba(91, 75, 255, 0.35);
  background: rgba(91, 75, 255, 0.06);
  transform: translateY(-2px);
}
.nova-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nova-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--nova-muted);
}
.nova-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nova-badges span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--nova-border);
  background: #fff;
  color: var(--nova-muted);
}
.nova-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.nova-pay-icon {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--nova-border);
  background: #fff;
  color: #475569;
}

/* ── Collections ─────────────────────────────────────────── */
.nova-collection {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--nova-radius-lg);
  overflow: hidden;
  min-height: 180px;
  padding: 1.5rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(145deg, #5b4bff, #8b5cf6);
  box-shadow: var(--nova-shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.nova-collection:nth-child(2) { background: linear-gradient(145deg, #0ea5e9, #6366f1); }
.nova-collection:nth-child(3) { background: linear-gradient(145deg, #8b5cf6, #ec4899); }
.nova-collection:nth-child(4) { background: linear-gradient(145deg, #14b8a6, #5b4bff); }
.nova-collection:hover {
  transform: translateY(-5px) scale(1.015);
  color: #fff;
  box-shadow: var(--nova-shadow-lg);
}
.nova-collection-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  top: -30px;
  right: -20px;
  pointer-events: none;
}
.nova-collection h3 {
  position: relative;
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.nova-collection p {
  position: relative;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  opacity: 0.9;
  color: #fff;
}
.nova-collection-cta {
  position: relative;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ── Newsletter ──────────────────────────────────────────── */
.nova-newsletter {
  border-radius: var(--nova-radius-xl);
  border: 1px solid var(--nova-border);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(91, 75, 255, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--nova-shadow-lg);
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .nova-newsletter {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}
.nova-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
@media (min-width: 480px) {
  .nova-newsletter-form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}
.nova-newsletter input[type="email"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--nova-border);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  background: #fff;
  color: var(--nova-text);
  outline: none;
  font-family: inherit;
}
.nova-newsletter input:focus {
  border-color: var(--nova-primary);
  box-shadow: 0 0 0 4px rgba(91, 75, 255, 0.12);
}
.nova-newsletter-ok {
  width: 100%;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #059669;
}

/* ── Articles ────────────────────────────────────────────── */
.nova-article {
  border-radius: var(--nova-radius-lg);
  border: 1px solid var(--nova-border);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--nova-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.nova-article:hover {
  transform: translateY(-4px);
  box-shadow: var(--nova-shadow-lg);
}
.nova-article-cover {
  height: 8.5rem;
  background: linear-gradient(135deg, rgba(91, 75, 255, 0.18), rgba(139, 92, 246, 0.28));
  display: flex;
  align-items: flex-start;
  padding: 1rem;
}
.nova-article:nth-child(2) .nova-article-cover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(99, 102, 241, 0.28));
}
.nova-article:nth-child(3) .nova-article-cover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(139, 92, 246, 0.25));
}
.nova-article-cat {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nova-primary);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
}
.nova-article-body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
}
.nova-article-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nova-text);
  line-height: 1.35;
}
.nova-article-meta {
  display: flex;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nova-muted);
}

/* ── Reveal animations ─────────────────────────────────────
   Only hide when JS is active (html.js). Without JS the page
   must still be fully visible — never opacity:0 by default.
*/
html.js .nova-reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
}
html.js .nova-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.nova-reveal-delay-1 { transition-delay: 0.08s; }
.nova-reveal-delay-2 { transition-delay: 0.16s; }
.nova-reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html.js .nova-reveal,
  .nova-mock,
  .nova-float-card,
  .nova-hero-glow,
  .nova-cursor-glow {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ── Mobile bottom bar ───────────────────────────────────── */
.nova-mobile-bar {
  display: none;
}
@media (max-width: 767px) {
  .nova-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    gap: 0.15rem;
    padding: 0.45rem 0.4rem calc(0.45rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border-top: 1px solid var(--nova-border);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.06);
  }
  .nova-mnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.45rem 0.15rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    color: var(--nova-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s, background 0.2s;
  }
  .nova-mnav-item.is-active,
  .nova-mnav-item:active {
    color: var(--nova-primary);
    background: rgba(91, 75, 255, 0.08);
  }
  body.theme-nova { padding-bottom: 4.75rem; }
  .nova-live-stack { bottom: 5.25rem; }
}

/* Core pages under Nova (shop, product, etc.) — soften dark utilities */
body.theme-nova .dark\:bg-slate-950,
body.theme-nova .dark\:bg-slate-900,
body.theme-nova .dark\:bg-slate-800 {
  background-color: transparent !important;
}
body.theme-nova .product-card {
  border-radius: var(--nova-radius-lg) !important;
  box-shadow: var(--nova-shadow);
  border-color: var(--nova-border) !important;
}
body.theme-nova .product-card:hover {
  box-shadow: var(--nova-shadow-lg);
  transform: translateY(-4px);
}

/* Tilt base */
[data-nova-tilt] {
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.35s ease;
  will-change: transform;
}

/* ── Section surfaces ────────────────────────────────────── */
.nova-surface {
  background: rgba(250, 250, 252, 0.65);
  border-top: 1px solid rgba(236, 236, 242, 0.8);
  border-bottom: 1px solid rgba(236, 236, 242, 0.8);
}

/* Hide classic dark-mode chrome conflicts on public nova */
body.theme-nova .theme-toggle-wrap {
  opacity: 0.08;
}
