/* ==========================================================================
   LTD SOFTWARE 2026 — MODERN SAAS & CYBERPUNK GLASSMORPHISM STYLESHEET
   Author: LTD Software Engineering Team
   Version: 3.0.0 (High Performance, Ultra-Responsive, SEO-Optimized)
   ========================================================================== */

:root {
  --bg-primary: #08090e;
  --bg-secondary: #0f111a;
  --bg-card: rgba(18, 20, 32, 0.7);
  --bg-card-hover: rgba(26, 30, 48, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);
  --border-glow: rgba(56, 189, 248, 0.3);

  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;

  --gradient-brand: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-ai: linear-gradient(135deg, #a855f7 0%, #d946ef 45%, #ec4899 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);
  --shadow-cyan: 0 0 30px rgba(6, 182, 212, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
    var(--bg-primary);
}

/* Background Cyber Grid & Dynamic Star Atmosphere */
.cyber-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle 1.5px at 0 0, rgba(56, 189, 248, 0.3), transparent 1.5px);
  background-size: 46px 46px, 46px 46px, 46px 46px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 20%, black 50%, rgba(0, 0, 0, 0.35) 80%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 20%, black 50%, rgba(0, 0, 0, 0.35) 80%, transparent 100%);
}

/* Subtle Cyber Shooting Stars (Sao Băng Tinh Tế & Sinh Động) */
.shooting-star-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.shooting-star {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(56, 189, 248, 0.9) 30%, rgba(168, 85, 247, 0.5) 65%, transparent 100%);
  border-radius: 9999px;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.shooting-star::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff, 0 0 16px rgba(56, 189, 248, 0.9);
}

.shooting-star.star-1 {
  width: 140px;
  top: 7%;
  right: 12%;
  animation: meteorFall 6.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1s infinite;
}

.shooting-star.star-2 {
  width: 160px;
  top: 16%;
  right: 38%;
  animation: meteorFall 7.5s cubic-bezier(0.2, 0.8, 0.2, 1) 5s infinite;
}

.shooting-star.star-3 {
  width: 120px;
  top: 26%;
  right: 6%;
  animation: meteorFall 6.8s cubic-bezier(0.2, 0.8, 0.2, 1) 9.5s infinite;
}

.shooting-star.star-4 {
  width: 150px;
  top: 11%;
  right: 62%;
  animation: meteorFall 8.2s cubic-bezier(0.2, 0.8, 0.2, 1) 14.5s infinite;
}

.shooting-star.star-5 {
  width: 135px;
  top: 34%;
  right: 22%;
  animation: meteorFall 7.2s cubic-bezier(0.2, 0.8, 0.2, 1) 19.5s infinite;
}

@keyframes meteorFall {
  0% {
    transform: rotate(-35deg) translate3d(0, 0, 0);
    opacity: 0;
  }
  6% {
    opacity: 0.95;
  }
  28% {
    opacity: 0.8;
  }
  38% {
    transform: rotate(-35deg) translate3d(-780px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: rotate(-35deg) translate3d(-780px, 0, 0);
    opacity: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input, select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Gradient Texts & Utility */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: none !important;
  filter: none !important;
}

.gradient-ai-text {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: none !important;
  filter: none !important;
}

/* Glowing Top Banner (Removed per user request) */
.top-notice-bar {
  display: none !important;
}

.top-notice-bar .badge-live {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(8, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-base);
}

.navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: inline-block;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  white-space: nowrap;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
  display: inline-block;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 0.88rem;
  }
  .brand-logo {
    font-size: 1.1rem;
  }
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.55);
}

.btn-ai {
  background: var(--gradient-ai);
  color: #fff;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.35);
}

.btn-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(236, 72, 153, 0.55);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.05);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: visible;
  background: transparent;
}

.hero-section::before {
  display: none !important;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.45);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  color: #ffffff;
  margin-bottom: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.hero-pill .pill-tag {
  background: var(--gradient-ai);
  color: #fff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.4);
}

.hero-title {
  font-size: clamp(2.7rem, 5.8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  text-shadow: none !important;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: #f1f5f9;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-cta .btn {
  border-radius: var(--radius-full);
  padding: 0.85rem 1.85rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta .btn-ai {
  background: var(--gradient-ai);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.45);
}

.hero-cta .btn-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.65);
}

