/* ==========================================================================
   ALIEN STREAMING - SYSTEM DESIGN & STYLES (NEBULA MARKET THEME)
   ========================================================================== */

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

/* --- Root Variables & Theme System --- */
:root {
  /* Color Palette - HSL Tailored for Space Nebula Aesthetics */
  --bg-deep: hsl(260, 35%, 3%);
  --bg-darker: hsl(260, 30%, 5%);
  --bg-card: hsla(260, 20%, 6%, 0.92);
  --bg-card-hover: hsla(260, 20%, 9%, 0.95);
  --bg-modal: hsla(260, 20%, 4%, 0.65);
  --bg-navbar: hsla(260, 20%, 3%, 0.55);
  
  /* Neon Accent Colors */
  --color-primary: hsl(142, 100%, 55%);     /* Radiant Alien/Neon Green */
  --color-secondary: hsl(190, 100%, 50%);   /* Electric Cyan */
  --color-accent: hsl(88, 100%, 50%);      /* Lime Accent */
  
  /* Text Colors */
  --text-main: hsl(0, 0%, 98%);
  --text-muted: hsl(260, 15%, 75%);
  --text-dark: hsl(260, 30%, 15%);
  
  /* Glows & Gradients */
  --nebula-glow-1: radial-gradient(circle at 10% 20%, hsla(142, 100%, 55%, 0.15) 0%, transparent 45%);
  --nebula-glow-2: radial-gradient(circle at 90% 80%, hsla(190, 100%, 50%, 0.12) 0%, transparent 50%);
  --card-border-glow: linear-gradient(135deg, hsla(142, 100%, 55%, 0.3) 0%, hsla(190, 100%, 50%, 0.2) 100%);
  --card-border-hover: linear-gradient(135deg, hsl(142, 100%, 55%) 0%, hsl(190, 100%, 50%) 100%);
  --gradient-text: linear-gradient(135deg, hsl(0, 0%, 100%) 30%, hsl(142, 100%, 80%) 100%);
  --gradient-brand: linear-gradient(135deg, hsl(142, 100%, 55%) 0%, hsl(190, 100%, 50%) 100%);
  
  /* Fonts & Shadows */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-glow: 0 0 30px hsla(142, 100%, 55%, 0.25);
  --shadow-glow-cyan: 0 0 30px hsla(190, 100%, 50%, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  
  /* Animation Timing - iOS 26 Apple Spring Physics */
  --transition-smooth: all 0.5s cubic-bezier(0.15, 0.85, 0.35, 1);
  --transition-fast: all 0.2s cubic-bezier(0.15, 0.85, 0.35, 1);
  
  /* Grid background settings */
  --grid-line: rgba(255, 255, 255, 0.02);
}

/* Light Theme overrides */
[data-theme="light"] {
  --bg-deep: hsl(142, 15%, 96%);
  --bg-darker: hsl(142, 12%, 92%);
  --bg-card: hsla(142, 10%, 100%, 0.95);
  --bg-card-hover: hsla(142, 10%, 100%, 0.98);
  --bg-modal: hsla(142, 15%, 98%, 0.98);
  --bg-navbar: rgba(240, 245, 242, 0.7);
  
  /* Deeper colors for contrast in Light Theme */
  --color-primary: hsl(142, 85%, 32%);
  --color-secondary: hsl(190, 90%, 40%);
  --color-accent: hsl(88, 85%, 42%);
  
  --text-main: hsl(142, 35%, 12%);
  --text-muted: hsl(142, 12%, 42%);
  --text-dark: hsl(142, 30%, 8%);
  
  --nebula-glow-1: radial-gradient(circle at 10% 20%, hsla(142, 100%, 55%, 0.08) 0%, transparent 45%);
  --nebula-glow-2: radial-gradient(circle at 90% 80%, hsla(190, 100%, 50%, 0.06) 0%, transparent 50%);
  --card-border-glow: linear-gradient(135deg, hsla(142, 100%, 55%, 0.15) 0%, hsla(190, 100%, 40%, 0.1) 100%);
  --card-border-hover: linear-gradient(135deg, hsl(142, 100%, 55%) 0%, hsl(190, 100%, 40%) 100%);
  --gradient-text: linear-gradient(135deg, hsl(142, 35%, 12%) 30%, hsl(142, 85%, 32%) 100%);
  --gradient-brand: linear-gradient(135deg, hsl(142, 85%, 32%) 0%, hsl(190, 100%, 40%) 100%);
  
  --shadow-glow: 0 0 30px hsla(142, 100%, 55%, 0.15);
  --shadow-glow-cyan: 0 0 30px hsla(190, 100%, 50%, 0.15);
  --shadow-card: 0 15px 30px -10px rgba(5, 20, 10, 0.08);
  
  --grid-line: rgba(5, 20, 10, 0.03);
}

/* Light Theme Component Overrides for Controls and Filters */
[data-theme="light"] .catalog-controls {
  background: hsla(142, 15%, 98%, 0.7);
  border-color: hsla(142, 10%, 80%, 0.4);
  box-shadow: 0 15px 30px -10px rgba(5, 20, 10, 0.04);
}

[data-theme="light"] .search-input {
  border-color: hsla(142, 10%, 80%, 0.6);
  background: var(--bg-deep);
  color: var(--text-dark);
}

[data-theme="light"] .search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px hsla(142, 100%, 35%, 0.15);
}

