@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap");
@import url("https://fonts.cdnfonts.com/css/aquire");

:root {
  --bg-0: #02040a;
  --bg-1: #050a18;
  --bg-2: #09122c;
  --surface: rgba(6, 11, 28, 0.65);
  --surface-strong: rgba(4, 7, 18, 0.85);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(34, 211, 238, 0.18);
  --border-hover: rgba(34, 211, 238, 0.45);
  --border-yellow: rgba(255, 177, 58, 0.25);
  --border-yellow-hover: rgba(255, 177, 58, 0.6);
  --text-strong: #f8fafc;
  --text: #cbd5e1;
  --text-soft: #94a3b8;
  
  /* Accent Colors */
  --accent: #22d3ee;        /* Cyan Glow */
  --accent-strong: #6366f1; /* Indigo */
  --accent-alt: #a855f7;    /* Purple */
  --success: #10b981;
  
  /* OPI Brand Accent Colors */
  --yellow-accent: #ffb13a;
  --yellow-accent-strong: #ff7a18;
  
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 20px rgba(99, 102, 241, 0.05);
  --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.02);
  --radius-xl: 24px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-0);
  border-left: 1px solid rgba(255, 255, 255, 0.03);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-radius: 99px;
  border: 2px solid var(--bg-0);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--yellow-accent) 0%, var(--yellow-accent-strong) 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.65;
  font-family: "Outfit", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 700px at 8% -15%, rgba(34, 211, 238, 0.15), transparent 52%),
    radial-gradient(900px 540px at 96% 0%, rgba(255, 122, 24, 0.18), transparent 50%),
    linear-gradient(140deg, var(--bg-0), var(--bg-1) 42%, #040816 68%, #02040a 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -7;
  will-change: transform;
}

body::before {
  width: 38vmax;
  height: 38vmax;
  top: -16vmax;
  right: -14vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.14), transparent 65%);
  animation: orb-float 16s ease-in-out infinite alternate;
}

body::after {
  width: 42vmax;
  height: 42vmax;
  bottom: -20vmax;
  left: -15vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 66%);
  animation: orb-float 14s ease-in-out infinite alternate-reverse;
}

@keyframes orb-float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(15px, -20px, 0) scale(1.1);
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo a {
  font-family: "Space Grotesk", "Outfit", sans-serif;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

p,
label,
input,
textarea,
button,
a,
li {
  font-family: "Outfit", "Segoe UI", sans-serif;
}

a {
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--yellow-accent);
}

/* Global Text Colors */
.text-gray-300 {
  color: #cbd5e1 !important;
}

.text-gray-400,
.text-gray-500 {
  color: var(--text-soft) !important;
}

.text-yellow-400 {
  color: var(--yellow-accent) !important;
}

.text-green-400 {
  color: var(--success) !important;
}

/* Galaxy Background with Cyber Grid Overlay */
.galaxy-bg {
  position: fixed;
  inset: 0;
  z-index: -6;
  background:
    radial-gradient(circle at 15% 26%, rgba(56, 189, 248, 0.14), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(255, 122, 24, 0.14), transparent 33%),
    radial-gradient(circle at 50% 55%, rgba(99, 102, 241, 0.15), transparent 55%);
  filter: saturate(115%);
  animation: galaxy-shift 30s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.galaxy-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(148, 184, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 184, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 95%);
  pointer-events: none;
  z-index: 1;
}

@keyframes galaxy-shift {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.06) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

/* Stars */
#stars-layer1,
#stars-layer2,
#stars-layer3 {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -5;
  will-change: transform;
  transform: translateZ(0);
  contain: layout style paint;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  animation: twinkle 2.8s ease-in-out infinite;
  will-change: opacity, transform;
}

.layer1 .star {
  width: 1px;
  height: 1px;
  opacity: 0.4;
}

.layer2 .star {
  width: 2px;
  height: 2px;
  opacity: 0.65;
}

.layer3 .star {
  width: 3px;
  height: 3px;
  opacity: 0.9;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

/* Navbar: Premium Futuristic Glassmorphism */
#navbar {
  min-height: 94px;
  position: relative;
  z-index: 10000;
}