.hero-cta .btn-glass {
  background: rgba(18, 20, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-cta .btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-cta .btn-primary {
  background: var(--gradient-brand);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.hero-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.65);
}

/* Hero Showcase Frame Decoration */
.hero-showcase-frame {
  max-width: 1080px;
  margin: 3.5rem auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(236, 72, 153, 0.5);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 60px rgba(236, 72, 153, 0.3), 0 0 100px rgba(99, 102, 241, 0.2);
  background: #000;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-showcase-frame:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 80px rgba(236, 72, 153, 0.45), 0 0 120px rgba(99, 102, 241, 0.3);
}

/* Metrics Row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  backdrop-filter: blur(16px);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.metric-number {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.45rem;
  line-height: 1.4;
}

/* Spotlight Section: LTD Studio */
.spotlight-section {
  padding: 5rem 0;
  position: relative;
}

.spotlight-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(15, 17, 26, 0.8) 50%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(139, 92, 246, 0.15);
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-cyan), transparent);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.spotlight-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #f472b6;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.feature-item svg {
  flex-shrink: 0;
  color: var(--accent-cyan);
  margin-top: 0.2rem;
}

.spotlight-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  background: #000;
}

.spotlight-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.spotlight-preview:hover img {
  transform: scale(1.03);
}

.preview-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Section Common Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Tools Filter & Search Bar */
.filter-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #fff;
}

.search-box {
  position: relative;
  min-width: 260px;
}

.search-box input {
  width: 100%;
  background: rgba(8, 9, 14, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.search-box svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(16px);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.15);
}

.product-image-wrapper {
  position: relative;
  height: 200px;
  background: #000;
  overflow: hidden;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.06);
}

.badge-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.badge-hot {
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.badge-new {
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

.badge-pro {
  background: rgba(168, 85, 247, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #d8b4fe;
}

.badge-free {
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #93c5fd;
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-features-mini {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.product-features-mini li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features-mini li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.product-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: #34d399;
}

.price-sold {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

/* Detailed Features / Ecosystem Section */
.ecosystem-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 0;
  position: relative;
}

.pricing-switcher-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.pricing-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.pricing-switch-btn {
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pricing-switch-btn.active {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.4);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto 3.5rem;
  padding-top: 1.5rem;
}

@media (max-width: 1024px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 640px) {
  .pricing-grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 1.5rem;
  }
}

.pricing-section {
  scroll-margin-top: 100px;
}

/* ========================================================
   5-COLUMN PRICING GRID & 5 DISTINCT THEME CARDS
   ======================================================== */
.pricing-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
  max-width: 1360px;
  margin: 0 auto 3.5rem;
  padding-top: 2rem;
}

.pricing-grid-5 .pricing-card {
  padding: 2.25rem 0.95rem 1.85rem;
  transform: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-grid-5 .pricing-card:hover {
  transform: translateY(-8px) !important;
}

.pricing-grid-5 .pricing-amount {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.pricing-grid-5 .pricing-cost {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  white-space: nowrap;
}

.pricing-grid-5 .pricing-period {
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.pricing-grid-5 .pricing-features {
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-grid-5 .pricing-features li {
  font-size: 0.85rem;
  line-height: 1.35;
  gap: 0.5rem;
}

.pricing-grid-5 .select-plan-btn {
  font-size: 0.88rem;
  padding: 0.65rem 0.5rem;
  white-space: nowrap;
  margin-top: auto;
}

/* ========================================================
   BALANCED PAYMENT BOX (VIETQR & ACB AUTO-TRANSFER)
   ======================================================== */
#payment-box {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.75rem !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}

#payment-box .payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
  #payment-box {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 1200px) {
  .pricing-grid-5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 820px) {
  .pricing-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .pricing-grid-5 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Card 1: Starter (Green) */
.pricing-card.card-starter {
  border-color: rgba(16, 185, 129, 0.4);
}
.pricing-card.card-starter:hover {
  border-color: #10b981;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, rgba(18, 20, 32, 0.95) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.25);
}
.pricing-card.card-starter .pricing-amount {
  color: #34d399;
}
.pricing-card.card-starter:hover .select-plan-btn.btn-outline {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.18);
  color: #fff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}
.pricing-card.card-starter .pricing-features li svg {
  color: #10b981;
}

/* Card 2: Creator (Cyan/Sky) */
.pricing-card.card-creator {
  border-color: rgba(14, 165, 233, 0.4);
}
.pricing-card.card-creator:hover {
  border-color: #0ea5e9;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.1) 0%, rgba(18, 20, 32, 0.95) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(14, 165, 233, 0.25);
}
.pricing-card.card-creator .pricing-amount {
  color: #38bdf8;
}
.pricing-card.card-creator:hover .select-plan-btn.btn-outline {
  border-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.18);
  color: #fff;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.35);
}
.pricing-card.card-creator .pricing-features li svg {
  color: #0ea5e9;
}

/* Card 3: Pro (Purple) */
.pricing-card.card-pro {
  border-color: rgba(168, 85, 247, 0.4);
}
.pricing-card.card-pro:hover {
  border-color: #a855f7;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.1) 0%, rgba(18, 20, 32, 0.95) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.25);
}
.pricing-card.card-pro .pricing-amount {
  color: #c084fc;
}
.pricing-card.card-pro:hover .select-plan-btn.btn-outline {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.18);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}
.pricing-card.card-pro .pricing-features li svg {
  color: #a855f7;
}

/* Card 4: Cao Cấp (Pink/Rose - Featured) */
.pricing-card.card-caocap {
  border-color: rgba(236, 72, 153, 0.55);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.1) 0%, rgba(18, 20, 32, 0.9) 100%);
  box-shadow: 0 10px 40px rgba(236, 72, 153, 0.2);
}
.pricing-card.card-caocap:hover {
  transform: translateY(-8px) !important;
  border-color: #ec4899;
  box-shadow: 0 25px 60px rgba(236, 72, 153, 0.35), 0 0 40px rgba(244, 114, 182, 0.25);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.18) 0%, rgba(18, 20, 32, 0.98) 100%);
}
.pricing-card.card-caocap .pricing-amount {
  color: var(--accent-pink);
  text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}