[data-theme="light"] .filter-tabs {
  background: hsla(142, 15%, 90%, 0.6);
  border-color: hsla(142, 10%, 80%, 0.4);
}

[data-theme="light"] .filter-tab {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
}

[data-theme="light"] .filter-tab:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-main);
}

[data-theme="light"] .filter-tab.active {
  background: #ffffff;
  color: var(--color-primary) !important;
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.45); /* Frosty light glass */
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 45px -10px rgba(5, 20, 10, 0.04), 
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 15px 50px -15px rgba(5, 20, 10, 0.08), 
              0 0 25px hsla(142, 100%, 35%, 0.02),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .nav-links {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link:hover {
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-main);
}

[data-theme="light"] .nav-link.active {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 15px rgba(5, 20, 10, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--color-primary) !important;
}

[data-theme="light"] .features-section {
  background: linear-gradient(180deg, transparent 0%, hsla(142, 100%, 35%, 0.03) 50%, transparent 100%);
}

[data-theme="light"] .faq-wrapper {
  border-color: hsla(142, 10%, 80%, 0.4);
}

[data-theme="light"] .hero-tag {
  background: hsla(142, 100%, 35%, 0.06);
  border-color: hsla(142, 100%, 35%, 0.15);
  box-shadow: inset 0 0 8px hsla(142, 100%, 35%, 0.05);
}

[data-theme="light"] .feature-card {
  background: var(--bg-card);
  border-color: hsla(142, 10%, 80%, 0.5);
  box-shadow: 0 15px 30px -10px rgba(5, 20, 10, 0.04);
}

[data-theme="light"] .feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--color-primary);
}

[data-theme="light"] .feature-icon-wrapper {
  background: hsla(142, 100%, 35%, 0.08);
  border-color: hsla(142, 100%, 35%, 0.2);
  color: var(--color-primary);
}

[data-theme="light"] .faq-item {
  border-color: hsla(142, 10%, 80%, 0.5);
  box-shadow: 0 5px 15px -5px rgba(5, 20, 10, 0.02);
}

[data-theme="light"] .faq-item:hover {
  border-color: hsla(142, 30%, 70%, 0.6);
  box-shadow: 0 8px 25px -8px rgba(5, 20, 10, 0.05);
}

[data-theme="light"] .faq-item.active {
  border-color: var(--color-primary);
}

[data-theme="light"] .faq-content {
  border-top-color: hsla(142, 10%, 80%, 0.3);
}

[data-theme="light"] .contact-card {
  background: radial-gradient(circle at top right, hsla(142, 100%, 35%, 0.06) 0%, transparent 60%), var(--bg-card);
  border-color: hsla(142, 10%, 80%, 0.5);
  box-shadow: 0 20px 40px -15px rgba(5, 20, 10, 0.06);
}

[data-theme="light"] .product-card {
  background: var(--bg-card) !important;
  border-color: hsla(142, 10%, 80%, 0.5) !important;
  color: var(--text-main) !important;
  box-shadow: 0 15px 30px -10px rgba(5, 20, 10, 0.04) !important;
}

[data-theme="light"] .product-card:hover {
  background: var(--bg-card-hover) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 25px 50px -12px rgba(5, 20, 10, 0.08), 0 0 30px hsla(142, 100%, 35%, 0.1) !important;
}

[data-theme="light"] .product-title {
  color: var(--text-main) !important;
}

[data-theme="light"] .product-card:hover .product-title {
  color: var(--color-primary) !important;
}

[data-theme="light"] .product-desc {
  color: var(--text-muted) !important;
}