.navbar {
  width: min(1140px, calc(100% - 2.5rem));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1.2fr auto 1.2fr;
  align-items: center;
  gap: 16px;
  padding: 12px 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(3, 7, 18, 0.82), rgba(6, 12, 28, 0.65));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 16px 45px rgba(0, 0, 0, 0.6), 
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 15px rgba(34, 211, 238, 0.03);
  transition: all 0.3s ease;
}

.navbar:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.7), 
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 25px rgba(34, 211, 238, 0.06);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.nav-left a,
.nav-right a {
  padding: 8px 16px;
  border-radius: 12px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--accent);
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.15);
}

/* Active Indicator dot */
.nav-left a::after,
.nav-right a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-left a:hover::after,
.nav-right a:hover::after {
  width: 60%;
}

.logo {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.logo a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(135deg, #ffffff 30%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.2));
  transition: all 0.3s ease;
}

.logo a:hover {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(34, 211, 238, 0.3));
}

.nav-user,
.mobile-auth-user {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-user img,
.mobile-auth-user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
}

.nav-user-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-user-meta span,
.mobile-auth-user span {
  max-width: 120px;
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.provider-badge {
  display: none;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 1px 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 5px rgba(34, 211, 238, 0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
}

.hamburger span {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #ffffff;
  transition: transform 0.26s ease, opacity 0.26s ease;
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

.mobile-menu {
  position: fixed;
  top: 86px;
  right: 20px;
  width: min(320px, calc(100vw - 40px));
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(34, 211, 238, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(-12px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.4, 0, 0.2, 1), transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10020;
}

.mobile-menu a {
  color: #f1f5f9;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 500;
  border: 1px solid transparent;
}

.mobile-menu a:hover {
  background: rgba(34, 211, 238, 0.05);
  border-color: rgba(34, 211, 238, 0.1);
  color: var(--accent);
}

.mobile-menu.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 3, 10, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 9990;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* User Profile Frame Animation in Login / Nav */
.logo-auth-v {
  display: none;
  position: relative;
  width: 116px;
  height: 84px;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin: -4px auto 0;
  z-index: 120;
}

.logo-auth-v__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.logo-auth-v__base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-auth-v__rainbow {
  fill: none;
  stroke: url(#opiRainbowStroke);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 26 12;
  filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.6)) drop-shadow(0 0 12px rgba(255, 122, 24, 0.4));
  animation: rainbow-flow 3.5s ease-in-out infinite alternate;
}

.logo-auth-v img[data-auth-avatar="true"] {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  box-shadow: 
    0 0 15px rgba(255, 255, 255, 0.25), 
    0 0 25px rgba(34, 211, 238, 0.35);
}

@keyframes rainbow-flow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -112;
  }
}

/* Toast Notification */
.login-success-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 320px;
  padding: 14px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(16, 185, 129, 0.2);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 25000;
  pointer-events: none;
}

.login-success-toast.hide {
  opacity: 0;
  transform: translateY(-10px);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* High-tech Panels (Glassmorphism) */
.bg-white\/5 {
  background: linear-gradient(160deg, rgba(8, 14, 32, 0.8), rgba(4, 7, 18, 0.65)) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-white\/5:hover {
  border-color: var(--border-hover) !important;
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.7), 
    0 0 20px rgba(34, 211, 238, 0.05);
}

.border-white\/10 {
  border-color: var(--border) !important;
}

.bg-black\/40 {
  background: rgba(3, 6, 15, 0.75) !important;
}

/* Premium Product Cards with 3D Pop Effect */
.product-card {
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-yellow-hover) !important;
  box-shadow: 
    0 24px 50px rgba(0, 0, 0, 0.8), 
    0 0 25px rgba(255, 177, 58, 0.15);
}

.product-img {
  width: min(230px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-img {
  transform: translateZ(20px) scale(1.04);
}

/* Custom High-tech Glass Outline Buttons */
.custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(99, 102, 241, 0.08));
  box-shadow: 
    0 0 15px rgba(34, 211, 238, 0.05),
    0 10px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.custom-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(99, 102, 241, 0.16));
  box-shadow: 
    0 0 25px rgba(34, 211, 238, 0.15),
    0 14px 30px rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Sleek Cyber Form Inputs */
