/* ═══════════════════════════════════════════════
   YNA STORE V3 — Main Stylesheet
   All styles reference CSS variables from theme.css
   ═══════════════════════════════════════════════ */

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

::selection {
  background: var(--primary);
  color: var(--text);
}

/* ─── Layout ─── */
.container {
  width: min(var(--max-width), calc(100% - var(--space-xl)));
  margin-inline: auto;
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

/* ─── Background Layers ─── */
/* ─── Animated Motion Video & Cyber Matrix Background ─── */
.bg-video-wrap {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  overflow: hidden;
  pointer-events: none;
}

.bg-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.2) hue-rotate(10deg);
  opacity: 0.28;
  mix-blend-mode: screen;
}

.bg-motion-grid {
  position: fixed;
  bottom: -40%;
  left: -50%;
  right: -50%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(192, 38, 211, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.18) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(68deg);
  transform-origin: center bottom;
  animation: cyberGridScroll 10s linear infinite;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.9) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.9) 100%);
  pointer-events: none;
  z-index: var(--z-bg);
}

@keyframes cyberGridScroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 60px;
  }
}

.bg-aurora-motion {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(192, 38, 211, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(34, 211, 238, 0.18), transparent),
    radial-gradient(ellipse 50% 50% at 15% 80%, rgba(147, 51, 234, 0.18), transparent);
  animation: auroraWave 12s ease-in-out infinite alternate;
  filter: blur(45px);
  pointer-events: none;
  z-index: var(--z-bg);
}

@keyframes auroraWave {
  0% {
    transform: scale(1) translateY(0) rotate(0deg);
  }
  50% {
    transform: scale(1.12) translateY(-25px) rotate(2deg);
  }
  100% {
    transform: scale(0.96) translateY(20px) rotate(-2deg);
  }
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(192, 38, 211, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(34, 211, 238, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(109, 40, 217, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent 100%);
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  opacity: 0.035;
  pointer-events: none;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(65px);
  pointer-events: none;
  z-index: var(--z-bg);
  animation: orbFloat 9s ease-in-out infinite alternate;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
  top: -5%;
  left: -8%;
  opacity: 0.4;
}

.orb-b {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
  bottom: -5%;
  right: -5%;
  opacity: 0.3;
  animation-delay: -4s;
}

/* GPU Hardware Acceleration for Smooth Performance */
.orb,
#liquidCanvas {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* ═══ MOBILE & IOS SAFARI CRASH PREVENTION & MEMORY SAFEGUARDS ═══ */
@media (max-width: 768px) {
  /* 1. Hide full-viewport background video on mobile to save 150MB+ VRAM */
  .bg-video-wrap {
    display: none !important;
  }

  /* 2. Hide heavy SVG feTurbulence fractal noise on mobile (Prevents iOS WebKit Jetsam Crash) */
  .bg-grain {
    display: none !important;
  }

  /* 3. Hide 2D particle canvas on mobile */
  #liquidCanvas,
  #particleCanvas,
  #marqueeCableCanvas,
  .mouse-glow {
    display: none !important;
  }

  /* 4. Disable heavy animated orbs and perspective 3D grid */
  .orb {
    display: none !important;
    animation: none !important;
  }
  .bg-motion-grid {
    display: none !important;
  }

  /* 5. Disable aurora animation & blur to prevent continuous shader execution */
  .bg-aurora-motion {
    animation: none !important;
    filter: none !important;
    opacity: 0.2 !important;
  }

  /* 6. Ultra-Smooth Hardware-Safe Glass Surfaces for iOS WebKit & Android (0 blur overhead) */
  .glass, .glass-card, .cta-glow-card, .drawer, .eco-card, .stat-card-v2,
  .feature-card, .founder-holo-card, .iso-card, .modal-inner, .partner-card, .faq-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(14, 11, 28, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  }

  .header {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(8, 6, 20, 0.96) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  /* 7. Soften heavy drop-shadows on hero logo */
  .hero-main-logo {
    filter: drop-shadow(0 0 20px rgba(192, 38, 211, 0.35)) !important;
  }
}

/* ─── Seamless Cinematic Cyber Loader ─── */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: #05030f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
  overflow: hidden;
}

.loader.hide {
  opacity: 0;
  transform: scale(1.08);
  visibility: hidden;
  pointer-events: none;
}

.loader-liquid-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(192, 38, 211, 0.28) 0%, rgba(34, 211, 238, 0.16) 35%, rgba(6, 4, 18, 0.95) 70%, #030208 100%);
  pointer-events: none;
  animation: liquidPulseBackdrop 6s ease-in-out infinite alternate;
}

.loader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  width: 90%;
  z-index: 2;
}

.loader-logo-frame {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.loader-main-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 0 25px rgba(192, 38, 211, 0.9)) drop-shadow(0 0 15px rgba(34, 211, 238, 0.7));
  animation: logoPulseAura 3s ease-in-out infinite alternate;
  position: relative;
  z-index: 3;
}

@keyframes logoPulseAura {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 20px rgba(192, 38, 211, 0.8)); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 35px rgba(34, 211, 238, 0.95)) drop-shadow(0 0 50px rgba(232, 121, 249, 0.7)); }
}

.loader-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(192, 38, 211, 0.5);
  animation: orbitSpin 12s linear infinite;
}

.loader-orbit-ring-2 {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(34, 211, 238, 0.4);
  animation: orbitSpinReverse 16s linear infinite;
}

@keyframes orbitSpin {
  100% { transform: rotate(360deg); }
}

@keyframes orbitSpinReverse {
  100% { transform: rotate(-360deg); }
}

.loader-brand-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #ffffff 0%, #22d3ee 45%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  text-shadow: 0 0 30px rgba(192, 38, 211, 0.5);
}

.loader-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-2xl);
}

.loader-progress-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}

.loader-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #22d3ee 0%, #c026d3 50%, #e879f9 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px var(--neon-purple), 0 0 10px #22d3ee;
  position: relative;
  transition: width 0.08s linear;
}

.loader-bar-light {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 14px;
  background: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px #ffffff, 0 0 24px #22d3ee;
}

.loader-percent {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  min-width: 52px;
  text-align: right;
  letter-spacing: 0.5px;
  text-shadow: 0 0 15px rgba(34, 211, 238, 0.9), 0 0 30px rgba(192, 38, 211, 0.6);
}