[data-theme="light"] .price-label {
  color: var(--text-muted) !important;
}

[data-theme="light"] .price-value {
  color: var(--color-primary) !important;
}

[data-theme="light"] .btn-card {
  background: hsla(142, 100%, 35%, 0.08) !important;
  border: 1px solid hsla(142, 100%, 35%, 0.2) !important;
  color: var(--color-primary) !important;
}

[data-theme="light"] .product-card:hover .btn-card {
  background: var(--gradient-brand) !important;
  color: var(--bg-deep) !important;
  border-color: transparent !important;
  box-shadow: 0 0 20px hsla(142, 100%, 35%, 0.25) !important;
}

[data-theme="light"] .card-img-wrapper {
  border-bottom-color: hsla(142, 10%, 80%, 0.3) !important;
}

[data-theme="light"] .card-footer {
  border-top-color: hsla(142, 10%, 80%, 0.3) !important;
}

[data-theme="light"] .modal-guarantees {
  background: hsla(142, 10%, 92%, 0.55) !important;
}

/* Light Theme secondary button contrast fix (e.g. Hablar con un Asesor button) */
[data-theme="light"] .btn-secondary {
  background: hsla(142, 10%, 90%, 0.6) !important;
  color: var(--text-main) !important;
  border: 1px solid hsla(142, 10%, 80%, 0.5) !important;
  backdrop-filter: blur(10px) !important;
}

[data-theme="light"] .btn-secondary:hover {
  background: hsla(142, 10%, 85%, 0.8) !important;
  border-color: var(--color-primary) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 0 25px hsla(142, 100%, 35%, 0.15) !important;
}


/* --- Base Resets & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Interactive Nebula Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    var(--nebula-glow-1),
    var(--nebula-glow-2);
  background-size: cover;
  z-index: -2;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: hsla(280, 100%, 65%, 0.2);
  border-radius: 5px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: hsla(280, 100%, 65%, 0.5);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* --- App Container & Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Header Section & Navbar --- */
.navbar {
  position: sticky;
  top: 1.5rem;
  z-index: 100;
  margin: 0 auto;
  width: 94%;
  max-width: 1240px;
  border-radius: 99px;
  background: rgba(13, 8, 24, 0.28);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 45px -10px rgba(0, 0, 0, 0.5), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 1rem 2.5rem;
  transition: top var(--transition-smooth), width var(--transition-smooth), padding var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth), backdrop-filter var(--transition-smooth), box-shadow var(--transition-smooth), border-radius var(--transition-smooth);
}

.navbar.scrolled {
  top: 0.8rem;
  width: 90%;
  padding: 0.65rem 2.2rem;
  background: rgba(13, 8, 24, 0.5);
  backdrop-filter: blur(32px) saturate(220%);
  -webkit-backdrop-filter: blur(32px) saturate(220%);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 15px 50px -15px rgba(0, 0, 0, 0.7), 
              0 0 25px hsla(142, 100%, 55%, 0.04),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .logo-img {
  height: 58px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
}

.logo-img {
  height: 76px; /* Increased from 72px for outstanding visual brand presence */
  width: auto;
  max-width: 100%;
  display: block;
  transition: var(--transition-smooth);
}

.logo:hover .logo-img {
  animation: logoPulse 1.5s infinite alternate ease-in-out;
}

/* Footer Logo Styling */
.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.footer-logo .logo-img {
  height: 76px; /* Increased from 62px for strong branding in footer */
}

.footer-logo:hover .logo-img {
  animation: logoPulse 1.5s infinite alternate ease-in-out;
}

/* Theme Adaptive Logo Toggling */
[data-theme="dark"] .logo-dark-theme-hidden {
  display: none !important;
}

[data-theme="light"] .logo-light-theme-hidden {
  display: none !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-toggle-btn {
  background: hsla(260, 20%, 15%, 0.6);
  border: 1px solid hsla(260, 20%, 30%, 0.4);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  background: hsla(260, 20%, 25%, 0.8);
  border-color: var(--color-secondary);
  box-shadow: 0 0 15px hsla(190, 100%, 50%, 0.25);
  transform: scale(1.05);
}

[data-theme="light"] .theme-toggle-btn {
  background: hsla(260, 20%, 92%, 0.8);
  border-color: hsla(260, 20%, 80%, 0.6);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: hsla(260, 20%, 88%, 0.9);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px hsla(280, 100%, 65%, 0.15);
}

#theme-icon-sun {
  display: none;
}

#theme-icon-moon {
  display: block;
}