.pricing-card.card-caocap .pricing-features li svg {
  color: var(--accent-pink);
}

/* Card 5: Doanh Nghiệp (Royal Gold - Ultimate VIP) */
.pricing-card.card-doanhnghiep {
  border: 1.5px solid rgba(245, 158, 11, 0.65);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(18, 20, 32, 0.95) 100%);
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.25), 0 0 20px rgba(251, 191, 36, 0.15);
}
.pricing-card.card-doanhnghiep:hover {
  transform: translateY(-8px) !important;
  border-color: #fbbf24;
  box-shadow: 0 25px 60px rgba(245, 158, 11, 0.45), 0 0 40px rgba(251, 191, 36, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.22) 0%, rgba(18, 20, 32, 0.98) 100%);
}
.pricing-card.card-doanhnghiep .pricing-amount {
  color: #fbbf24;
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}
.pricing-card.card-doanhnghiep .pricing-features li svg {
  color: #fbbf24;
}
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}
.pricing-card.card-doanhnghiep .pricing-features li svg {
  color: #fbbf24;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.75rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible !important;
  cursor: pointer;
}

.pricing-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(236, 72, 153, 0.55);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.08) 0%, rgba(18, 20, 32, 0.95) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(236, 72, 153, 0.2);
}

/* ========================================================
   GÓI VÀNG VIP (GOLD LUXURY THEME)
   ======================================================== */
.pricing-card.gold-vip {
  border: 1.5px solid rgba(245, 158, 11, 0.65);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(18, 20, 32, 0.95) 100%);
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.25), 0 0 20px rgba(251, 191, 36, 0.15);
}

.pricing-card.gold-vip:hover {
  transform: translateY(-8px) !important;
  border-color: #fbbf24;
  box-shadow: 0 25px 60px rgba(245, 158, 11, 0.45), 0 0 40px rgba(251, 191, 36, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.22) 0%, rgba(18, 20, 32, 0.98) 100%);
}

.badge-gold-vip {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%) !important;
  color: #090a0f !important;
  font-weight: 800 !important;
  border: 1px solid #fef08a !important;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.6) !important;
}

.pricing-card.gold-vip .pricing-amount {
  color: #fbbf24 !important;
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.btn-gold-vip {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
  color: #090a0f !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4) !important;
  transition: all 0.3s ease;
}

.btn-gold-vip:hover {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.8) !important;
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.pricing-card.gold-vip .pricing-features li svg {
  color: #fbbf24 !important;
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.95rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.pricing-card.featured {
  border-color: rgba(236, 72, 153, 0.5);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.1) 0%, rgba(18, 20, 32, 0.9) 100%);
  box-shadow: 0 10px 40px rgba(236, 72, 153, 0.2);
}

.pricing-card.featured:hover {
  transform: translateY(-8px) !important;
  border-color: #ec4899;
  box-shadow: 0 25px 60px rgba(236, 72, 153, 0.35), 0 0 40px rgba(244, 114, 182, 0.25);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.16) 0%, rgba(18, 20, 32, 0.98) 100%);
}

.pricing-card:hover .pricing-amount {
  color: #fff;
  text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
  transition: all 0.3s ease;
}

.pricing-card.featured:hover .pricing-amount {
  color: var(--accent-pink);
  text-shadow: 0 0 25px rgba(236, 72, 153, 0.7);
}

