/* ==========================================================================
   AURA LUXE - INNOVATIVE DESIGN SYSTEM & STYLESHEET
   Features: Mesh Gradients, Glassmorphism, Neon Accents, Fluid Typography
   ========================================================================== */

:root {
  /* Color Palette - Cosmic Neon Dark Theme */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  
  --surface-glass: rgba(15, 23, 42, 0.65);
  --surface-glass-hover: rgba(30, 41, 59, 0.8);
  --surface-card: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-glow: rgba(99, 102, 241, 0.4);

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

  /* Innovative Brand Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --gradient-cyber: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-aurora: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #6366f1 100%);
  --gradient-sunset: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
  --gradient-dark-glass: linear-gradient(180deg, rgba(30,41,59,0.7) 0%, rgba(15,23,42,0.85) 100%);

  /* Neon Accents */
  --accent-indigo: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);
  --shadow-cyan-glow: 0 0 25px rgba(6, 182, 212, 0.25);
  --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.7);

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --container-max: 1320px;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  
  --surface-glass: rgba(255, 255, 255, 0.75);
  --surface-glass-hover: rgba(241, 245, 249, 0.9);
  --surface-card: rgba(255, 255, 255, 0.8);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-glow: rgba(99, 102, 241, 0.5);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 8px 30px rgba(99, 102, 241, 0.15);
  --shadow-modal: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark light;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Animated Gradient Orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.bg-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #6366f1 0%, rgba(99,102,241,0) 70%);
  top: -100px;
  left: -100px;
}

.bg-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6,182,212,0) 70%);
  top: 40%;
  right: -150px;
  animation-delay: -7s;
}

.bg-orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ec4899 0%, rgba(236,72,153,0) 70%);
  bottom: -100px;
  left: 20%;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

/* Typography Helpers */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-cyber {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-cyber {
  background: var(--gradient-cyber);
  color: #ffffff;
  box-shadow: var(--shadow-cyan-glow);
}

.btn-cyber:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--surface-glass-hover);
  border-color: var(--border-glass-glow);
  transform: translateY(-2px);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(12px);
  position: relative;
}

.btn-icon:hover {
  background: var(--surface-glass-hover);
  border-color: var(--accent-indigo);
  transform: scale(1.05);
}

/* Header & Navbar */
.navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: background 0.3s ease;
}

[data-theme="light"] .navbar-sticky {
  background: rgba(255, 255, 255, 0.85);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text-main);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow-glow);
  animation: pulseLogo 4s ease-in-out infinite alternate;
}

@keyframes pulseLogo {
  0% { transform: scale(1); filter: hue-rotate(0deg); }
  100% { transform: scale(1.04); filter: hue-rotate(30deg); }
}

/* Search Bar */
.search-container {
  flex: 1;
  max-width: 460px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

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

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Action Controls & Badges */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.currency-select {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gradient-sunset);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

/* User Auth Button */
.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.user-profile-btn:hover {
  border-color: var(--accent-indigo);
  background: var(--surface-glass-hover);
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 3rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-indigo);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-pill-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-indigo);
  box-shadow: 0 0 10px var(--accent-indigo);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-icon {
  color: var(--accent-cyan);
}

/* Hero Showcase Card */
.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-modal);
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card-stack:hover .hero-card-img {
  transform: scale(1.05);
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(9,13,22,0.95) 100%);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  font-weight: 700;
}

.hero-card-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

/* Categories Bar */
.categories-section {
  padding: 2rem 0;
}

.category-chips {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
}

.category-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.chip:hover {
  color: var(--text-main);
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
}

.chip.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

/* Filter Controls Toolbar */
.toolbar-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
}

.toolbar-stats {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sort-select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

/* Product Catalog Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.product-card {
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
}

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

.card-image-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  background: var(--bg-secondary);
  overflow: hidden;
}

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

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

/* Product Card Badges & Quick Action Floating Buttons */
.badge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 2;
}

.badge-hot { background: var(--gradient-sunset); }
.badge-new { background: var(--gradient-cyber); }
.badge-featured { background: var(--gradient-primary); }

.card-actions-float {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.product-card:hover .card-actions-float {
  opacity: 1;
  transform: translateX(0);
}

.card-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.card-btn:hover {
  background: var(--accent-indigo);
  transform: scale(1.1);
}

.card-btn.active-wish {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}

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

.card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

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

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--accent-amber);
  margin-bottom: 0.75rem;
}

.card-rating-count {
  color: var(--text-dim);
}

.card-swatches {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
}

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

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

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-original {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--text-dim);
}

.btn-add-cart {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

/* Drawers (Cart & Wishlist) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-glass);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer.active {
  transform: translateX(0);
}

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

.drawer-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.shipping-progress-container {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.shipping-progress-bar {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.shipping-progress-fill {
  height: 100%;
  background: var(--gradient-aurora);
  width: 0%;
  transition: width 0.4s ease;
}

/* Cart Item Rows */
.cart-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-glass);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-tertiary);
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-indigo);
  margin-top: 0.25rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  width: 20px;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-secondary);
}

.promo-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.promo-input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.85rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-glass);
}

/* Modals (Auth, Quick View, Checkout) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  width: 100%;
  max-width: 560px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

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

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

/* Payment Gateway Selector & Form Elements */
.payment-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-tab {
  padding: 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: var(--surface-glass);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.payment-tab:hover {
  border-color: var(--accent-indigo);
}

.payment-tab.selected {
  border-color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.15);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

/* Card Visualizer */
.credit-card-preview {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  background: var(--gradient-cyber);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.card-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 6px;
}

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

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

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass-glow);
  color: var(--text-main);
  box-shadow: var(--shadow-modal);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  pointer-events: auto;
  animation: slideToast 0.3s var(--transition-bounce);
}

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

/* Media Queries */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .search-container {
    max-width: 220px;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    height: 70px;
  }
  .search-container {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}