[data-theme="light"] #theme-icon-sun {
  display: block;
}

[data-theme="light"] #theme-icon-moon {
  display: none;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
  background: rgba(13, 8, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px;
  border-radius: 99px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-link {
  font-size: 1.0rem; /* Increased size for a grand, clear presence */
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.7rem 1.6rem;
  border-radius: 99px;
  border: 1px solid transparent;
  position: relative;
  transition: var(--transition-smooth);
}

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

.nav-link.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
  display: none !important; /* Discarded underline bar for dynamic 3D segment controls */
}

.nav-btn {
  background: var(--gradient-brand);
  color: var(--bg-deep) !important;
  font-weight: 700 !important;
  font-family: var(--font-display);
  padding: 0.7rem 1.6rem; /* Same padding to align perfectly in menu track */
  border-radius: 99px;
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.nav-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px hsla(280, 100%, 65%, 0.6);
}

.nav-link.nav-btn:hover,
.nav-link.nav-btn.active {
  background: var(--gradient-brand) !important;
  color: var(--bg-deep) !important;
}

.nav-link.nav-btn.active::after {
  display: none !important;
}

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

/* --- Hero / Welcome Section --- */
.hero {
  padding: 8rem 0 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  filter: blur(180px);
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  animation: pulseGlow 12s infinite alternate ease-in-out;
  will-change: transform, opacity;
}

@keyframes pulseGlow {
  0% { transform: translate3d(-50%, -50%, 0) scale(1); opacity: 0.2; }
  100% { transform: translate3d(-50%, -50%, 0) scale(1.3); opacity: 0.35; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(280, 100%, 65%, 0.1);
  border: 1px solid hsla(280, 100%, 65%, 0.3);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  box-shadow: inset 0 0 8px rgba(168, 85, 247, 0.1);
  animation: pulseBorder 2s infinite alternate;
}

@keyframes pulseBorder {
  0% { border-color: hsla(280, 100%, 65%, 0.3); }
  100% { border-color: hsla(190, 100%, 50%, 0.6); box-shadow: 0 0 10px hsla(190, 100%, 50%, 0.2); }
}

.hero h2 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  text-decoration: none !important;
  border-bottom: none !important;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --- Hero App Store Editorial Widget Card --- */
.hero-app-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  padding: 4.5rem 3.5rem;
  backdrop-filter: blur(25px) saturate(210%);
  -webkit-backdrop-filter: blur(25px) saturate(210%);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 50px hsla(280, 100%, 65%, 0.1);
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  transition: var(--transition-smooth);
}

.hero-app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  padding: 1.5px;
  background: linear-gradient(135deg, hsla(142, 100%, 55%, 0.25) 0%, hsla(190, 100%, 50%, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

[data-theme="light"] .hero-app-card {
  background: hsla(142, 10%, 100%, 0.7);
  border-color: hsla(142, 10%, 80%, 0.4);
  box-shadow: 0 20px 55px -10px rgba(5, 20, 10, 0.06);
}

[data-theme="light"] .hero-app-card::before {
  background: linear-gradient(135deg, hsla(142, 100%, 35%, 0.15) 0%, hsla(190, 100%, 40%, 0.05) 100%);
}

.hero-app-card h2 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-app-card p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
}

/* --- iOS 26 Bottom Tab Bar (Mobile Navigation) --- */
.mobile-tab-bar {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  will-change: transform, box-shadow;
}

.btn i, .btn svg, .nav-btn i, .nav-btn svg, .btn-card i, .btn-card svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--bg-deep);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px hsla(280, 100%, 65%, 0.6);
}