/* ─── Header / Navbar ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  transition: all var(--duration-normal) var(--ease-out);
  background: rgba(5, 4, 16, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(5, 4, 16, 0.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-bottom: 1px solid rgba(192, 38, 211, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(192, 38, 211, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text);
  text-decoration: none;
  position: relative;
}

.header-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  transition: transform var(--duration-fast) ease, filter var(--duration-fast) ease;
  filter: drop-shadow(0 0 10px rgba(192, 38, 211, 0.4));
}

.header-brand:hover .header-logo {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.6));
}

.header-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-light) 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.nav-link {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  transition: all var(--duration-fast) ease;
  position: relative;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 0 16px var(--neon-purple);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ─── Desktop Dropdown Menu ─── */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  transition: all var(--duration-fast) ease;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown.active .nav-dropdown-trigger {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 520px;
  background: rgba(10, 7, 26, 0.96);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  border: 1px solid rgba(192, 38, 211, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(192, 38, 211, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease-out);
  z-index: 1000;
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-header-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  margin-bottom: var(--space-sm);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.dropdown-item:hover {
  background: rgba(192, 38, 211, 0.12);
  border-color: rgba(192, 38, 211, 0.35);
  transform: translateX(3px);
}

.dropdown-item img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: contain;
}

.dropdown-item-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  line-height: 1.2;
}

.dropdown-item-desc {
  font-size: 0.68rem;
  color: var(--muted);
  display: block;
}

.dropdown-footer-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding-top: var(--space-xs);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-quick-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.dropdown-quick-link:hover {
  background: rgba(34, 211, 238, 0.12);
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.3);
}

.dropdown-quick-link svg {
  width: 14px;
  height: 14px;
}

/* Nav CTA Button */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(34, 211, 238, 0.2));
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25d366;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-left: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.15);
}

.nav-cta-btn:hover {
  background: #25d366;
  color: #050410;
  border-color: #25d366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
  transform: scale(1.04);
}

.nav-cta-btn svg {
  width: 15px;
  height: 15px;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: var(--space-xs);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Mobile Drawer ─── */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(340px, 88vw);
  height: 100vh;
  z-index: var(--z-drawer);
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-out);
  background: rgba(10, 7, 24, 0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-right: 1px solid rgba(192, 38, 211, 0.25);
  box-shadow: 10px 0 50px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-inner {
  padding: var(--space-lg);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-md);
}

.drawer-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
}

.drawer-close {
  font-size: var(--text-3xl);
  color: var(--muted);
  line-height: 1;
  padding: var(--space-xs);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 1;
}

.drawer-section {
  display: flex;
  flex-direction: column;
}

.drawer-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  margin-bottom: 6px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-section-title svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.drawer-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--duration-fast) ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.drawer-link-item:hover,
.drawer-link-item.active {
  color: #ffffff;
  background: rgba(192, 38, 211, 0.16);
  border-color: rgba(192, 38, 211, 0.35);
  transform: translateX(4px);
}

.drawer-link-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-link-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.drawer-link-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.drawer-link-badge {
  margin-left: auto;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 700;
}

.drawer-social {
  display: flex;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  margin-top: auto;
  flex-wrap: wrap;
}

.drawer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--muted);
  transition: all var(--duration-fast) ease;
}

.drawer-social a:hover {
  background: var(--card-strong);
  color: var(--text);
}

.drawer-social a svg {
  width: 18px;
  height: 18px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
}

.drawer-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* ─── Mobile Bottom Navigation Bar ─── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(8, 5, 22, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(192, 38, 211, 0.3);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
  padding: 6px 10px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
}

.bottom-nav-item svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease-spring);
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--primary-light);
}

.bottom-nav-item.active svg,
.bottom-nav-item:hover svg {
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px var(--neon-purple));
}

.bottom-nav-item.highlight {
  color: #22d3ee;
}

.bottom-nav-item.highlight svg {
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.7));
}

@media (max-width: 960px) {
  .nav-links {
    display: none !important;
  }
  .menu-toggle {
    display: flex !important;
  }
  .mobile-bottom-nav {
    display: flex !important;
  }
  body {
    padding-bottom: 64px;
  }
  .fab-wa {
    bottom: 74px !important;
  }
}

/* ─── Hero ─── */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  position: relative;
}

.hero-content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(192, 38, 211, 0.12);
  border: 1px solid rgba(192, 38, 211, 0.45);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: #f0eeff;
  font-weight: 700;
  margin-bottom: var(--space-md);
  animation: badgeRadarGlow 3s ease-in-out infinite alternate;
  position: relative;
  width: fit-content;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes badgeRadarGlow {
  0% {
    border-color: rgba(192, 38, 211, 0.4);
    box-shadow: 0 0 15px rgba(192, 38, 211, 0.2);
  }
  50% {
    border-color: rgba(34, 211, 238, 0.7);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.35);
  }
  100% {
    border-color: rgba(244, 114, 182, 0.5);
    box-shadow: 0 0 20px rgba(244, 114, 182, 0.3);
  }
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #22d3ee;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: var(--space-sm);
  display: block;
  width: fit-content;
  position: relative;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.6);
}

.hero-subtitle::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #c026d3, transparent);
  border-radius: var(--radius-full);
  animation: cyberLinePulse 2.5s ease-in-out infinite alternate;
}

@keyframes cyberLinePulse {
  0% { width: 36px; opacity: 0.6; }
  100% { width: 100px; opacity: 1; filter: drop-shadow(0 0 6px #22d3ee); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f472b6 25%, #c026d3 50%, #22d3ee 75%, #818cf8 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.08;
  letter-spacing: -0.5px;
  animation: titleGradientFlow 6s ease-in-out infinite, titleGlowPulse 3.5s ease-in-out infinite alternate;
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShimmerSweep 4.5s infinite linear;
  pointer-events: none;
}

@keyframes titleGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes titleGlowPulse {
  0% {
    filter: drop-shadow(0 0 20px rgba(192, 38, 211, 0.35)) drop-shadow(0 0 45px rgba(34, 211, 238, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 35px rgba(192, 38, 211, 0.7)) drop-shadow(0 0 70px rgba(34, 211, 238, 0.35)) drop-shadow(0 0 90px rgba(244, 114, 182, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(192, 38, 211, 0.35)) drop-shadow(0 0 45px rgba(34, 211, 238, 0.2));
  }
}

@keyframes titleShimmerSweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--muted);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero small (product detail pages) */
.hero-sm {
  min-height: auto;
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-2xl);
  text-align: center;
}

.hero-sm .hero-content {
  max-width: 800px;
  margin-inline: auto;
}

.hero-sm .hero-title {
  font-size: var(--text-4xl);
}

.hero-sm .hero-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  padding: var(--space-md);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--product-accent);
}