.pricing-card:hover .select-plan-btn.btn-outline {
  border-color: var(--accent-pink);
  background: rgba(236, 72, 153, 0.18);
  color: #fff;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.35);
  transform: translateY(-2px);
}

.pricing-card:hover .select-plan-btn.btn-ai {
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
  transform: translateY(-2px);
}

.pricing-card .pricing-features li svg {
  transition: all 0.3s ease;
}

.pricing-card:hover .pricing-features li svg {
  color: var(--accent-pink);
  transform: scale(1.2);
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.pricing-cost {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 2rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.pricing-features li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Download & Activation Section */
.download-section {
  padding: 5rem 0;
  position: relative;
}

.download-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(15, 17, 26, 0.9) 50%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-box h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.download-box p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.dl-card {
  background: rgba(8, 9, 14, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dl-card:hover {
  border-color: var(--accent-cyan);
}

.dl-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.dl-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

/* FAQ Accordion */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-dim);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  padding-bottom: 1.25rem;
}

/* Footer */
.footer {
  background: #040508;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 1.25rem 0 1.5rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.social-link:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  color: var(--accent-indigo);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modal System */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-header-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-body {
  padding: 2rem;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  color: #fff;
  font-size: 0.9rem;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Grid Helpers */
.two-col-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.two-col-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1050px;
  margin: 0 auto;
  align-items: start;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 2rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .two-col-grid, .two-col-equal {
    grid-template-columns: 1fr;
  }
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }
  .metrics-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .spotlight-card {
    padding: 1.75rem;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    width: 100%;
  }
}


/* ========================================================
   INFINITE BRAND / PLATFORM MARQUEE TICKER (PHOTO REFERENCE)
   ======================================================== */
.brand-ticker-section {
  padding: 3rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.06), transparent 70%), var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.brand-ticker-title {
  text-align: center;
  margin-bottom: 2rem;
}

.brand-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.brand-ticker-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.marquee-container {
  display: flex;
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

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

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
  padding-right: 1.25rem;
  animation: marquee-scroll 35s linear infinite;
}

.marquee-track.reverse {
  animation: marquee-scroll-reverse 38s linear infinite;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes marquee-scroll-reverse {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.marquee-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.4rem;
  background: rgba(18, 22, 38, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.marquee-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(30, 36, 60, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.marquee-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.marquee-info {
  display: flex;
  flex-direction: column;
}

.marquee-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.2;
}

.marquee-role {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Progressive Showcase Styles */
.flagship-hero-card {
  background: linear-gradient(135deg, rgba(20, 24, 45, 0.95), rgba(12, 14, 28, 0.95));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.15);
  position: relative;
  overflow: hidden;
  margin-bottom: 4rem;
}

.flagship-hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15), transparent 70%);
  pointer-events: none;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .flagship-grid {
    grid-template-columns: 1fr;
  }
}

.flagship-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}

.flagship-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.flagship-media:hover img {
  transform: scale(1.02);
}

.flagship-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.flagship-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.engine-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .engine-trio-grid {
    grid-template-columns: 1fr;
  }
}

.engine-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.engine-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.engine-card.featured {
  border-color: rgba(99, 102, 241, 0.5);
  background: linear-gradient(180deg, rgba(30, 36, 68, 0.5), rgba(15, 17, 26, 0.8));
}

.engine-card.featured::after {
  content: 'HOT ĐỘT PHÁ';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-ai);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.reveal-module-card {
  background: rgba(18, 22, 38, 0.6);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--transition-normal);
}

.reveal-module-card:hover {
  border-style: solid;
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(22, 27, 48, 0.85);
  transform: translateY(-3px);
}

/* ========================================================
   AUTHENTICATION & DASHBOARD STYLES (CYBER THEME)
   ======================================================== */
.auth-wrapper {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 10;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gradient-ai);
  border-radius: 2px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.auth-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(8, 9, 14, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
  background: rgba(15, 17, 26, 0.9);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.role-owner {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.role-admin {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.4);
}

.role-user {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.user-nav-dropdown {
  position: relative;
  display: inline-block;
}

.user-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.user-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  z-index: 1000;
}

.user-dropdown-menu.active {
  display: block;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.user-dropdown-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.admin-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-weight: 600;
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}


/* ========================================================
   PREMIUM SAAS & CYBER AUTHENTICATION PORTAL (2026 ELITE)
   ======================================================== */
.auth-split-wrapper {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem 2rem;
  position: relative;
  z-index: 10;
}

.auth-ambient-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  animation: authOrbPulse 8s ease-in-out infinite alternate;
}

