@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&family=Inter:wght@400;500;600&display=swap');

@font-face {
    font-family: 'Space Age';
    src: url('Assets/space-age.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
  /* Color Palette - Deep Glow-Blue Aesthetic */
  --color-primary: #0047AB; /* Deep Blue base */
  --color-secondary: #0066FF; /* Vibrant Blue glow */
  --color-accent: #EFBF04; /* High-Energy Gold remains */
  
  /* Background & Surface Colors (Premium Deep Glow-Blue) */
  --color-bg: #020617; /* Extremely deep navy */
  --color-bg-gradient: radial-gradient(circle at 50% 50%, #0B1120 0%, #020617 100%);
  --color-surface: #0F172A; /* Rich slate blue */
  --color-surface-hover: rgba(15, 23, 42, 0.9);
  --color-border: rgba(0, 102, 255, 0.15);
  --color-border-hover: rgba(0, 102, 255, 0.3);
  --color-text: #F8FAFC; /* Cool White / Silver */
  --color-text-muted: #94A3B8;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-family: var(--font-body);

  /* Spacing & Layout */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 8rem;

  /* Effects (Intensive Blue Glows) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.2); /* Vibrant neon blue glow */
  --shadow-none: none;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 1s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg-gradient);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

h1 { font-size: clamp(3.5rem, 8vw, 5rem); letter-spacing: -0.03em; font-weight: 800; }
#typewriter { font-family: 'Space Age', sans-serif; text-transform: lowercase; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.3; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
p { font-size: 1.125rem; color: var(--color-text-muted); margin-bottom: var(--spacing-md); }

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

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

/* Navbar - Floating Pill Style */
.navbar-wrapper {
  position: fixed;
  top: 2rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  pointer-events: none; /* Let clicks pass through empty areas */
}

.navbar {
  pointer-events: auto; /* Re-enable clicks on the nav itself */
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.8rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-medium);
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 102, 255, 0.1);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
}

.navbar-nav {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
  margin: 0 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

/* Pill Tags */
@property --pill-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --pill-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  font-family: var(--font-heading);
  text-transform: capitalize;
  position: relative;
  background: rgba(2, 6, 23, 0.9);
  margin-bottom: 2rem;
  z-index: 1;
  /* Glowing border wrapper */
  border: 1px solid transparent;
  background-clip: padding-box;
}

.pill-tag::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px; /* The border thickness */
  background: conic-gradient(from var(--pill-angle), 
    transparent 70%, 
    var(--color-accent) 90%, 
    transparent 100%);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: rotate-pill-border 4s linear infinite;
  z-index: -1;
  pointer-events: none;
}

/* Subtle outer glow that matches the border */
.pill-tag::after {
  content: "";
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle at center, var(--color-accent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -2;
  filter: blur(20px);
}

.pill-tag:hover::after {
  opacity: 0.15;
}

@keyframes rotate-pill-border {
  to { --pill-angle: 360deg; }
}

.pill-tag-highlight {
  color: var(--color-accent);
  margin-right: 0.6rem;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent; /* default transparent border */
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-accent);
  color: #000;
  box-shadow: 0 0 30px rgba(239, 191, 4, 0.4);
  border-color: var(--color-accent);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #128C7E;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  background: #128C7E;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.btn-outline {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--color-border);
  color: #fff;
}

.btn-outline:hover {
  background: var(--color-surface);
  border-color: var(--color-secondary);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
}

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

/* Cards (Glassmorphism -> Solid dark with border) */
.glass-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.glass-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.glass-card .icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 102, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: all var(--transition-fast);
  border: 1px solid rgba(0, 102, 255, 0.2);
}

.glass-card:hover .icon-wrapper {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
  box-shadow: 0 0 20px var(--color-secondary);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

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

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-medium);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Background Glows */
.bg-dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

@keyframes mesh-1 {
  0% { transform: translateY(0) translateX(0) scale(1); }
  33% { transform: translateY(-5%) translateX(5%) scale(1.1); }
  66% { transform: translateY(5%) translateX(-2%) scale(1.05); }
  100% { transform: translateY(0) translateX(0) scale(1); }
}

@keyframes mesh-2 {
  0% { transform: translateY(0) translateX(0) scale(1); }
  33% { transform: translateY(5%) translateX(-5%) scale(1.05); }
  66% { transform: translateY(-2%) translateX(3%) scale(1.1); }
  100% { transform: translateY(0) translateX(0) scale(1); }
}