.hero-sm .hero-icon svg {
  width: 100%;
  height: 100%;
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  margin-top: calc(var(--header-height) + var(--space-md));
  font-size: var(--text-sm);
  color: var(--muted-2);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb-sep {
  color: var(--muted-2);
}

.breadcrumb-current {
  color: var(--text-secondary);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--duration-fast) ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left var(--duration-slow) ease;
}

.btn:hover::after {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--neon-purple);
  color: var(--text);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, rgba(34, 211, 238, 0.7) 100%);
  color: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
}

.btn-accent:hover {
  box-shadow: 0 0 30px var(--neon-cyan);
  color: var(--bg);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--card-strong);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-product {
  background: linear-gradient(135deg, var(--product-accent) 0%, rgba(0, 0, 0, 0.3) 100%);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-product:hover {
  box-shadow: 0 0 30px var(--product-accent-glow);
  color: var(--text);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-xs);
}

.btn-block {
  width: 100%;
}

/* ─── Cards ─── */
.glass-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: all var(--duration-normal) var(--ease-out);
}

.glass-card:hover {
  background: var(--card-hover);
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  color: var(--text);
  display: block;
  position: relative;
  overflow: hidden;
}

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

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 40px var(--product-accent-glow);
  color: var(--text);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-icon {
  width: 48px;
  height: 48px;
  padding: var(--space-sm);
  background: var(--card-strong);
  border-radius: var(--radius-sm);
  color: var(--product-accent);
  margin-bottom: var(--space-md);
}

.product-card-icon svg {
  width: 100%;
  height: 100%;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.product-card-tagline {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.product-card-badge {
  display: inline-block;
  padding: var(--space-2xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--product-accent);
  font-weight: 600;
}

/* ─── Grids ─── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.grid-ecosystem {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* ─── Section Headers ─── */
.section-head {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-head .section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.section-head .section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.section-head .section-desc {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 600px;
  margin-inline: auto;
}

/* ─── Stats / Counters ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* ─── Features Grid ─── */
.feature-card {
  padding: var(--space-xl);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  background: var(--card-hover);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  padding: var(--space-sm);
  background: rgba(192, 38, 211, 0.1);
  border-radius: var(--radius-sm);
  color: var(--product-accent);
  margin-bottom: var(--space-md);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Accordion (FAQ) ─── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.accordion-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-fast) ease;
}

.accordion-item.active {
  border-color: var(--primary);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background var(--duration-fast) ease;
}

.accordion-trigger:hover {
  background: var(--card-hover);
}

.accordion-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
}

.accordion-item.active .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) ease;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  opacity: 1;
}

.accordion-body {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.8;
}

/* ─── Undulating Cyber Partner Ribbon Marquee ─── */
.marquee-wrap {
  overflow: hidden;
  padding: 85px 0 95px;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-cable-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.clash-flash-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #22d3ee 40%, #c026d3 70%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transform: scale(0.1);
}

.clash-flash-ring.active {
  animation: clashExplosion 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes clashExplosion {
  0% { opacity: 1; transform: scale(0.2); filter: blur(0px); }
  40% { opacity: 0.9; transform: scale(18); filter: blur(10px); }
  100% { opacity: 0; transform: scale(35); filter: blur(25px); }
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 46s linear infinite;
  width: max-content;
  will-change: transform;
  position: relative;
  z-index: 2;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-node {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  margin-right: 55px; /* Space for the elastic cable */
}

/* Staggered deep sinusoidal wave oscillations */
.marquee-node:nth-child(6n + 1) { animation: waveOscillation1 4.5s ease-in-out infinite alternate; }
.marquee-node:nth-child(6n + 2) { animation: waveOscillation2 5.0s ease-in-out infinite alternate; }
.marquee-node:nth-child(6n + 3) { animation: waveOscillation3 4.2s ease-in-out infinite alternate; }
.marquee-node:nth-child(6n + 4) { animation: waveOscillation4 5.2s ease-in-out infinite alternate; }
.marquee-node:nth-child(6n + 5) { animation: waveOscillation5 4.7s ease-in-out infinite alternate; }
.marquee-node:nth-child(6n + 6) { animation: waveOscillation6 5.4s ease-in-out infinite alternate; }

@keyframes waveOscillation1 {
  0% { transform: translateY(-46px) rotate(-2.5deg); }
  100% { transform: translateY(46px) rotate(2.5deg); }
}
@keyframes waveOscillation2 {
  0% { transform: translateY(38px) rotate(2.0deg); }
  100% { transform: translateY(-42px) rotate(-2.2deg); }
}
@keyframes waveOscillation3 {
  0% { transform: translateY(-34px) rotate(-1.8deg); }
  100% { transform: translateY(48px) rotate(2.8deg); }
}
@keyframes waveOscillation4 {
  0% { transform: translateY(45px) rotate(2.4deg); }
  100% { transform: translateY(-36px) rotate(-2.0deg); }
}
@keyframes waveOscillation5 {
  0% { transform: translateY(-42px) rotate(-2.2deg); }
  100% { transform: translateY(38px) rotate(1.8deg); }
}
@keyframes waveOscillation6 {
  0% { transform: translateY(36px) rotate(1.6deg); }
  100% { transform: translateY(-48px) rotate(-2.6deg); }
}

/* ═══ Scroll Entrance Collision & Shatter & Assemble Keyframes ═══ */
.marquee-wrap.is-clashing .marquee-track {
  animation: none !important;
}

.marquee-wrap.is-clashing .marquee-node:nth-child(odd) {
  animation: clashInLeft 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

.marquee-wrap.is-clashing .marquee-node:nth-child(even) {
  animation: clashInRight 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

@keyframes clashInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100vw) scale(1.6) rotate(-30deg);
    filter: blur(20px);
  }
  30% {
    opacity: 1;
    transform: translateX(40vw) scale(1.2) rotate(15deg);
    filter: blur(0px);
  }
  45% {
    /* Clash collision & shatter into tiny floating fragments */
    transform: translate(calc((var(--rnd-x, 0.5) - 0.5) * 260px), calc((var(--rnd-y, 0.5) - 0.5) * 200px)) scale(0.18) rotate(360deg);
    filter: blur(8px) brightness(2.5);
    opacity: 0.8;
  }
  70% {
    /* Quantum magnetic attraction back to chain */
    transform: translate(calc((var(--rnd-x, 0.5) - 0.5) * 40px), calc((var(--rnd-y, 0.5) - 0.5) * 30px)) scale(0.85) rotate(-10deg);
    filter: blur(0px) brightness(1.2);
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
    filter: none;
  }
}

@keyframes clashInRight {
  0% {
    opacity: 0;
    transform: translateX(100vw) scale(1.6) rotate(30deg);
    filter: blur(20px);
  }
  30% {
    opacity: 1;
    transform: translateX(-40vw) scale(1.2) rotate(-15deg);
    filter: blur(0px);
  }
  45% {
    /* Clash collision & shatter */
    transform: translate(calc((var(--rnd-x, 0.5) - 0.5) * -260px), calc((var(--rnd-y, 0.5) - 0.5) * -200px)) scale(0.18) rotate(-360deg);
    filter: blur(8px) brightness(2.5);
    opacity: 0.8;
  }
  70% {
    /* Quantum magnetic snap back */
    transform: translate(calc((var(--rnd-x, 0.5) - 0.5) * -40px), calc((var(--rnd-y, 0.5) - 0.5) * -30px)) scale(0.85) rotate(10deg);
    filter: blur(0px) brightness(1.2);
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
    filter: none;
  }
}

.marquee-item {
  flex-shrink: 0;
  padding: 11px 20px;
  background: rgba(14, 10, 30, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--node-color, #22d3ee);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 25px var(--node-glow, rgba(34, 211, 238, 0.35)), inset 0 0 14px rgba(255, 255, 255, 0.05);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  cursor: pointer;
  text-decoration: none;
}

.marquee-item:hover {
  transform: scale(1.15) translateY(-6px) !important;
  box-shadow: 0 0 40px var(--node-color, #22d3ee), inset 0 0 22px var(--node-glow, rgba(34, 211, 238, 0.5));
  background: rgba(24, 16, 52, 0.98);
  z-index: 10;
}

.partner-pill-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--node-color, #22d3ee);
  color: #0c081e;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--node-color, #22d3ee);
  flex-shrink: 0;
}

.partner-pill-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-shadow: 0 0 14px var(--node-glow, rgba(34, 211, 238, 0.5));
}

.partner-pill-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--node-color, #22d3ee);
  background: rgba(255, 255, 255, 0.09);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

/* ─── Testimonials ─── */
.testimonial-card {
  padding: var(--space-xl);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--warning);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text);
}