.auth-glow-left {
  top: 15%;
  left: 5%;
  background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(6, 182, 212, 0) 70%);
}

.auth-glow-right {
  bottom: 12%;
  right: 5%;
  background: radial-gradient(circle, var(--accent-pink) 0%, rgba(236, 72, 153, 0) 70%);
}

@keyframes authOrbPulse {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.2; }
  50% { transform: scale(1.1) translate(20px, -20px); opacity: 0.35; }
  100% { transform: scale(0.95) translate(-15px, 15px); opacity: 0.25; }
}

.auth-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  max-width: 1180px;
  width: 100%;
  gap: 2.5rem;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

/* LEFT SHOWCASE PANEL */
.auth-showcase-panel {
  background: linear-gradient(145deg, rgba(17, 20, 31, 0.78) 0%, rgba(10, 12, 19, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: 2rem 2.25rem;
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  height: 100%;
  box-sizing: border-box;
}

.auth-showcase-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), transparent);
}

.auth-brand-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.auth-system-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.auth-system-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.auth-showcase-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.auth-showcase-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

/* ========================================================
   CYBER HOLOGRAPHIC LOGO STAGE & ANIMATED EFFECTS
   ======================================================== */

.auth-cyber-stage {
  position: relative;
  width: 100%;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0.75rem 0 1.25rem;
  perspective: 1000px;
}

/* Ambient Radial Nebula Glow */
.cyber-aura-glow {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(6, 182, 212, 0.22) 48%, transparent 72%);
  filter: blur(35px);
  animation: auraPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auraPulse {
  0% { transform: scale(0.9); opacity: 0.65; }
  50% { transform: scale(1.12); opacity: 0.95; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Concentric Rotating Cyber Orbit Rings */
.cyber-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cyber-orbit-ring.ring-outer {
  width: 220px;
  height: 220px;
  border: 1.5px dashed rgba(6, 182, 212, 0.45);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.2);
  animation: rotateClockwise 30s linear infinite;
}

.cyber-orbit-ring.ring-inner {
  width: 160px;
  height: 160px;
  border: 1.5px dotted rgba(236, 72, 153, 0.55);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.25);
  animation: rotateCounterClockwise 20s linear infinite;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Orbit Particles on the rings */
.orbit-particle {
  position: absolute;
  border-radius: 50%;
  background: #fff;
}

.orbit-particle.p1 {
  width: 7px;
  height: 7px;
  top: 12px;
  left: 40px;
  box-shadow: 0 0 10px #22d3ee, 0 0 3px #fff;
}

.orbit-particle.p2 {
  width: 6px;
  height: 6px;
  bottom: 20px;
  right: 35px;
  box-shadow: 0 0 10px #f472b6, 0 0 3px #fff;
}

.orbit-particle.p3 {
  width: 6px;
  height: 6px;
  top: 50%;
  right: -3px;
  box-shadow: 0 0 10px #34d399, 0 0 3px #fff;
}

/* Central Floating 3D Logo Core */
.cyber-logo-core {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatCore 4.5s ease-in-out infinite;
}

@keyframes floatCore {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

.core-glass-shield {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(24px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55),
              0 0 30px rgba(236, 72, 153, 0.35),
              inset 0 0 20px rgba(6, 182, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-glass-shield:hover {
  transform: scale(1.06) rotate(2deg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6),
              0 0 40px rgba(236, 72, 153, 0.55),
              inset 0 0 25px rgba(6, 182, 212, 0.4);
}

.core-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
  animation: logoBreath 4s ease-in-out infinite alternate;
}

@keyframes logoBreath {
  0% { filter: drop-shadow(0 4px 10px rgba(236, 72, 153, 0.4)); }
  100% { filter: drop-shadow(0 6px 20px rgba(6, 182, 212, 0.65)); }
}

.core-status-pill {
  margin-top: 0.65rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: rgba(8, 9, 14, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #34d399;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.core-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: beaconPulse 1.8s ease-in-out infinite;
}

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

/* Floating Tech Badges (Bobbing in 3D orbit around the core) */
.floating-tech-badge {
  position: absolute;
  z-index: 6;
  padding: 0.32rem 0.75rem;
  border-radius: 20px;
  background: rgba(17, 20, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  font-size: 0.74rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
  user-select: none;
}

.floating-tech-badge:hover {
  transform: scale(1.08) !important;
  border-color: var(--accent-pink);
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.45);
}

.badge-top-left {
  top: 10px;
  left: 0px;
  animation: floatBadge1 5s ease-in-out infinite;
}

.badge-top-right {
  top: 6px;
  right: 0px;
  animation: floatBadge2 5.5s ease-in-out 0.6s infinite;
}

.badge-bottom-left {
  bottom: 34px;
  left: -5px;
  animation: floatBadge3 6s ease-in-out 1.2s infinite;
}

.badge-bottom-right {
  bottom: 28px;
  right: -5px;
  animation: floatBadge4 5.2s ease-in-out 1.8s infinite;
}

@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}

@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0px) rotate(1deg); }
  50% { transform: translateY(-8px) rotate(-1.5deg); }
}