.btn-secondary {
  background: hsla(260, 20%, 15%, 0.6);
  color: var(--text-main);
  border: 1px solid hsla(260, 20%, 30%, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: hsla(260, 20%, 25%, 0.8);
  border-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 0 25px hsla(190, 100%, 50%, 0.3);
}

/* --- Catalog Controls (Search & Filters) --- */
.catalog-controls {
  margin-bottom: 4rem;
  background: hsla(260, 20%, 6%, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 2rem;
  backdrop-filter: blur(25px) saturate(210%);
  -webkit-backdrop-filter: blur(25px) saturate(210%);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.search-box-wrapper {
  position: relative;
  width: 100%;
}

.search-box-wrapper i, .search-box-wrapper svg {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  pointer-events: none;
  transition: var(--transition-fast);
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  padding: 1.1rem 1.5rem 1.1rem 3.5rem;
  font-family: var(--font-body);
  color: var(--text-main);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(0, 196, 204, 0.15);
}

.search-input:focus + i, .search-input:focus + svg {
  color: var(--color-secondary);
  filter: drop-shadow(0 0 5px var(--color-secondary));
}

.filter-tabs {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  list-style: none;
  background: hsla(260, 20%, 3%, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 99px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.filter-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.filter-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* --- Product Grid & Cards --- */
.products-section {
  padding-bottom: 8rem;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h3 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.2rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-card);
  /* Removed expensive backdrop-filter from cards to achieve ultra-fluid 60fps scrolling on both desktop and mobile */
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
  /* Advanced rendering containment for extreme performance (prevents full-page DOM repaints and reflows) */
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: auto 380px;
}

/* Glowing Border Effect */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: var(--card-border-glow);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.025);
  background: var(--bg-card-hover);
  box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.95), 0 0 40px hsla(280, 100%, 65%, 0.25);
}

.product-card:hover::before {
  background: var(--card-border-hover);
}

.card-img-wrapper {
  height: 170px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid hsla(260, 20%, 20%, 0.3);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img {
  transform: scale(1.08) rotate(1deg);
}

/* Card Fallback Icon */
.card-fallback-icon {
  font-size: 4rem;
  color: var(--color-primary);
  filter: drop-shadow(0 0 15px hsla(280, 100%, 65%, 0.4));
  transition: var(--transition-smooth);
}

.product-card:hover .card-fallback-icon {
  transform: scale(1.15);
  color: var(--color-secondary);
  filter: drop-shadow(0 0 15px hsla(190, 100%, 50%, 0.5));
}

.badge-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: hsla(260, 30%, 4%, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid hsla(260, 20%, 30%, 0.5);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  z-index: 2;
}

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

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

.product-card:hover .product-title {
  color: var(--color-secondary);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid hsla(260, 20%, 20%, 0.3);
  padding-top: 1.25rem;
  margin-top: auto;
}

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

.price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-secondary);
}

.btn-card {
  background: hsla(280, 100%, 65%, 0.1);
  border: 1px solid hsla(280, 100%, 65%, 0.3);
  color: var(--text-main);
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
}

.btn-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

.product-card:hover .btn-card {
  background: var(--gradient-brand);
  color: var(--bg-deep);
  border-color: transparent;
  box-shadow: 0 0 15px hsla(280, 100%, 65%, 0.4);
}

.product-card:hover .btn-card::after {
  left: 150%;
  transition: all 0.75s ease-in-out;
}

/* Out of Stock Button Styles */
.btn-card.out-of-stock {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text-muted) !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  box-shadow: none !important;
  pointer-events: none;
}

.product-card:hover .btn-card.out-of-stock {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-muted) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  transform: none !important;
}

.product-card:hover .btn-card.out-of-stock::after {
  display: none !important;
}


/* Empty State */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px dashed hsla(260, 20%, 30%, 0.4);
}

.no-results i, .no-results svg {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.no-results h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.no-results p {
  color: var(--text-muted);
}

/* --- Features / Why Choose Us Section --- */
.features-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 5, 20, 0.4) 50%, transparent 100%);
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  text-align: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  will-change: transform, box-shadow;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: linear-gradient(135deg, hsla(142, 100%, 55%, 0.2) 0%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px hsla(142, 100%, 55%, 0.15);
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem auto;
  background: hsla(280, 100%, 65%, 0.1);
  border: 1px solid hsla(280, 100%, 65%, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--gradient-brand);
  color: var(--bg-deep);
  transform: scale(1.05) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.feature-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  padding: 4px;
  backdrop-filter: blur(25px) saturate(210%);
  -webkit-backdrop-filter: blur(25px) saturate(210%);
  box-shadow: var(--shadow-card);
}

.faq-item {
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  background: transparent !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
  transition: var(--transition-smooth);
}

.faq-item:last-child {
  border-bottom: none !important;
}

.faq-item:first-child {
  border-radius: 20px 20px 0 0 !important;
}

.faq-item:last-child {
  border-radius: 0 0 20px 20px !important;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.02) !important;
}

.faq-header {
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.faq-item:hover .faq-header h4 {
  color: var(--color-secondary);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.01) !important;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid hsla(260, 20%, 20%, 0.1);
  padding-top: 1rem;
}

/* --- Contact & Social Links Section --- */
.contact-section {
  padding: 6rem 0 8rem 0;
}