/* ─── Ultra Premium Liquid Glassmorphism ─── */
.glass-liquid {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out);
}

.glass-liquid:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(192, 38, 211, 0.4);
  border-top-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 30px rgba(192, 38, 211, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
}

/* ─── About / Profile Card ─── */
.profile-card {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-2xl);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid var(--line);
  flex-shrink: 0;
}

.profile-info h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xs);
}

.profile-alias {
  color: var(--primary-light);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.profile-desc {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.profile-tag {
  padding: var(--space-xs) var(--space-sm);
  background: var(--card-strong);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--muted);
}

/* ─── Partner Card ─── */
.partner-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) ease;
}

.partner-card:hover {
  background: var(--card-hover);
  border-color: var(--line-strong);
}

.partner-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-2) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text);
  flex-shrink: 0;
}

.partner-info {
  flex: 1;
  min-width: 0;
}

.partner-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2xs);
}

.partner-phone {
  font-size: var(--text-xs);
  color: var(--muted);
}

.partner-badge {
  padding: var(--space-2xs) var(--space-sm);
  background: rgba(52, 211, 153, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--success);
  font-weight: 600;
}

/* ─── Pricing Card ─── */
.pricing-card {
  padding: var(--space-2xl);
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.06), transparent 60%);
  pointer-events: none;
}

.pricing-original {
  font-size: var(--text-lg);
  color: var(--muted-2);
  text-decoration: line-through;
  margin-bottom: var(--space-sm);
}

.pricing-current {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: var(--space-xs);
}

.pricing-note {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-xl);
}

/* ─── Payment Method Card ─── */
.payment-card {
  padding: var(--space-xl);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.payment-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.payment-detail {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--accent);
  margin-bottom: var(--space-xs);
  letter-spacing: 1px;
}

.payment-holder {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-md);
}

/* ─── Order Steps ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.step-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--text);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* ─── Contact Channels ─── */
.channel-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: all var(--duration-fast) ease;
}

.channel-card:hover {
  background: var(--card-hover);
  border-color: var(--line-strong);
  transform: translateY(-2px);
  color: var(--text);
}

.channel-icon {
  width: 44px;
  height: 44px;
  padding: var(--space-sm);
  background: var(--card-strong);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.channel-icon svg {
  width: 100%;
  height: 100%;
}

.channel-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2xs);
}

.channel-detail {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* ─── Admin / Legal Sections ─── */
.legal-section {
  margin-bottom: var(--space-2xl);
}

.legal-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line);
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.legal-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--card);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-item::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Toast ─── */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: var(--space-md) var(--space-xl);
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--text);
  font-size: var(--text-sm);
  z-index: var(--z-toast);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-spring);
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ─── Footer ─── */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--line);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: var(--muted);
  font-size: var(--text-sm);
  margin-top: var(--space-md);
  line-height: 1.7;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--muted);
  font-size: var(--text-sm);
  transition: color var(--duration-fast) ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
  font-size: var(--text-xs);
  color: var(--muted-2);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--muted);
  transition: all var(--duration-fast) ease;
}

.footer-social a:hover {
  background: var(--card-strong);
  color: var(--text);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

/* ─── Floating WA FAB ─── */
.fab-wa {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-card);
  box-shadow: 0 4px 20px rgba(52, 211, 153, 0.4);
  transition: all var(--duration-fast) ease;
  text-decoration: none;
}

.fab-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(52, 211, 153, 0.6);
  color: var(--bg);
}

.fab-wa svg {
  width: 28px;
  height: 28px;
}

/* ─── Search / Filter Bar ─── */
.filter-bar {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.filter-input {
  flex: 1;
  min-width: 200px;
  padding: var(--space-sm) var(--space-md);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--duration-fast) ease;
}

.filter-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.filter-input::placeholder {
  color: var(--muted-2);
}

.filter-select {
  padding: var(--space-sm) var(--space-md);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  cursor: pointer;
}

/* ─── Category Pills ─── */
.category-pills {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.pill {
  padding: var(--space-sm) var(--space-md);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.pill:hover,
.pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text);
}

/* ─── QRIS Image ─── */
.qris-image {
  max-width: 300px;
  border-radius: var(--radius-md);
  border: 2px solid var(--line);
  margin: 0 auto var(--space-md);
}

/* ─── Misc Utilities ─── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

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

/* ═══════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════ */

@keyframes orbFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(28px, -22px, 0) scale(1.15); }
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(192, 38, 211, 0); transform: translateY(0); }
  50% { box-shadow: 0 0 30px rgba(192, 38, 211, 0.3); transform: translateY(-3px); }
}