@keyframes floatBadge3 {
  0%, 100% { transform: translateY(0px) rotate(0.5deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes floatBadge4 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}

/* Audio / AI Engine Frequency Waveform Visualizer */
.cyber-frequency-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 22px;
  margin-top: 0.85rem;
  padding: 0 1rem;
}

.cyber-frequency-bars .bar {
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent-pink) 0%, var(--accent-cyan) 100%);
  animation: barWave 1.4s ease-in-out infinite alternate;
}

.cyber-frequency-bars .bar-1 { height: 8px; animation-delay: 0.1s; }
.cyber-frequency-bars .bar-2 { height: 14px; animation-delay: 0.25s; }
.cyber-frequency-bars .bar-3 { height: 20px; animation-delay: 0.4s; }
.cyber-frequency-bars .bar-4 { height: 11px; animation-delay: 0.15s; }
.cyber-frequency-bars .bar-5 { height: 22px; animation-delay: 0.5s; }
.cyber-frequency-bars .bar-6 { height: 15px; animation-delay: 0.3s; }
.cyber-frequency-bars .bar-7 { height: 19px; animation-delay: 0.2s; }
.cyber-frequency-bars .bar-8 { height: 9px; animation-delay: 0.45s; }
.cyber-frequency-bars .bar-9 { height: 13px; animation-delay: 0.35s; }

@keyframes barWave {
  0% { transform: scaleY(0.35); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; filter: drop-shadow(0 0 6px var(--accent-cyan)); }
}

/* Feature cards in showcase (legacy/optional) */
.auth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.auth-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.auth-feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateX(4px);
}

.auth-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-feature-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #fff;
}

.auth-feature-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Trust footer */
.auth-trust-box {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.auth-avatar-stack {
  display: flex;
  align-items: center;
}

.auth-avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #0f111a;
  margin-left: -8px;
  object-fit: cover;
}

.auth-avatar-stack img:first-child {
  margin-left: 0;
}

/* RIGHT AUTH TERMINAL */
.auth-terminal-card {
  background: linear-gradient(160deg, rgba(18, 20, 32, 0.9) 0%, rgba(10, 11, 18, 0.96) 100%);
  border: 1px solid rgba(236, 72, 153, 0.35);
  border-radius: var(--radius-2xl);
  padding: 2rem 2.25rem;
  backdrop-filter: blur(30px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(236, 72, 153, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.auth-terminal-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink), var(--accent-amber));
  border-radius: 2px;
}