.contact-card {
  background: radial-gradient(circle at top right, hsla(280, 100%, 65%, 0.1) 0%, transparent 60%), var(--bg-card);
  border: 1px solid hsla(260, 20%, 20%, 0.5);
  border-radius: 32px;
  padding: 4rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h3 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: hsla(260, 20%, 15%, 0.5);
  border: 1px solid hsla(260, 20%, 30%, 0.3);
  padding: 1.25rem 2rem;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.social-link i, .social-link svg {
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-link.whatsapp {
  border-color: hsla(142, 70%, 45%, 0.3);
  color: hsl(142, 70%, 75%);
}
.social-link.whatsapp:hover {
  background: hsl(142, 70%, 45%);
  color: var(--bg-deep);
  border-color: transparent;
  box-shadow: 0 0 30px hsla(142, 70%, 45%, 0.4);
  transform: translateX(5px);
}

.social-link.instagram {
  border-color: hsla(330, 80%, 55%, 0.3);
  color: hsl(330, 80%, 75%);
}
.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--text-main);
  border-color: transparent;
  box-shadow: 0 0 30px hsla(330, 80%, 55%, 0.4);
  transform: translateX(5px);
}

.social-link.email {
  border-color: hsla(5, 80%, 55%, 0.3);
  color: hsl(5, 85%, 75%);
}
.social-link.email:hover {
  background: hsl(5, 80%, 50%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 30px hsla(5, 80%, 50%, 0.4);
  transform: translateX(5px);
}

/* Contact Footer Notice */
.contact-notice {
  background: hsla(88, 100%, 50%, 0.05);
  border: 1px dashed hsl(88, 100%, 50%);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  animation: borderPulse 3s infinite alternate;
}

@keyframes borderPulse {
  0% { box-shadow: 0 0 5px hsla(88, 100%, 50%, 0.1); }
  100% { box-shadow: 0 0 20px hsla(88, 100%, 50%, 0.3); }
}

@keyframes logoPulse {
  0% { transform: scale(1.02); filter: drop-shadow(0 0 8px var(--color-primary-glow, rgba(168, 85, 247, 0.35))); }
  100% { transform: scale(1.08); filter: drop-shadow(0 0 22px var(--color-primary, #a855f7)); }
}

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

@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(1.5); opacity: 0; }
}

.contact-notice i, .contact-notice svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: hsl(88, 100%, 50%);
  filter: drop-shadow(0 0 8px hsl(88, 100%, 50%));
}

.contact-notice-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-main);
}

/* --- Purchase Modal --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 2, 10, 0.85);
  backdrop-filter: blur(10px);
}

.modal-container {
  background: var(--bg-modal);
  border: 1px solid hsla(260, 20%, 30%, 0.5);
  border-radius: 24px;
  width: 90%;
  max-width: 550px;
  padding: 2.5rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px hsla(280, 100%, 65%, 0.15);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-grab-handle {
  display: none;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: hsla(260, 20%, 15%, 0.6);
  border: 1px solid hsla(260, 20%, 30%, 0.4);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
  background: hsla(260, 20%, 25%, 0.8);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.modal-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
}

.modal-icon-fallback {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: hsla(280, 100%, 65%, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
}

.modal-title h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.modal-title p {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
}

.modal-body {
  margin-bottom: 2rem;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal-guarantees {
  background: hsla(260, 25%, 3%, 0.6);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.modal-guarantee-item i, .modal-guarantee-item svg {
  color: var(--color-secondary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.modal-footer {
  display: flex;
  gap: 1rem;
}

.modal-footer .btn {
  flex: 1;
}

/* --- Footer --- */
.footer {
  background: hsl(260, 35%, 1%);
  border-top: 1px solid hsla(260, 20%, 20%, 0.5);
  padding: 4rem 0 2rem 0;
  position: relative;
  overflow: hidden;
  /* Always force dark theme variables inside footer for perfect legibility */
  --text-main: hsl(0, 0%, 98%);
  --text-muted: hsl(260, 15%, 75%);
  --bg-deep: hsl(260, 35%, 3%);
  --bg-darker: hsl(260, 30%, 5%);
}

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

.footer-brand h4 {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid hsla(260, 20%, 15%, 0.5);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-col h5 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-brand);
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-fast);
}