@keyframes loadBar {
  0% { transform: translateX(-80%); }
  100% { transform: translateX(200%); }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shineText {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ═══════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .loader-logo { animation: none; }
  .loader-bar-fill { animation: none; }
  .marquee-track { animation: none; }

  .glass-card:hover,
  .product-card:hover,
  .feature-card:hover,
  .channel-card:hover,
  .btn:hover {
    transform: none;
  }

  .btn::after { display: none; }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  .hero-title { font-size: var(--text-4xl); }

  .grid-ecosystem,
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .grid-4,
  .stats-grid,
  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .profile-card { flex-direction: column; text-align: center; }
  .profile-tags { justify-content: center; }
}

@media (max-width: 720px) {
  .section { padding: var(--space-3xl) 0; }

  .hero-title { font-size: var(--text-3xl); }
  .hero-sm .hero-title { font-size: var(--text-3xl); }

  .section-head .section-title { font-size: var(--text-2xl); }

  .grid-ecosystem { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .filter-bar { flex-direction: column; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - var(--space-lg)); }

  .header-title { display: none; }
  .header-logo { width: 40px; height: 40px; }

  .hero { min-height: auto; padding-top: calc(var(--header-height) + var(--space-xl)); }
  .hero-title { font-size: var(--text-2xl); }
  .hero-desc { font-size: var(--text-base); }

  .stats-grid,
  .steps-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }

  .pricing-current { font-size: var(--text-4xl); }
}

@media (max-width: 375px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   YNA STORE V3 — ADVANCED ANIMATION SUITE
   - Organic Morphing Shape Blobs
   - Holographic Laser Scanner & Cyber Orbital Rings
   - 3D Isometric Showcase Engine
   - Neumorphic-Glassmorphic Hybrid (Neo-Glass)
   - Micro-interaction Ripple & Cyber Equalizers
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. Organic Morphing Shape Blobs ─── */
.morph-blob {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphOrganic 8s ease-in-out infinite alternate;
  transition: all 0.5s ease;
}

@keyframes morphOrganic {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(0deg) scale(1);
  }
  33% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: rotate(120deg) scale(1.05);
  }
  66% {
    border-radius: 70% 30% 50% 60% / 30% 40% 70% 50%;
    transform: rotate(240deg) scale(0.95);
  }
  100% {
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    transform: rotate(360deg) scale(1);
  }
}

/* ─── 2. Holographic Ultra 3D Shield, Realistic Laser Scanner & Click Shockwave ─── */
.hero-holo-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* 3D Deep Obsidian Frame with Crystal Border */
.hero-logo-card-3d {
  position: relative;
  width: 290px;
  height: 290px;
  background: #080514;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transform: translateZ(50px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

.hero-holo-wrap:hover .hero-logo-card-3d {
  transform: translateZ(75px) scale(1.05);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.98), 0 0 35px rgba(34, 211, 238, 0.25);
}

/* Diagonal Prism Ray for Click Reaction */
.hero-prism-ray {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.9) 49%, rgba(34, 211, 238, 0.9) 51%, rgba(192, 38, 211, 0.8) 53%, transparent 60%);
  pointer-events: none;
  z-index: 7;
  opacity: 0;
}

.hero-holo-wrap.is-bursting .hero-prism-ray {
  animation: prismRayFlash 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes prismRayFlash {
  0% { transform: translate(-30%, -30%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(30%, 30%); opacity: 0; }
}

/* Clean Realistic Laser Scanner Line */
.realistic-laser-scanner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 6;
  pointer-events: none;
  animation: realisticLaserSweep 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  transform: translateZ(95px);
}

.laser-beam-line {
  height: 3.5px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, #22d3ee 20%, #ffffff 50%, #c026d3 80%, transparent 100%);
  box-shadow: 0 0 14px #ffffff, 0 0 24px #22d3ee, 0 0 40px #c026d3;
  border-radius: var(--radius-full);
}

@keyframes realisticLaserSweep {
  0% { top: 10%; opacity: 0.2; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 90%; opacity: 0.2; }
}

/* Central Main Crystal Clear HD Logo */
.hero-main-logo {
  width: 230px;
  height: 230px;
  object-fit: contain;
  position: relative;
  z-index: 3;
  transform: translateZ(90px);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  image-rendering: -webkit-optimize-contrast;
}

.hero-holo-wrap:hover .hero-main-logo {
  transform: translateZ(120px) scale(1.06);
}

/* Synchronized Scanned Layer (Shifts Blue to Website Neon Purple, White & Dark remain pure) */
.hero-scanned-filter-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
  transform: translateZ(90px);
  clip-path: inset(0 0 100% 0);
  animation: scanFilterReveal 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.hero-logo-purple {
  /* Transforms Cyan/Blue into Website Neon Purple (#c026d3 / #e879f9) without affecting white or black */
  filter: hue-rotate(145deg) saturate(1.8) brightness(1.08) !important;
}

@keyframes scanFilterReveal {
  0% { clip-path: inset(0 0 90% 0); }
  12% { clip-path: inset(0 0 90% 0); }
  88% { clip-path: inset(0 0 10% 0); }
  100% { clip-path: inset(0 0 10% 0); }
}

/* ─── Click Supernova Compression & Smooth Radial Pulse ─── */
.hero-shockwave-ring,
.hero-shockwave-ring-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
}

.hero-shockwave-ring {
  width: 140px;
  height: 140px;
  border: 3px solid #22d3ee;
  box-shadow: 0 0 30px #22d3ee, 0 0 60px #c026d3, inset 0 0 20px #22d3ee;
}

.hero-shockwave-ring-2 {
  width: 180px;
  height: 180px;
  border: 2px dashed #e879f9;
  box-shadow: 0 0 40px #e879f9, 0 0 80px #38bdf8;
}