.auth-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.auth-security-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(236, 72, 153, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.auth-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* TABS */
.auth-tabs-nav {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.75rem;
  gap: 0.35rem;
}

.auth-tab-btn {
  flex: 1;
  padding: 0.7rem 1rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.auth-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.auth-tab-btn.active {
  background: var(--gradient-ai);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

/* INPUT WITH ICON */
.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-dim);
  pointer-events: none;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.auth-input-field {
  width: 100%;
  background: rgba(8, 9, 14, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.auth-input-field:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
  background: rgba(15, 17, 26, 0.95);
}

.auth-input-wrap:focus-within .auth-input-icon {
  color: var(--accent-pink);
}

.auth-password-toggle {
  position: absolute;
  right: 0.85rem;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.auth-password-toggle:hover {
  color: #fff;
}

/* ROLE DEMO SWITCHER */
.role-demo-dock {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.role-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.role-demo-header span {
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.role-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.role-demo-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.role-demo-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
}

.role-demo-item.item-owner {
  border-color: rgba(245, 158, 11, 0.3);
}
.role-demo-item.item-owner:hover, .role-demo-item.item-owner.selected {
  border-color: #f59e0b;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.1);
}

.role-demo-item.item-admin {
  border-color: rgba(236, 72, 153, 0.3);
}
.role-demo-item.item-admin:hover, .role-demo-item.item-admin.selected {
  border-color: #ec4899;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.25);
  background: rgba(236, 72, 153, 0.1);
}

.role-demo-item.item-user {
  border-color: rgba(16, 185, 129, 0.3);
}
.role-demo-item.item-user:hover, .role-demo-item.item-user.selected {
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.1);
}

.role-demo-badge {
  font-size: 0.75rem;
  font-weight: 700;
}

.role-demo-desc {
  font-size: 0.68rem;
  color: var(--text-dim);
}

@media (max-width: 1080px) and (min-width: 821px) {
  .auth-split-grid {
    gap: 1.5rem;
    max-width: 960px;
  }
  .auth-showcase-panel,
  .auth-terminal-card {
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 820px) {
  .auth-split-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .auth-showcase-panel {
    display: none;
  }
}


/* ========================================================
   SHOOTING STARS, CYBER FRAMES & ULTRA-SMOOTH TRANSITIONS
   ======================================================== */

/* 1. SHOOTING STARS / METEORS LAYER */
.shooting-stars-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.shooting-star {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, #ffffff 0%, var(--star-color, rgba(6, 182, 212, 0.8)) 60%, transparent 100%);
  border-radius: 999px;
  filter: drop-shadow(0 0 6px var(--star-glow, rgba(6, 182, 212, 0.9)));
  transform: rotate(-38deg);
  opacity: 0;
  pointer-events: none;
  animation: meteorStreak var(--star-duration, 6s) cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

.shooting-star::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px #fff, 0 0 16px 4px var(--star-glow, #06b6d4);
}

@keyframes meteorStreak {
  0% {
    transform: rotate(-38deg) translateX(0) scale(0.6);
    opacity: 0;
  }
  3% {
    opacity: 1;
    transform: rotate(-38deg) translateX(-160px) scale(1.1);
  }
  12% {
    opacity: 0;
    transform: rotate(-38deg) translateX(-850px) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: rotate(-38deg) translateX(-850px);
  }
}

.star-1 {
  top: 7%;
  right: 8%;
  width: 150px;
  --star-duration: 6.5s;
  --star-color: #06b6d4;
  --star-glow: #06b6d4;
  animation-delay: 0.2s;
}

.star-2 {
  top: 22%;
  right: 2%;
  width: 190px;
  --star-duration: 8.2s;
  --star-color: #ec4899;
  --star-glow: #ec4899;
  animation-delay: 2.5s;
}

.star-3 {
  top: 38%;
  right: 15%;
  width: 130px;
  --star-duration: 7s;
  --star-color: #a855f7;
  --star-glow: #a855f7;
  animation-delay: 4.2s;
}

.star-4 {
  top: 58%;
  right: 5%;
  width: 170px;
  --star-duration: 9.5s;
  --star-color: #38bdf8;
  --star-glow: #38bdf8;
  animation-delay: 1.5s;
}

.star-5 {
  top: 14%;
  right: 32%;
  width: 120px;
  --star-duration: 7.8s;
  --star-color: #fbbf24;
  --star-glow: #f59e0b;
  animation-delay: 5.4s;
}

.star-6 {
  top: 72%;
  right: 25%;
  width: 140px;
  --star-duration: 8.8s;
  --star-color: #10b981;
  --star-glow: #10b981;
  animation-delay: 3.6s;
}

/* Twinkling background stars */
.twinkle-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #ffffff;
  border-radius: 50%;
  animation: starTwinkle var(--twinkle-speed, 3.5s) ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0% { opacity: 0.12; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.4); box-shadow: 0 0 8px rgba(255, 255, 255, 0.9); }
  100% { opacity: 0.15; transform: scale(0.85); }
}

/* 2. DECORATIVE CYBER SQUARE FRAMES */
.cyber-frames-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.cyber-tech-square {
  position: absolute;
  border-radius: 14px;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.cyber-tech-square::before,
.cyber-tech-square::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
}

.square-frame-1 {
  width: 240px;
  height: 240px;
  top: 10%;
  left: 2%;
  border: 1px dashed rgba(6, 182, 212, 0.22);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.035) 0%, transparent 70%);
  animation: frameDriftA 14s ease-in-out infinite alternate;
}
.square-frame-1::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
}
.square-frame-1::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--accent-cyan);
  border-right: 2px solid var(--accent-cyan);
}

.square-frame-2 {
  width: 300px;
  height: 300px;
  bottom: 6%;
  right: 3%;
  border: 1px solid rgba(236, 72, 153, 0.18);
  background: radial-gradient(circle, rgba(236, 72, 153, 0.03) 0%, transparent 70%);
  animation: frameDriftB 16s ease-in-out infinite alternate;
}
.square-frame-2::before {
  top: -1px; right: -1px;
  border-top: 2px solid var(--accent-pink);
  border-right: 2px solid var(--accent-pink);
}
.square-frame-2::after {
  bottom: -1px; left: -1px;
  border-bottom: 2px solid var(--accent-pink);
  border-left: 2px solid var(--accent-pink);
}