input,
textarea,
select {
  color: #f8fafc;
  background: rgba(3, 6, 15, 0.65) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.25s ease;
  font-size: 15px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  background: rgba(3, 6, 15, 0.85) !important;
  border-color: var(--accent) !important;
  box-shadow: 
    0 0 0 3px rgba(34, 211, 238, 0.12),
    0 0 15px rgba(34, 211, 238, 0.1);
}

/* Main Call to Action (Vibrant Yellow Gradient Button) */
.bg-yellow-500,
[class*="bg-yellow-500"] {
  border: 1px solid rgba(255, 177, 58, 0.5);
  background: linear-gradient(135deg, var(--yellow-accent), var(--yellow-accent-strong)) !important;
  color: #1e0f00 !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 
    0 12px 28px rgba(255, 122, 24, 0.2), 
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bg-yellow-500:hover,
.hover\:bg-yellow-400:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 
    0 16px 35px rgba(255, 122, 24, 0.35), 
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 15px rgba(255, 177, 58, 0.2);
}

.bg-yellow-500:active,
.hover\:bg-yellow-400:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Product Modal / Detail popup */
#productModal {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
}

#productModal > div {
  background: linear-gradient(160deg, rgba(6, 10, 24, 0.95), rgba(3, 5, 12, 0.9)) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(34, 211, 238, 0.05);
  border-radius: 24px;
}

#productModal button[onclick="closeProduct()"] {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  transition: all 0.25s ease;
}

#productModal button[onclick="closeProduct()"]:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  transform: rotate(90deg);
}