.hero-holo-wrap.is-bursting .hero-shockwave-ring {
  animation: quantumShockwave 0.75s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

.hero-holo-wrap.is-bursting .hero-shockwave-ring-2 {
  animation: quantumShockwave 0.95s cubic-bezier(0.1, 0.8, 0.2, 1) 0.08s forwards;
}

.hero-holo-wrap.is-bursting .hero-logo-card-3d {
  animation: cardSupernovaPulse 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-holo-wrap.is-bursting .hero-main-logo {
  animation: logoGlowSurge 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes quantumShockwave {
  0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; border-width: 4px; }
  60% { opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; border-width: 1px; }
}

@keyframes cardSupernovaPulse {
  0% { transform: translateZ(50px) scale(0.95); }
  40% { transform: translateZ(95px) scale(1.09); box-shadow: 0 0 80px rgba(34, 211, 238, 0.8), 0 0 120px rgba(192, 38, 211, 0.6), inset 0 0 30px #ffffff; }
  100% { transform: translateZ(50px) scale(1); }
}

@keyframes logoGlowSurge {
  0% { transform: translateZ(90px) scale(0.94); }
  40% { transform: translateZ(140px) scale(1.14); filter: drop-shadow(0 0 50px #ffffff) drop-shadow(0 0 80px #22d3ee) drop-shadow(0 0 60px #c026d3); }
  100% { transform: translateZ(90px) scale(1); }
}

.hero-orbit-2 {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1.5px dashed rgba(34, 211, 238, 0.35);
  animation: ringRotate 24s linear infinite reverse;
  z-index: 2;
}

.hero-orbit-2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 16px #22d3ee;
}

.hero-orbit-3 {
  position: absolute;
  width: 510px;
  height: 510px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: ringRotate 40s linear infinite;
  z-index: 1;
}

/* ─── 3. 3D Isometric Ecosystem Showcase ─── */
.iso-showcase-section {
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.iso-showcase-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.iso-showcase-info {
  flex: 1;
  min-width: 320px;
}

.iso-showcase-stage {
  flex: 1.2;
  min-width: 340px;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  position: relative;
}

.iso-showcase-inner {
  position: relative;
  width: 460px;
  height: 590px;
  transform: rotateX(53deg) rotateZ(-33deg) rotateY(3deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: isoStageSway 9s ease-in-out infinite alternate;
}

.iso-holo-base {
  position: absolute;
  inset: -35px -50px;
  border-radius: 44px;
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.16) 0%, rgba(192, 38, 211, 0.09) 50%, transparent 80%);
  border: 1.5px dashed rgba(34, 211, 238, 0.4);
  transform: translateZ(-30px);
  pointer-events: none;
  box-shadow: 0 0 70px rgba(192, 38, 211, 0.3);
}

.iso-holo-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(34, 211, 238, 0.15) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(34, 211, 238, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: 44px;
  opacity: 0.85;
}

.iso-card {
  position: absolute;
  width: 275px;
  height: 76px;
  padding: 10px 16px;
  border-radius: var(--radius-xl);
  background: rgba(14, 10, 30, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: -18px 18px 36px rgba(0, 0, 0, 0.75), 0 0 25px var(--iso-glow, rgba(192, 38, 211, 0.35));
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
}

.iso-card:hover {
  transform: translateZ(105px) scale(1.14) !important;
  box-shadow: -30px 30px 60px rgba(0, 0, 0, 0.95), 0 0 55px var(--iso-glow, rgba(34, 211, 238, 0.9));
  border-color: #22d3ee;
  z-index: 100 !important;
}

.iso-card img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.iso-card:hover img {
  transform: scale(1.2) rotate(6deg);
}

.iso-card-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1.2;
}

.iso-card-desc {
  font-size: 0.74rem;
  color: var(--muted);
  display: block;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 175px;
}

/* 9 Staggered Isometric Cards — Wider & Spaced */
.iso-card-1 { top: 0px; left: 10px; --iso-glow: rgba(192, 38, 211, 0.7); animation: isoFloatA 4.5s ease-in-out infinite alternate; animation-delay: 0s; z-index: 9; }
.iso-card-2 { top: 58px; left: 175px; --iso-glow: rgba(34, 211, 238, 0.7); animation: isoFloatB 4.8s ease-in-out infinite alternate; animation-delay: 0.4s; z-index: 8; }
.iso-card-3 { top: 122px; left: -10px; --iso-glow: rgba(129, 140, 248, 0.7); animation: isoFloatA 5.1s ease-in-out infinite alternate; animation-delay: 0.8s; z-index: 7; }
.iso-card-4 { top: 186px; left: 165px; --iso-glow: rgba(244, 114, 182, 0.7); animation: isoFloatB 4.6s ease-in-out infinite alternate; animation-delay: 1.2s; z-index: 6; }
.iso-card-5 { top: 250px; left: 15px; --iso-glow: rgba(52, 211, 153, 0.7); animation: isoFloatA 5.3s ease-in-out infinite alternate; animation-delay: 1.6s; z-index: 5; }
.iso-card-6 { top: 314px; left: 180px; --iso-glow: rgba(251, 191, 36, 0.7); animation: isoFloatB 4.9s ease-in-out infinite alternate; animation-delay: 2.0s; z-index: 4; }
.iso-card-7 { top: 378px; left: -15px; --iso-glow: rgba(232, 121, 249, 0.7); animation: isoFloatA 4.7s ease-in-out infinite alternate; animation-delay: 2.4s; z-index: 3; }
.iso-card-8 { top: 442px; left: 155px; --iso-glow: rgba(109, 40, 217, 0.7); animation: isoFloatB 5.2s ease-in-out infinite alternate; animation-delay: 2.8s; z-index: 2; }
.iso-card-9 { top: 506px; left: 60px; --iso-glow: rgba(148, 163, 184, 0.7); animation: isoFloatA 5.0s ease-in-out infinite alternate; animation-delay: 3.2s; z-index: 1; }

@keyframes isoStageSway {
  0% { transform: rotateX(53deg) rotateZ(-33deg) rotateY(3deg) translateY(0); }
  100% { transform: rotateX(49deg) rotateZ(-35deg) rotateY(-2deg) translateY(-10px); }
}

@keyframes isoFloatA {
  0% { transform: translateZ(50px) translateY(0); }
  50% { transform: translateZ(70px) translateY(-6px); }
  100% { transform: translateZ(50px) translateY(0); }
}

@keyframes isoFloatB {
  0% { transform: translateZ(35px) translateY(0); }
  50% { transform: translateZ(55px) translateY(6px); }
  100% { transform: translateZ(35px) translateY(0); }
}

/* ═══ 3D Flying Isometric Modal ═══ */
.iso-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(6, 4, 15, 0.84) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.iso-modal-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.iso-modal-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: linear-gradient(135deg, rgba(22, 16, 46, 0.97), rgba(12, 8, 28, 0.99));
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-top: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 45px var(--modal-accent-glow, rgba(192, 38, 211, 0.4));
  overflow: hidden;
  transform: scale(0.5) translateY(80px) rotateX(20deg);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.iso-modal-backdrop.active .iso-modal-card {
  transform: scale(1) translateY(0) rotateX(0deg);
  opacity: 1;
}

.iso-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.iso-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg) scale(1.1);
}

.iso-modal-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.iso-modal-logo-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  max-width: 76px;
  max-height: 76px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.iso-modal-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  position: relative;
  z-index: 2;
  display: block;
}

.iso-modal-glow-aura {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--modal-accent, #c026d3) 0%, transparent 70%);
  opacity: 0.65;
  filter: blur(15px);
  z-index: 1;
  animation: pulseGlow 3s infinite alternate;
}

.iso-modal-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.iso-modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 2px;
}