.square-frame-3 {
  width: 160px;
  height: 160px;
  top: 22%;
  right: 16%;
  border: 1px dashed rgba(168, 85, 247, 0.2);
  animation: frameDriftA 11s ease-in-out infinite alternate;
}
.square-frame-3::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--accent-purple);
  border-left: 2px solid var(--accent-purple);
}

.square-frame-4 {
  width: 180px;
  height: 180px;
  bottom: 16%;
  left: 6%;
  border: 1px solid rgba(245, 158, 11, 0.16);
  animation: frameDriftB 13s ease-in-out infinite alternate;
}
.square-frame-4::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--accent-amber);
  border-right: 2px solid var(--accent-amber);
}

@keyframes frameDriftA {
  0% { transform: rotate(-8deg) translate(0, 0); }
  50% { transform: rotate(-5deg) translate(14px, -12px); }
  100% { transform: rotate(-10deg) translate(-10px, 10px); }
}

@keyframes frameDriftB {
  0% { transform: rotate(6deg) translate(0, 0); }
  50% { transform: rotate(9deg) translate(-16px, 14px); }
  100% { transform: rotate(4deg) translate(10px, -8px); }
}

/* HUD Corner Brackets around container */
.hud-corner-bracket {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 3;
  opacity: 0.65;
}

.hud-top-left {
  top: 1.5rem;
  left: 2rem;
  border-top: 2px solid var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
}

.hud-top-right {
  top: 1.5rem;
  right: 2rem;
  border-top: 2px solid var(--accent-pink);
  border-right: 2px solid var(--accent-pink);
}

.hud-bottom-left {
  bottom: 2rem;
  left: 2rem;
  border-bottom: 2px solid var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
}

.hud-bottom-right {
  bottom: 2rem;
  right: 2rem;
  border-bottom: 2px solid var(--accent-pink);
  border-right: 2px solid var(--accent-pink);
}

.hud-crosshair {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 3;
  user-select: none;
}

/* 3. ULTRA-SMOOTH SLIDING TABS & FORM TRANSITIONS */
.auth-tabs-nav {
  position: relative;
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.75rem;
  overflow: hidden;
}

/* Animated sliding pill indicator */
.auth-tab-slider {
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: 0.35rem;
  width: calc(50% - 0.35rem);
  background: var(--gradient-ai);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.4);
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.auth-tab-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 0.72rem 1rem;
  background: transparent !important;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease;
  font-family: inherit;
}

.auth-tab-btn.active {
  color: #ffffff;
  font-weight: 700;
  background: transparent !important;
  box-shadow: none !important;
}

.auth-tab-btn:hover {
  color: #ffffff;
}

.auth-tab-btn:active {
  transform: scale(0.98);
}

/* TAB CONTENT TRANSITION CONTAINER */
.auth-tab-viewport {
  position: relative;
  width: 100%;
  min-height: 290px;
}

.auth-tab-pane {
  width: 100%;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s;
  will-change: opacity, transform;
}

.auth-tab-pane.pane-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  position: relative;
  pointer-events: auto;
}

.auth-tab-pane.pane-inactive {
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px) scale(0.98);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

/* SMOOTH ALERT BOX */
#loginAlert {
  animation: alertSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes alertSlideDown {
  0% { opacity: 0; transform: translateY(-10px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* SMOOTH BUTTON & INPUT STATES */
.auth-input-field {
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-demo-item {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-demo-item:active {
  transform: scale(0.96) !important;
}

.auth-password-toggle {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.auth-password-toggle:hover {
  transform: scale(1.1);
}

.auth-password-toggle:active {
  transform: scale(0.92);
}

/* ==========================================================================
   GOOGLE AUTHENTICATION & SOCIAL LOGIN BUTTONS
   ========================================================================== */
.auth-divider-wrap {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
  text-align: center;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.auth-divider-text {
  padding: 0 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  user-select: none;
}

.btn-social-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-social-google::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.15) 0%, rgba(234, 67, 53, 0.1) 50%, rgba(52, 168, 83, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn-social-google:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(66, 133, 244, 0.45);
  box-shadow: 0 6px 24px rgba(66, 133, 244, 0.2), 0 0 16px rgba(234, 67, 53, 0.1);
  transform: translateY(-2px);
  color: #fff;
}

.btn-social-google:hover::before {
  opacity: 1;
}

.btn-social-google:active {
  transform: translateY(0) scale(0.98);
}

.btn-social-google svg {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-social-google span {
  position: relative;
  z-index: 1;
}