.footer-link i {
  font-size: 1rem;
  width: 18px;
  text-align: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.footer-link:hover i {
  color: var(--color-secondary);
}

.footer-link:hover i.fa-whatsapp {
  color: hsl(142, 70%, 55%);
}

.footer-link:hover i.fa-instagram {
  color: hsl(330, 80%, 65%);
}

.footer-link:hover i.fa-envelope {
  color: hsl(5, 80%, 60%);
}

/* Floating WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: hsl(142, 70%, 45%);
  color: var(--bg-deep);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px hsla(142, 70%, 45%, 0.4);
  z-index: 99;
  transition: var(--transition-smooth);
}

.whatsapp-fab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  opacity: 0.65;
  animation: fabPulse 2.5s infinite ease-out;
  will-change: transform, opacity;
}

.whatsapp-fab i, .whatsapp-fab svg {
  width: 30px;
  height: 30px;
  font-size: 30px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-deep);
}

.whatsapp-fab:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px hsla(142, 70%, 45%, 0.6);
  background: hsl(142, 70%, 50%);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 3.2rem;
  }
  
  .contact-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    top: 1rem;
    width: 95%;
    padding: 0.6rem 1.5rem;
  }
  
  .navbar.scrolled {
    top: 0.5rem;
    width: 92%;
    padding: 0.45rem 1.2rem;
  }
  
  .navbar.scrolled .logo-img {
    height: 46px;
  }
  
  .menu-toggle {
    display: none !important; /* Hide hamburger menu on mobile */
  }
  
  .nav-links {
    display: none !important; /* Hide mobile drop-down menu since bottom tab bar takes over */
  }

  /* Bottom Tab Bar Styling on Mobile */
  .mobile-tab-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: hsla(260, 25%, 3%, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(210%);
    -webkit-backdrop-filter: blur(30px) saturate(210%);
    z-index: 150;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 0); /* Support iOS home indicator safe area */
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  }

  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    font-family: var(--font-display);
    gap: 4px;
    width: 20%;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
  }

  .tab-item i, .tab-item svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
  }

  .tab-item:hover, .tab-item.active {
    color: var(--color-primary);
  }

  .tab-item.active i, .tab-item.active svg {
    transform: scale(1.15);
    color: var(--color-primary);
    filter: drop-shadow(0 0 8px hsla(142, 100%, 55%, 0.5));
  }

  .tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-primary);
  }

  [data-theme="light"] .mobile-tab-bar {
    background: rgba(240, 245, 242, 0.85);
    border-top-color: hsla(142, 10%, 80%, 0.4);
    box-shadow: 0 -5px 20px rgba(5, 20, 10, 0.04);
  }

  [data-theme="light"] .tab-item.active i, [data-theme="light"] .tab-item.active svg {
    filter: drop-shadow(0 0 6px hsla(142, 100%, 35%, 0.3));
  }
  
  .hero {
    padding: 4rem 0 2rem 0;
  }
  
  .hero-app-card {
    padding: 3rem 1.5rem !important;
    border-radius: 24px !important;
  }

  .hero-app-card h2 {
    font-size: 2.1rem !important;
    line-height: 1.2;
  }
  
  .hero-app-card p {
    font-size: 0.95rem !important;
    margin-bottom: 2rem !important;
  }
  
  .catalog-controls {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .whatsapp-fab {
    bottom: 5.5rem; /* Raised to not conflict with bottom tab bar! */
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }

  .whatsapp-fab i, .whatsapp-fab svg {
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* iOS 26 Bottom Sheet Modal */
  .modal {
    align-items: flex-end;
  }

  .modal-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 28px 28px 0 0 !important;
    padding: 1.75rem 1.5rem 2.5rem 1.5rem !important;
    transform: translateY(100%) !important;
    transition: transform 0.4s cubic-bezier(0.15, 0.85, 0.35, 1) !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }

  .modal.active .modal-container {
    transform: translateY(0) !important;
  }

  .modal-grab-handle {
    display: block;
    width: 40px;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 99px;
    margin: 0 auto 1.25rem auto;
    flex-shrink: 0;
  }

  [data-theme="light"] .modal-grab-handle {
    background: rgba(0, 0, 0, 0.15);
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
  }
}