.iso-modal-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.iso-modal-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.iso-modal-features-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.iso-modal-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: var(--space-xl);
}

.iso-modal-feat-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.iso-modal-feat-item span.feat-dot {
  color: var(--modal-accent, #22d3ee);
  font-weight: 800;
}

.iso-modal-footer {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .iso-modal-card {
    padding: var(--space-lg);
  }
  .iso-modal-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .iso-modal-badge-row {
    justify-content: center;
  }
  .iso-modal-features-grid {
    grid-template-columns: 1fr;
  }
  .iso-modal-footer {
    flex-direction: column;
  }
}

/* ─── 4. Neumorphic + Glassmorphic Hybrid (Neo-Glass) ─── */
.neo-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    12px 12px 30px rgba(0, 0, 0, 0.6),
    -8px -8px 24px rgba(255, 255, 255, 0.03),
    inset 1px 1px 1px rgba(255, 255, 255, 0.15),
    inset -1px -1px 1px rgba(0, 0, 0, 0.4);
  transition: all 0.35s ease;
}

.neo-glass:hover {
  box-shadow: 
    16px 16px 40px rgba(0, 0, 0, 0.7),
    -10px -10px 30px rgba(255, 255, 255, 0.05),
    0 0 25px rgba(192, 38, 211, 0.25),
    inset 1px 1px 2px rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

/* ─── 5. Micro-interactions: Ripple & Equalizer ─── */
.btn-ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  transform: scale(0);
  animation: rippleSpread 0.6s linear;
  pointer-events: none;
}

@keyframes rippleSpread {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

.cyber-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-left: 6px;
}

.cyber-equalizer span {
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
  animation: eqJump 1s ease-in-out infinite alternate;
}

.cyber-equalizer span:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.cyber-equalizer span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.cyber-equalizer span:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.cyber-equalizer span:nth-child(4) { height: 80%; animation-delay: 0.4s; }

@keyframes eqJump {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   ULTRA PREMIUM PRODUK & EKOSISTEM CARD SUITE
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero Product Header ─── */
.product-hero-wrap {
  text-align: center;
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
  position: relative;
  width: 100%;
}

.product-hero-wrap .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-inline: auto;
}

.hero-product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(192, 38, 211, 0.12);
  border: 1px solid rgba(192, 38, 211, 0.35);
  box-shadow: 0 0 20px rgba(192, 38, 211, 0.2);
  color: #e879f9;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 auto var(--space-md) auto;
  width: fit-content;
}

.hero-product-badge .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 10px #22d3ee;
  animation: pulseLive 1.5s infinite;
}

.product-hero-wrap .hero-title {
  text-align: center;
  margin: 0 auto var(--space-sm) auto;
  display: block;
  width: 100%;
}

.product-hero-wrap .hero-subtitle {
  text-align: center;
  margin: 0 auto var(--space-xl) auto;
  display: block;
  max-width: 650px;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
}

.product-hero-wrap .hero-subtitle::after {
  display: none;
}

.hero-small {
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  text-align: center;
  width: 100%;
}

.hero-small .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-inline: auto;
}

.hero-small .hero-title {
  text-align: center;
  margin: 0 auto var(--space-sm) auto;
  display: block;
}

.hero-small .hero-subtitle {
  text-align: center;
  margin: 0 auto var(--space-xl) auto;
  display: block;
  max-width: 650px;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
}

.hero-small .hero-subtitle::after {
  display: none;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ─── 3 Jalur Order Super Modern (Route Cards) ─── */
.route-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

.route-card-v2 {
  background: rgba(14, 10, 30, 0.75);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.route-card-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--route-glow, rgba(192, 38, 211, 0.18)) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.route-card-v2:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--route-color, rgba(192, 38, 211, 0.5));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 35px var(--route-glow, rgba(192, 38, 211, 0.3));
}

.route-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--route-color, #22d3ee);
  margin-bottom: var(--space-lg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s var(--ease-spring);
}

.route-card-v2:hover .route-icon-box {
  transform: scale(1.15) rotate(-4deg);
}

.route-feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.route-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.route-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--route-color, #22d3ee);
  flex-shrink: 0;
}

/* ─── 9 Ekosistem Digital Cards Grid (Fully Responsive on Mobile & Desktop) ─── */
.grid-ecosystem,
.eco-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

@media (max-width: 1024px) {
  .grid-ecosystem,
  .eco-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 640px) {
  .grid-ecosystem,
  .eco-grid-v2 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .eco-card-3d,
  .eco-card-v2 {
    padding: var(--space-xl) var(--space-lg);
  }
  .eco-logo-3d-wrap,
  .eco-logo-frame {
    width: 62px;
    height: 62px;
  }
}

/* ═══ 3D Ultra Cyber Ecosystem Cards ═══ */
.eco-card-3d,
.eco-card-v2 {
  position: relative;
  background: linear-gradient(145deg, rgba(20, 15, 42, 0.92), rgba(10, 7, 24, 0.96));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  perspective: 1200px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px var(--product-accent-glow, rgba(192, 38, 211, 0.2));
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  overflow: hidden;
}

.eco-card-3d::before,
.eco-card-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), var(--product-accent-glow, rgba(34, 211, 238, 0.3)) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.eco-card-3d:hover,
.eco-card-v2:hover {
  transform: translateY(-10px) scale(1.02) !important;
  border-color: var(--product-accent, #22d3ee);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 55px var(--product-accent-glow, rgba(34, 211, 238, 0.5)), inset 0 0 25px var(--product-accent-glow, rgba(34, 211, 238, 0.25));
}

.eco-card-3d:hover::before,
.eco-card-v2:hover::before {
  opacity: 1;
}

/* 3D Floating Header & Logo */
.eco-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  transform: translateZ(40px);
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
}

.eco-logo-3d-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease;
  transform: translateZ(55px);
}

.eco-card-3d:hover .eco-logo-3d-wrap {
  transform: translateZ(75px) scale(1.15) rotate(-5deg);
  border-color: var(--product-accent, #22d3ee);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 35px var(--product-accent-glow, rgba(34, 211, 238, 0.6));
}

.eco-logo-3d-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  transition: transform 0.4s ease;
}

.eco-card-3d:hover .eco-logo-3d-wrap img {
  transform: scale(1.08);
}

.eco-hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--product-accent, #22d3ee);
  color: var(--product-accent, #22d3ee);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  box-shadow: 0 0 14px var(--product-accent-glow, rgba(34, 211, 238, 0.3));
}

.eco-hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--product-accent, #22d3ee);
  box-shadow: 0 0 8px var(--product-accent, #22d3ee);
  animation: pulseDot 2s infinite alternate;
}