/* Footer Section */
footer {
  background: linear-gradient(180deg, rgba(2, 4, 10, 0) 0%, rgba(2, 4, 10, 0.85) 100%);
  border-top: 1px solid rgba(34, 211, 238, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

footer a {
  color: var(--text-soft);
  text-decoration: none;
}

footer a:hover {
  color: var(--yellow-accent);
}

/* Spacing and Utilities */
.mt-40 {
  margin-top: 8.5rem !important;
}

.mt-32 {
  margin-top: 7rem !important;
}

.mt-28 {
  margin-top: 6rem !important;
}

.text-6xl {
  font-size: clamp(2.3rem, 5.5vw, 4.3rem) !important;
  line-height: 1.1 !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.text-5xl {
  font-size: clamp(1.9rem, 4.5vw, 3.25rem) !important;
  line-height: 1.15 !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-4xl {
  font-size: clamp(1.65rem, 3.5vw, 2.5rem) !important;
  line-height: 1.2 !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Media Queries */
@media (max-width: 1024px) {
  .navbar {
    width: min(1100px, calc(100% - 1.8rem));
    gap: 12px;
    padding: 10px 20px;
  }

  .nav-left a,
  .nav-right a {
    padding-inline: 12px;
    font-size: 14px;
  }

  .nav-user-meta span {
    max-width: 90px;
  }
}

@media (max-width: 768px) {
  :root {
    --radius-xl: 20px;
  }

  #navbar {
    min-height: 84px;
  }

  .navbar {
    grid-template-columns: 1fr auto;
    gap: 8px;
    border-radius: 18px;
    margin-top: 14px;
    padding: 10px 18px;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .logo {
    justify-content: flex-start;
  }

  .logo a {
    font-size: 0.98rem;
    letter-spacing: 0.12em;
  }

  .hamburger {
    display: flex;
    justify-self: end;
  }

  .mobile-auth-user {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
    margin-bottom: 8px;
  }

  .mobile-auth-user span {
    max-width: 180px;
  }

  .logo-auth-v {
    width: 108px;
    height: 80px;
  }

  .logo-auth-v img[data-auth-avatar="true"] {
    width: 56px;
    height: 56px;
  }

  .mt-40 {
    margin-top: 6rem !important;
  }

  .mt-32,
  .mt-28 {
    margin-top: 5rem !important;
  }

  .px-10 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .p-10,
  .p-12 {
    padding: 1.5rem !important;
  }

  .text-6xl {
    font-size: clamp(2rem, 8.5vw, 2.75rem) !important;
  }

  .text-5xl {
    font-size: clamp(1.7rem, 7.8vw, 2.25rem) !important;
  }

  .text-4xl {
    font-size: clamp(1.5rem, 6.8vw, 1.9rem) !important;
  }

  .text-3xl {
    font-size: clamp(1.3rem, 6vw, 1.65rem) !important;
  }

  .grid {
    gap: 1.25rem !important;
  }

  .product-img {
    width: min(180px, 100%);
  }

  form[class*="max-w"],
  .max-w-xl,
  .max-w-md,
  .max-w-4xl {
    width: 100% !important;
  }

  .bg-white\/5 {
    border-radius: 18px !important;
  }

  body {
    line-height: 1.58;
  }

  body::before,
  body::after,
  .galaxy-bg {
    animation-duration: 40s;
  }

  .star {
    animation-duration: 4.6s;
  }
}

/* 3D Floating Images & Videos */
.hero-media-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: fit-content;
  max-width: 100%;
  margin-left: clamp(12px, 9vw, 140px);
}

.hero-floating-image {
  width: min(260px, 72vw);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.6));
  animation: hero-float 4.2s ease-in-out infinite;
  will-change: transform;
}

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

.hero-video-box {
  width: min(95vw, 15cm);
  height: calc(min(95vw, 15cm) * 0.625);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(3, 6, 15, 0.8);
  box-shadow: 
    0 24px 50px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(34, 211, 238, 0.03);
  margin-inline: auto;
  transition: border-color 0.3s ease;
}

.hero-video-box:hover {
  border-color: var(--accent);
}

.hero-loop-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: none;
}

@media (max-width: 768px) {
  .hero-video-box {
    width: min(92vw, 15cm);
    height: calc(min(92vw, 15cm) * 0.625);
    border-radius: 14px;
  }

  .hero-floating-image {
    width: min(220px, 68vw);
  }
}

.how-with-media {
  display: grid;
  grid-template-columns: minmax(280px, 15cm) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: start;
}

.how-content-right {
  min-width: 0;
}

.how-media-column {
  margin-left: clamp(8px, 2vw, 24px);
  align-items: center;
  gap: 42px;
}

.hero-media-stack {
  margin-left: 0;
  perspective: 1200px;
}

.hero-floating-image {
  transform-origin: center center;
  animation: hero-float-3d 3.5s ease-in-out infinite;
}

@keyframes hero-float-3d {
  0%,
  100% {
    transform: translateY(0) rotateY(-16deg) rotateX(6deg);
  }
  50% {
    transform: translateY(-20px) rotateY(-10deg) rotateX(4deg);
  }
}

@media (max-width: 1100px) {
  .how-with-media {
    grid-template-columns: 1fr;
  }

  .how-media-column {
    margin-left: clamp(8px, 4vw, 24px);
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .how-media-column {
    margin-left: clamp(6px, 4vw, 18px);
  }
}

.how-heading-aquire {
  font-family: "Aquire", "Space Grotesk", "Outfit", sans-serif !important;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Feedback Emoji Rating Animations */
.emoji {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
  display: inline-block;
  user-select: none;
}
.emoji:hover {
  transform: scale(1.3) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(255, 177, 58, 0.5));
}
input[name="rating"]:checked + .emoji {
  transform: scale(1.4) rotate(-8deg);
  filter: drop-shadow(0 0 15px var(--accent)) saturate(1.2);
}

/* Leonardo AI-Style Scroll animations */
.scroll-animate {
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-animate.slide-up {
  transform: translateY(60px);
}

.scroll-animate.slide-left {
  transform: translateX(-60px);
}

.scroll-animate.slide-right {
  transform: translateX(60px);
}

.scroll-animate.zoom-in {
  transform: scale(0.92);
}

.scroll-animate.show {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger delay grids */
.stagger-in > * {
  opacity: 0;
  transform: translateY(45px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.stagger-in.show > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-in > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-in > *:nth-child(2) { transition-delay: 0.22s; }
.stagger-in > *:nth-child(3) { transition-delay: 0.34s; }
.stagger-in > *:nth-child(4) { transition-delay: 0.46s; }
.stagger-in > *:nth-child(5) { transition-delay: 0.58s; }

/* Glowing mouse-tracker hover mask for cards */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(34, 211, 238, 0.1),
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