/* Phones & Very Small Viewports */
@media (max-width: 600px) {
  .logo-img {
    height: 58px; /* Increased from 46px for maximum mobile branding presence */
  }

  .footer-logo .logo-img {
    height: 64px; /* Increased from 52px */
  }

  .filter-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0.5rem 0.5rem 0.5rem;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    gap: 0.5rem;
  }
  
  .filter-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Opera */
  }
  
  .filter-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
    border-radius: 30px;
  }

  .hero h2 {
    font-size: 2.1rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 0.95rem;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

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

  /* Stunning 2-column mobile card grid layout */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 0.25rem !important;
  }

  .product-card {
    border-radius: 16px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
  }

  .card-img-wrapper {
    height: 110px !important;
  }

  .product-img {
    padding: 10px !important;
  }

  .card-body {
    padding: 0.75rem !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .product-title {
    font-size: 0.85rem !important;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.35rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.4em; /* Strict clamping to align cards perfectly! */
  }

  .product-desc {
    display: none !important; /* Hide long descriptions in cards on mobile. Full descriptions are shown beautifully in the modal when buying! */
  }

  .card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.4rem !important;
    margin-top: auto !important; /* Push footer to the bottom of the card */
    padding-top: 0.4rem;
    border-top: 1px solid hsla(260, 20%, 20%, 0.15);
  }

  .price-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .price-label {
    font-size: 0.65rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .price-value {
    font-size: 0.95rem !important;
    font-weight: 700;
  }

  .btn-card {
    width: 100% !important;
    padding: 0.45rem !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
    justify-content: center !important;
    gap: 0.25rem !important;
  }

  .btn-card i, .btn-card svg {
    width: 12px;
    height: 12px;
  }

  .badge-category {
    font-size: 0.55rem !important;
    padding: 0.15rem 0.35rem !important;
    top: 6px !important;
    right: 6px !important;
    border-radius: 4px !important;
  }

  /* Modal Mobile Tuning */
  .modal-container {
    padding: 1.25rem 1.25rem 2rem 1.25rem !important;
  }

  .modal-header h3 {
    font-size: 1.15rem !important;
  }

  .modal-body p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  .modal-footer {
    flex-direction: column-reverse;
    gap: 0.6rem;
  }

  .modal-footer .btn {
    width: 100%;
    padding: 0.75rem !important;
    font-size: 0.9rem !important;
  }
}

/* --- Bots & Automation Section --- */
.bots-section {
  padding: 6rem 0;
  position: relative;
  background: radial-gradient(circle at 80% 20%, hsla(190, 100%, 50%, 0.08) 0%, transparent 50%);
}

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

.bot-card {
  background: var(--bg-card);
  border: 1px solid hsla(260, 20%, 20%, 0.4);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.bot-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--color-secondary);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.bot-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem auto;
  background: hsla(190, 100%, 50%, 0.1);
  border: 1px solid hsla(190, 100%, 50%, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-secondary);
  transition: var(--transition-smooth);
}

.bot-card:hover .bot-icon-wrapper {
  background: var(--gradient-brand);
  color: var(--bg-deep);
  transform: scale(1.05) rotate(5deg);
  box-shadow: var(--shadow-glow-cyan);
}

.bot-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.bot-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.bots-cta-card {
  background: radial-gradient(circle at top right, hsla(190, 100%, 50%, 0.1) 0%, transparent 60%), var(--bg-card);
  border: 1px solid hsla(260, 20%, 20%, 0.5);
  border-radius: 32px;
  padding: 3rem 4rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bots-cta-info h4 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bots-cta-info p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.bots-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link.telegram-cta {
  background: linear-gradient(135deg, #0088cc 0%, #00a2ed 100%);
  color: #ffffff;
}

.social-link.telegram-cta:hover {
  background: linear-gradient(135deg, #0099e5 0%, #00b3ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 136, 204, 0.4);
}

/* Responsive styles for bots */
@media (max-width: 992px) {
  .bots-cta-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2rem;
    text-align: center;
  }
}

/* Light Theme Overrides for Bots Section */
[data-theme="light"] .bot-card {
  background: var(--bg-card);
  border-color: hsla(142, 10%, 80%, 0.5);
  box-shadow: 0 15px 30px -10px rgba(5, 20, 10, 0.04);
}

[data-theme="light"] .bot-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--color-secondary);
}

[data-theme="light"] .bot-icon-wrapper {
  background: hsla(190, 100%, 40%, 0.08);
  border-color: hsla(190, 100%, 40%, 0.2);
  color: var(--color-secondary);
}

[data-theme="light"] .bots-cta-card {
  background: radial-gradient(circle at top right, hsla(190, 100%, 40%, 0.06) 0%, transparent 60%), var(--bg-card);
  border-color: hsla(142, 10%, 80%, 0.5);
  box-shadow: 0 20px 40px -15px rgba(5, 20, 10, 0.06);
}

/* --- Performance Optimization Containment (GPU and Rendering Offload) --- */
.features-section, .faq-section, .bots-section, .contact-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