.eco-card-content-3d {
  flex: 1;
  transform: translateZ(35px);
  position: relative;
  z-index: 2;
  margin-bottom: var(--space-xl);
}

.eco-card-name-3d {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}

.eco-card-tagline-3d {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.eco-domain-pill-3d {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.eco-actions-3d {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  transform: translateZ(45px);
  position: relative;
  z-index: 3;
}

/* ─── Catalog Section (49+ Products) ─── */
.catalog-search-wrap {
  max-width: 540px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.catalog-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.95rem;
  backdrop-filter: blur(20px);
  outline: none;
  transition: all 0.3s ease;
}

.catalog-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.catalog-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.catalog-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}

.catalog-item-v2 {
  background: rgba(16, 12, 34, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}

.catalog-item-v2:hover {
  background: rgba(192, 38, 211, 0.15);
  border-color: rgba(192, 38, 211, 0.4);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(192, 38, 211, 0.2);
}

.catalog-item-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.catalog-item-cat {
  font-size: 0.72rem;
  color: var(--muted);
}

.catalog-item-cta {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.catalog-item-v2:hover .catalog-item-cta {
  background: #25d366;
  color: #050410;
  transform: scale(1.12);
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.6);
}

@media (max-width: 960px) {
  .route-grid-v2 {
    grid-template-columns: 1fr;
  }
  .eco-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FOUNDER 3D HOLOGRAPHIC SCANNER & PROFILE SUITE
   ═══════════════════════════════════════════════════════════════ */

.founder-profile-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl);
  background: rgba(14, 10, 32, 0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(192, 38, 211, 0.15);
  position: relative;
  overflow: hidden;
}

.founder-holo-stage {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  perspective: 1000px;
}

.founder-holo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: #080614;
  border: 2px solid rgba(34, 211, 238, 0.35);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(34, 211, 238, 0.2),
    inset 0 0 20px rgba(192, 38, 211, 0.2);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, border-color 0.4s ease;
}

.founder-holo-card:hover {
  border-color: rgba(34, 211, 238, 0.8);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(34, 211, 238, 0.4),
    inset 0 0 30px rgba(192, 38, 211, 0.35);
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: contrast(1.06) saturate(1.1);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.founder-holo-card:hover .founder-img {
  transform: scale(1.05);
  filter: contrast(1.12) saturate(1.2);
}

/* Laser Hologram Scan Line */
.avatar-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #22d3ee, #ffffff, #e879f9, transparent);
  box-shadow: 0 0 16px #22d3ee, 0 0 30px #e879f9;
  z-index: 5;
  animation: scanLaserSweep 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes scanLaserSweep {
  0% { top: 2%; opacity: 0.2; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 96%; opacity: 0.2; }
}

/* Biometric Scan Grid & Click Reaction */
.biometric-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(34, 211, 238, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 4;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.founder-holo-card.scanning .biometric-overlay {
  opacity: 0.8;
  animation: gridFlash 0.3s ease infinite alternate;
}

@keyframes gridFlash {
  0% { background-color: rgba(34, 211, 238, 0.1); }
  100% { background-color: rgba(192, 38, 211, 0.25); }
}

/* Corner HUD Brackets */
.hud-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #22d3ee;
  z-index: 6;
  pointer-events: none;
}
.hud-corner-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.hud-corner-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.hud-corner-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.hud-corner-br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.hud-status-tag {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 4, 16, 0.88);
  border: 1px solid rgba(34, 211, 238, 0.5);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  color: #22d3ee;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 7;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.hud-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseLive 1.5s infinite;
}

.scan-hint {
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media (max-width: 960px) {
  .founder-profile-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-xl);
  }
  .founder-holo-stage {
    max-width: 240px;
  }
}

/* ─── Mobile Push-Style Cyber Notification Announcement Popup & Blurred Backdrop ─── */
.announcement-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 2, 12, 0.72);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.5s ease, visibility 0.5s ease;
}

.announcement-backdrop.active {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.announcement-notification-card {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-140px) scale(0.9);
  width: calc(100% - 32px);
  max-width: 480px;
  background: linear-gradient(145deg, rgba(22, 16, 48, 0.94), rgba(10, 7, 24, 0.98));
  backdrop-filter: blur(35px) saturate(200%);
  -webkit-backdrop-filter: blur(35px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-top: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 26px;
  padding: 18px 20px;
  z-index: 99995;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(37, 211, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s ease, visibility 0.45s ease;
}

.announcement-notification-card.active {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.announcement-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.announcement-app-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-app-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.announcement-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #0a0718;
  box-shadow: 0 0 8px #25d366;
}

.announcement-meta {
  display: flex;
  flex-direction: column;
}

.announcement-app-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.announcement-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  letter-spacing: 0.5px;
}

.announcement-time {
  font-size: 0.72rem;
  color: var(--muted);
}

.announcement-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.announcement-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: scale(1.08);
}

.announcement-body {
  margin-bottom: 16px;
  padding-left: 2px;
}

.announcement-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 5px;
  line-height: 1.35;
}

.announcement-text {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-join-group {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-join-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
  filter: brightness(1.08);
}

.btn-dismiss {
  padding: 11px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dismiss:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

@media (max-width: 480px) {
  .announcement-notification-card {
    top: 16px;
    padding: 16px;
  }
  .announcement-title {
    font-size: 0.95rem;
  }
  .announcement-text {
    font-size: 0.8rem;
  }
  .btn-join-group, .btn-dismiss {
    padding: 9px 14px;
    font-size: 0.8rem;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   DEFINITIVE MOBILE & IOS SAFARI ZERO-CRASH PERFORMANCE SHIELD
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Eliminate GPU memory exhaustion & Metal/WebGL pipeline stalls */
  #liquidCanvas,
  #particleCanvas,
  #marqueeCableCanvas,
  .mouse-glow,
  .bg-grain,
  .bg-video-wrap,
  .orb {
    display: none !important;
    animation: none !important;
    visibility: hidden !important;
  }

  .bg-aurora-motion {
    display: none !important;
    animation: none !important;
    filter: none !important;
  }

  /* Replace heavy GPU blur passes with high-performance dark translucent surface */
  *, *::before, *::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .glass, .glass-card, .cta-glow-card, .drawer, .eco-card, .stat-card-v2,
  .feature-card, .founder-holo-card, .iso-card, .modal-inner, .partner-card, .faq-card,
  .accordion-item, .hero-holo-wrap {
    background: rgba(15, 12, 30, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
  }

  .header {
    background: rgba(8, 6, 20, 0.96) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .drawer {
    background: rgba(10, 8, 24, 0.98) !important;
  }
}