.hero-glow {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: var(--color-bg);
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.hero-glow::before,
.hero-glow::after {
  content: '';
  position: absolute;
  width: 150vw;
  height: 150vh;
  top: -25vh;
  left: -25vw;
  filter: blur(100px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-glow::before {
  background: radial-gradient(circle at 30% 30%, rgba(0, 71, 171, 0.4) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(0, 102, 255, 0.3) 0%, transparent 60%);
  animation: mesh-1 15s ease-in-out infinite;
}

.hero-glow::after {
  background: radial-gradient(circle at 60% 40%, rgba(239, 191, 4, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 40% 80%, rgba(0, 102, 255, 0.25) 0%, transparent 50%);
  animation: mesh-2 20s ease-in-out infinite reverse;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Above video, below overlay */
  pointer-events: none;
}

/* Reverting Hero Video to Dark mode presence */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  object-fit: cover;
  opacity: 0.15;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 20%, var(--color-bg) 100%);
  z-index: 2; /* Above canvas */
  pointer-events: none;
}

/* Footer */
footer {
  background: var(--color-bg);
  background: var(--color-bg-gradient);
  border-top: 1px solid rgba(0, 102, 255, 0.5);
  box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.8), 0 -5px 15px rgba(0, 102, 255, 0.2);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: 0;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.footer-col p {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: #FFFFFF;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  opacity: 0.8;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  opacity: 1;
}

/* Footer Logo/Brand area */
.footer-col .navbar-brand {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.footer-bottom p {
  color: #FFFFFF;
  margin: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 0.95rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-family);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(127, 86, 217, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 3rem; }
}

/* Hidden on desktop, shown only inside mobile dropdown */
.nav-mobile-whatsapp {
  display: none;
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-xxl: 4rem;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .navbar {
    padding: 0.8rem 1.2rem;
    position: relative;
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  /* Hide CTA buttons in navbar on mobile — moved inside dropdown */
  .navbar > a.btn {
    display: none !important;
  }

  .navbar-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    flex-direction: column;
    gap: 0;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  }

  .navbar-nav.open {
    display: flex;
  }

  .navbar-nav li {
    width: 100%;
  }

  .navbar-nav .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background: rgba(0, 102, 255, 0.08);
    color: var(--color-accent);
  }

  /* WhatsApp button inside dropdown */
  .nav-mobile-whatsapp {
    display: block;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
  }

  .nav-mobile-whatsapp a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: #25D366;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    justify-content: center;
  }

  .nav-mobile-whatsapp a:hover {
    background: #128C7E;
    color: #fff;
  }
}

/* Animated UI Mockup Dashboard */
.mockup-dashboard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: auto;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.5);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-dot.red { background-color: #ff5f56; }
.mockup-dot.yellow { background-color: #ffbd2e; }
.mockup-dot.green { background-color: #27c93f; }

.mockup-content {
  padding: 1.5rem 2rem 2rem;
  position: relative;
}

.mockup-bar {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.mockup-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: shine 3s infinite linear;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

.mockup-chart-container {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  height: 100%;
  margin-top: 0;
}

.mockup-chart-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 0.8rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.mockup-chart-bar {
  width: 100%;
  height: var(--bar-height);
  background: rgba(0, 71, 171, 0.1);
  border: 1px solid rgba(0, 71, 171, 0.3);
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
  animation: growUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform-origin: bottom;
  transform: scaleY(0);
  border-bottom: none;
}

.mockup-chart-bar-group.highlighted .mockup-chart-bar {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(239, 191, 4, 0.4);
}

.mockup-x-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.mockup-chart-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0, 71, 171, 0.4), transparent);
  opacity: 0.5;
}

@keyframes growUp {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

.mockup-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  box-shadow: 0 0 15px var(--color-primary), 0 0 30px var(--color-primary);
  animation: scan 4s ease-in-out infinite alternate;
  z-index: 20;
}

@keyframes scan {
  0% { top: 15%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 85%; opacity: 0; }
}

/* Stat Cards */
.stat-card {
  text-align: center; padding: 3rem 2rem; background: var(--color-surface);
  border-radius: var(--radius-md); border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}
.stat-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.counter-value {
  font-size: 3.5rem; font-weight: 800;
  color: var(--color-text); margin-bottom: 0.5rem;
  display: inline-block; letter-spacing: -0.05em;
}

@keyframes pulse-outer-glow {
  0% { box-shadow: 0 0 30px rgba(0, 102, 255, 0.15); }
  50% { box-shadow: 0 0 70px rgba(0, 102, 255, 0.4); }
  100% { box-shadow: 0 0 30px rgba(0, 102, 255, 0.15); }
}

.pulse-glow {
  animation: pulse-outer-glow 4s infinite ease-in-out;
}

.btn-shine-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-shine-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.btn-shine-hover:hover {
  transform: translateY(-5px) scale(1.05);
}

.btn-shine-hover:hover::after {
  left: 200%;
}

/* Flip Cards */
.flip-card {
  perspective: 1500px;
  height: 280px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.vm-card-front.glass-card:hover {
  transform: none;
  border-color: var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.flip-hint {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  white-space: nowrap;
}

.flip-card-front, .flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-card-front {
  transform: rotateY(0deg); /* Explicit for Safari/iOS */
}

.flip-card-front .icon-wrapper {
  width: 64px;
  height: 64px;
  font-size: 2rem;
  margin-bottom: 1.5rem !important;
}

.flip-card-back {
  transform: rotateY(180deg);
  padding: 2.5rem;
  border-color: var(--color-secondary) !important;
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
}
