/* ===== DESIGN SYSTEM RECOVERY & STABILITY ===== */
#home, .section, .hero-content, .container, .section-header, .products-grid, .testimonials-grid { 
  opacity: 1; visibility: visible; 
}
/* targeted glass finish */
.glass-premium {
  background: rgba(13, 17, 33, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

:root {
  --bg-deep: #0b1021;
  --bg-dark: #070a14;
  --bg-card: rgba(20, 39, 81, 0.45);
  --glass-border: rgba(0, 229, 255, 0.15);
  --glass-blur: 26px; /* Enhanced modern blur */
  --accent-ai: #00e5ff; /* Match logo cyan */
  --accent-ai-glow: rgba(0, 229, 255, 0.45);
  --text-primary: #ffffff; /* Brighter White */
  --text-secondary: #c2cdec;
  --text-muted: #8598c4;
  --accent-blue: #142751; /* Logo Navy */
  --accent-purple: #c724b1; /* Logo Fuchsia */
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
  --grad-primary: linear-gradient(135deg, #00e5ff 0%, #142751 50%, #c724b1 100%);
  --grad-main: linear-gradient(135deg, #00e5ff, #c724b1);
  --grad-dark: linear-gradient(180deg, transparent 0%, rgba(11, 16, 33, 0.8) 100%);
  --shadow-glow-ai: 0 0 50px var(--accent-ai-glow);
  --shadow-card: 0 10px 40px rgba(0,0,0,0.8);
  --radius-card: 22px;
  --radius-btn: 14px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

*:focus-visible {
  outline: 2px solid #06b6d4;
  outline-offset: 2px;
  border-radius: 4px;
}
*:focus:not(:focus-visible) { outline: none; }

html { scroll-behavior: smooth; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Tajawal', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--accent-ai); border-radius: 3px; }

/* ===== GLASSMORPHISM ===== */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(2deg); }
  66% { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes gradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
@keyframes particle-rise {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-50px) scale(1); opacity: 0; }
}
/* Removed animations for recovery */
@keyframes badge-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.float-anim { animation: float 4s ease-in-out infinite; }
.float-card { transition: transform var(--transition), box-shadow var(--transition); }
.float-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: var(--shadow-glow-ai), var(--shadow-card);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.navbar.scrolled { 
  background: rgba(255, 255, 255, 0.99);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  height: 85px; display: flex; align-items: center; gap: 40px;
}
.logo-link { text-decoration: none; display: flex; align-items: center; }
.logo-img { 
  height: 65px; width: auto; object-fit: contain; 
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1); 
}
.logo-link:hover .logo-img { transform: scale(1.05); }

.logo-text { font-size: 1.6rem; font-weight: 900; color: #111; letter-spacing: -1px; line-height: 1; }
.logo-accent { color: var(--accent-ai); }

.nav-links {
  display: flex; gap: 8px; list-style: none; margin-inline-start: 10px;
}
.nav-link {
  padding: 8px 18px; border-radius: 10px; font-weight: 600;
  color: #334155; text-decoration: none;
  transition: all var(--transition); font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-ai);
  background: rgba(0, 229, 255, 0.08);
}
/* ===== CUSTOM CURRENCY DROP-DOWN ===== */
/* ===== CUSTOM CURRENCY DROP-DOWN ===== */
/* --- Dropdown Container --- */
.curr-dropdown {
  position: relative;
  font-family: inherit;
}

/* --- The Main Button --- */
.curr-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.3s ease;
}
.curr-btn:hover {
  background: #e2e8f0;
}
.nav-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.lang-btn { 
  background: #f1f5f9; border: 1px solid #e2e8f0; color: #1e293b; 
  padding: 8px 16px; border-radius: 10px; font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.lang-btn:hover { background: #e2e8f0; }

.curr-flag-btn {
  font-size: 1.2rem;
  border-radius: 50%;
}

.chevron { transition: transform 0.3s ease; opacity: 0.5; }
.curr-dropdown.open .chevron { transform: rotate(180deg); }

/* --- The Menu --- */
.curr-menu {
  position: absolute;
  top: 110%;
  right: 0;
  width: 220px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1001;
  animation: modal-pop 0.3s cubic-bezier(0.4,0,0.2,1);
}

.curr-dropdown.open .curr-menu { display: flex; } /* Show when open clicked */

/* --- Individual Menu Items --- */
.curr-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.curr-item:hover {
  background: #f8fafc;
}
.curr-item.active {
  background: rgba(0, 229, 255, 0.1);
}
.curr-info .code { font-size: 14px; font-weight: 700; color: #1e293b; line-height: 1.2; }
.curr-info .label { font-size: 11px; color: #64748b; line-height: 1.2; }
.curr-item.active .code { color: var(--accent-ai); }

/* Hide checkmark by default */
.curr-check {
  display: none; 
  color: #0ea5e9;
}

/* Show checkmark ONLY on active item */
.curr-item.active .curr-check {
  display: block; 
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cart-btn {
  position: relative; background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2); border-radius: 12px;
  padding: 10px; color: var(--accent-ai); cursor: pointer;
  transition: all var(--transition); flex-shrink: 0;
  animation: float 3s ease-in-out infinite;
}
.cart-btn:hover { background: rgba(6, 182, 212, 0.2); box-shadow: 0 4px 15px rgba(6, 182, 212, 0.15); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--grad-main); color: white; font-size: 0.65rem;
  font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; animation: badge-pulse 2s ease-in-out infinite; background-size: 200% 200%;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: #1e293b;
  border-radius: 2px; transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 120px 24px 80px;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(168,85,247,0.12) 0%, transparent 50%),
              var(--bg-deep);
}
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--accent-ai); opacity: 0;
  animation: particle-rise linear infinite;
}
/* Orb container must be absolute so orbs don't push content */
.orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; animation: floatSlow 8s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: rgba(6, 182, 212, 0.12); top: -100px; right: -100px; }
.orb-2 { width: 300px; height: 300px; background: rgba(168,85,247,0.12); bottom: -50px; left: -80px; animation-delay: -3s; }
.orb-3 { width: 200px; height: 200px; background: rgba(6, 182, 212, 0.1); top: 40%; left: 30%; animation-delay: -5s; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; animation: floatSlow 8s ease-in-out infinite;
}
.hero-content {
  text-align: center; max-width: 800px; z-index: 10;
  opacity: 1 !important; visibility: visible !important;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 8px 20px; border-radius: 100px; font-size: 0.85rem;
  color: var(--accent-ai); margin-bottom: 28px; font-weight: 500;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -2px; margin-bottom: 24px;
  color: var(--text-primary);
}
.grad-text {
  background: var(--grad-main); background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: gradShift 4s ease infinite;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-secondary);
  margin-bottom: 40px; line-height: 1.7;
}
.hero-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-btn);
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  cursor: pointer; border: none; transition: all var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: var(--grad-main); background-size: 200% 200%;
  color: white; animation: gradShift 4s ease infinite;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}
.navbar .btn-ghost {
  background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1);
  color: #1e293b;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.navbar .btn-ghost:hover { background: rgba(0,0,0,0.08); color: #000; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.4rem; font-weight: 800; color: var(--text-primary); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* ===== SECTION BASE ===== */
.section { padding: 100px 24px; opacity: 1 !important; }
.container { max-width: 1200px; margin: 0 auto; opacity: 1 !important; }
.section-header { text-align: center; margin-bottom: 64px; opacity: 1 !important; }
.section-tag {
  display: inline-block; background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3); padding: 6px 16px;
  border-radius: 100px; font-size: 0.8rem; color: var(--accent-ai);
  font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-sub { color: var(--text-secondary); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ===== PRODUCTS GRID & FILTERS ===== */
.products-section { background: radial-gradient(ellipse at 50% 0%, rgba(6, 182, 212, 0.12) 0%, transparent 60%); }

.filter-bar {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06); color: var(--text-secondary);
  font-weight: 600; font-size: 0.85rem; cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); border-color: rgba(6, 182, 212, 0.3); }
.filter-btn.active {
  background: var(--grad-main); color: white; border: none;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3); animation: gradShift 4s ease infinite;
  background-size: 200% 200%;
}
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  border-radius: var(--radius-card); padding: 28px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  pointer-events: none;
}
.card-glow {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  filter: blur(60px); top: -40px; right: -40px; pointer-events: none;
  animation: pulse-glow 3s ease-in-out infinite;
}
.glow-blue  { background: rgba(99,102,241,0.4); }
.glow-purple{ background: rgba(168,85,247,0.4); }
.glow-teal  { background: rgba(6,182,212,0.35); }
.glow-gold  { background: rgba(245,158,11,0.35); }
.card-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
  z-index: 10;
}
.badge-hot { background: rgba(239,68,68,0.25); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.badge-new { background: rgba(6,182,212,0.2); color: #22d3ee; border: 1px solid rgba(6,182,212,0.3); }
.badge-limited { background: rgba(245,158,11,0.2); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.card-image-wrap {
  position: relative;
  margin: -28px -28px 0px -28px;
  width: calc(100% + 56px);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(6,182,212,0.15) 0%, rgba(8,14,40,0.9) 100%);
  display: flex; align-items: center; justify-content: center;
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
/* Show emoji fallback when image fails */
.card-image[src=""], .card-image:not([src]) {
  display: none;
}
.product-card:hover .card-image {
  transform: scale(1.08);
}
.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13,17,33,0.95) 100%);
  pointer-events: none;
}
.card-body { flex: 1; position: relative; z-index: 2; padding-top: 8px; }
.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.card-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.card-features { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.card-features li { font-size: 0.82rem; color: var(--accent-ai); font-weight: 500; }
/* Card icon fallback (shows when no imageUrl) */
.card-icon-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 140px;
  animation: float 4s ease-in-out infinite;
}
.out-of-stock-card {
  opacity: 0.55;
  filter: grayscale(85%);
}
.btn-disabled {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-block { display: flex; flex-direction: column; }
.price-label { font-size: 0.72rem; color: var(--text-muted); }
.price { font-size: 1.25rem; font-weight: 800; color: #facc15; }
.currency { font-size: 0.8rem; font-weight: 600; color: #94a3b8; margin-left: 2px; }
.btn-buy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-size: 0.85rem;
  font-weight: 600; cursor: pointer; border: none;
  background: var(--grad-main); background-size: 200% 200%;
  color: white; transition: all var(--transition); font-family: inherit;
  white-space: nowrap; animation: gradShift 4s ease infinite;
}
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4); }
.btn-arrow-svg { transition: transform var(--transition); }
.btn:hover .btn-arrow-svg { transform: translateX(5px); }

/* ===== HOW IT WORKS ===== */
.hiw-section {
  background: radial-gradient(ellipse at 80% 50%, rgba(168,85,247,0.08) 0%, transparent 60%);
}
.steps-grid {
  display: flex; align-items: center; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.step-card {
  border-radius: 20px; padding: 40px 30px;
  text-align: center; flex: 1; min-width: 260px; max-width: 320px;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.03) 0%, transparent 100%), var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.step-card:hover {
  transform: translateY(-10px);
  border-color: rgba(168,85,247,0.3);
  box-shadow: 0 30px 60px rgba(168,85,247,0.15);
}
.step-card h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 12px; color: var(--text-primary); z-index: 2; position: relative; }
.step-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; z-index: 2; position: relative; }
.step-num {
  position: absolute; top: -15px; left: 15px;
  font-size: 7rem; font-weight: 900; color: rgba(255,255,255,0.02);
  line-height: 1; font-family: 'Inter', sans-serif;
  pointer-events: none;
  transition: color 0.4s ease;
}
.step-card:hover .step-num {
  color: rgba(99,102,241,0.05);
}
.step-icon { 
  width: 80px; height: 80px; margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(8, 145, 178, 0.15));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; box-shadow: inset 0 0 20px rgba(255,255,255,0.05), 0 10px 20px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 2;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(8, 145, 178, 0.25));
}
.step-connector {
  width: 50px; height: 2px; flex-shrink: 0;
  background: repeating-linear-gradient(90deg, var(--accent-ai) 0%, var(--accent-ai) 40%, transparent 40%, transparent 100%);
  background-size: 10px 2px;
  opacity: 0.6; margin: 0 -10px;
}

/* ===== ANTI-GRAVITY PAYMENT SECTION ===== */
.payments-section {
  overflow: visible;
  background: radial-gradient(ellipse at 50% 60%, rgba(6,182,212,0.05) 0%, transparent 65%);
}

/* Floating card grid — stagger via margins, not grid rows */
.pay-float-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: nowrap; /* Forces perfectly horizontal alignment on desktop */
  padding-bottom: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Base card */
.pay-float-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 300px;
  background: rgba(10, 16, 38, 0.55);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 28px;
  padding: 36px 28px 28px;
  text-align: center;
  position: relative;
  cursor: default;
  transition: box-shadow 0.4s ease;
  will-change: transform;
  overflow: hidden;
}

/* Stagger — each card at a different height to create weightless feel */
.pay-float-card:nth-child(1) { margin-bottom: 0px;  animation: floatPay1 6s ease-in-out infinite; }
.pay-float-card:nth-child(2) { margin-bottom: 48px; animation: floatPay2 7s ease-in-out infinite; }
.pay-float-card:nth-child(3) { margin-bottom: 24px; animation: floatPay3 5.5s ease-in-out infinite; }

@keyframes floatPay1 {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(0.4deg); }
}
@keyframes floatPay2 {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(-0.5deg); }
}
@keyframes floatPay3 {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(0.3deg); }
}

/* Glow overlay — fades in on hover */
.pfc-glow {
  position: absolute; inset: 0; border-radius: 28px;
  opacity: 0; transition: opacity 0.5s ease; pointer-events: none; z-index: 0;
}
.pay-float-card:hover .pfc-glow { opacity: 1; }

/* Per-card color theming */
.pfc-bankak {
  border: 1px solid rgba(6,182,212,0.14);
  box-shadow: 0 24px 64px rgba(6,182,212,0.08), 0 0 0 1px rgba(6,182,212,0.06) inset;
}
.pfc-bankak .pfc-glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(6,182,212,0.18) 0%, transparent 65%);
}
.pfc-bankak:hover {
  box-shadow: 0 32px 80px rgba(6,182,212,0.3), 0 0 40px rgba(6,182,212,0.12) inset;
  border-color: rgba(6,182,212,0.35);
}

.pfc-yuan {
  border: 1px solid rgba(239,68,68,0.14);
  box-shadow: 0 24px 64px rgba(239,68,68,0.08), 0 0 0 1px rgba(239,68,68,0.06) inset;
}
.pfc-yuan .pfc-glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(239,68,68,0.18) 0%, transparent 65%);
}
.pfc-yuan:hover {
  box-shadow: 0 32px 80px rgba(239,68,68,0.25), 0 0 40px rgba(239,68,68,0.1) inset;
  border-color: rgba(239,68,68,0.3);
}

.pfc-sar {
  border: 1px solid rgba(34,197,94,0.12);
  box-shadow: 0 24px 64px rgba(34,197,94,0.07), 0 0 0 1px rgba(34,197,94,0.05) inset;
}
.pfc-sar .pfc-glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(34,197,94,0.16) 0%, transparent 65%);
}
.pfc-sar:hover {
  box-shadow: 0 32px 80px rgba(34,197,94,0.22), 0 0 40px rgba(34,197,94,0.08) inset;
  border-color: rgba(34,197,94,0.28);
}

/* Spinning orbit ring behind icon */
.pfc-orbit-ring {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 120px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.05);
  animation: spinOrbit 20s linear infinite;
  pointer-events: none; z-index: 0;
}
.pfc-bankak .pfc-orbit-ring { border-color: rgba(6,182,212,0.1); }
.pfc-yuan   .pfc-orbit-ring { border-color: rgba(239,68,68,0.1); }
.pfc-sar    .pfc-orbit-ring { border-color: rgba(34,197,94,0.1); }

@keyframes spinOrbit {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}

/* Icon container & Image */
.pfc-icon-container {
  width: 100px; height: 110px; /* Extra height for bobbing room */
  margin: 0 auto 20px;
  position: relative; z-index: 2;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.pay-float-card:hover .pfc-icon-container {
  transform: scale(1.06);
}

.pfc-icon-img {
  width: 90px; height: 90px;
  margin: 0 auto;
  border-radius: 22px; /* iOS-like squirqle */
  display: block;
  object-fit: cover;
  animation: bobbingIcon 4s ease-in-out infinite;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
  position: relative; z-index: 2;
}

@keyframes bobbingIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Dynamic shadow under the icon that scales as the icon bobs */
.pfc-icon-shadow {
  width: 50px; height: 8px;
  background: rgba(0, 0, 0, 0.4);
  filter: blur(4px);
  border-radius: 50%;
  position: absolute;
  bottom: 0px; left: 50%;
  transform: translateX(-50%);
  animation: pulsingShadow 4s ease-in-out infinite;
  z-index: 1;
}
.pfc-bankak .pfc-icon-shadow { background: rgba(6,182,212,0.5); }
.pfc-yuan .pfc-icon-shadow   { background: rgba(239,68,68,0.5); }
.pfc-sar .pfc-icon-shadow    { background: rgba(34,197,94,0.5); }

@keyframes pulsingShadow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) scale(0.6); opacity: 0.2; }
}

/* Card text */
.pfc-body { position: relative; z-index: 2; }
.pay-float-card h3 {
  font-size: 1.2rem; font-weight: 800; color: #fff;
  margin-bottom: 6px; letter-spacing: -0.3px;
}
.pay-float-card p {
  color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 20px;
}

/* Tag pill */
.pfc-tag {
  display: inline-block; padding: 7px 16px;
  border-radius: 100px; font-size: 0.75rem; font-weight: 700;
}
.pfc-tag-cyan  { background: rgba(6,182,212,0.12);  color: #22d3ee; border: 1px solid rgba(6,182,212,0.25); }
.pfc-tag-red   { background: rgba(239,68,68,0.1);   color: #f87171; border: 1px solid rgba(239,68,68,0.22); }
.pfc-tag-green { background: rgba(34,197,94,0.1);   color: #4ade80; border: 1px solid rgba(34,197,94,0.22); }

/* Floating micro-particles inside each card */
.pfc-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 28px;
}
.pfc-particles span {
  position: absolute; border-radius: 50%; opacity: 0;
  animation: pfcDrift 8s ease-in-out infinite;
}
.pfc-bankak .pfc-particles span { background: rgba(6,182,212,0.5); }
.pfc-yuan   .pfc-particles span { background: rgba(239,68,68,0.5); }
.pfc-sar    .pfc-particles span { background: rgba(34,197,94,0.5); }

.pfc-particles span:nth-child(1) { width:4px; height:4px; left:20%;  bottom:20%; animation-delay:0s;   animation-duration:7s; }
.pfc-particles span:nth-child(2) { width:3px; height:3px; left:70%;  bottom:30%; animation-delay:2.5s; animation-duration:9s; }
.pfc-particles span:nth-child(3) { width:2px; height:2px; left:45%;  bottom:10%; animation-delay:1.2s; animation-duration:6s; }

@keyframes pfcDrift {
  0%   { transform: translateY(0)   scale(0); opacity: 0; }
  20%  { opacity: 0.8; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(-80px) scale(1.5); opacity: 0; }
}



/* ===== CONTACT ===== */
.contact-section { background: radial-gradient(ellipse at 30% 70%, rgba(6,182,212,0.07) 0%, transparent 60%); }
.contact-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px; 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 20px; /* Base padding for all screens */
}

/* Mobile & Tablet Vertical Stacking — CONSOLIDATED HERE */
@media (max-width: 768px) {
  .contact-grid { 
    grid-template-columns: 1fr; 
    gap: 20px;
    padding: 0 24px;
  }
}
.contact-card {
  background: rgba(10, 16, 38, 0.45);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card); 
  padding: 32px 24px;
  text-align: center; 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  gap: 16px; 
  flex: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.contact-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.1); 
}
.contact-icon { 
  width: 72px; height: 72px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: transform 0.4s ease;
}
.contact-icon img {
  display: block;
  object-fit: contain;
}
.contact-icon.circle-bg {
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(255,255,255,0.05), 0 10px 20px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-card:hover .contact-icon { transform: scale(1.1); }
.wechat-qr-box {
  width: 130px; height: 130px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.2); background: white; padding: 4px;
  margin: 10px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.wechat-qr-img { width: 100%; height: 100%; object-fit: cover; }
.orb-green { background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(21,128,61,0.15)); }
.orb-blue { background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(37,99,235,0.15)); }
.orb-wechat { background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(8, 145, 178, 0.15)); }

.contact-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-primary); margin-bottom: 2px; }
.contact-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; flex: 1; }
.contact-action { 
  margin-top: auto; 
  padding-top: 20px; 
  width: 100%; 
  display: flex; 
  justify-content: center; 
}
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 24px; border-radius: 999px; font-size: 0.88rem;
  font-weight: 600; text-decoration: none; cursor: pointer; border: none;
  transition: all 0.3s ease; font-family: inherit;
  width: auto; /* Not full-width */
}
.btn-wa-solid { background: #25d366; color: white; }
.btn-wa-solid:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37,211,102,0.4); }

.btn-contact-outline { 
  background: rgba(0,0,0,0.2); 
  border: 1px solid var(--accent-ai); 
  color: white; 
}
.btn-contact-outline:hover { 
  background: var(--accent-ai); 
  color: #000; 
  transform: translateY(-2px); 
  box-shadow: 0 4px 15px var(--accent-ai-glow); 
}
.qr-action { display: flex; flex-direction: column; align-items: center; }

.qr-code-img {
  width: 120px; 
  height: 120px; 
  margin: 16px auto; 
  display: block; 
  object-fit: contain; 
  background-color: #ffffff; 
  padding: 8px; 
  border-radius: 8px;
}

.availability-badge {
  background: rgba(37,211,102,0.15); border: 1px solid rgba(37,211,102,0.3);
  color: #4ade80; padding: 10px 20px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600;
}

/* Mobile & Tablet Vertical Stacking — PAY FLOAT GRID ONLY */
@media (max-width: 768px) {
  .pay-float-grid { flex-direction: column; align-items: center; gap: 24px; padding-bottom: 40px; }
  .pay-float-card { width: calc(100% - 40px); max-width: none; min-width: 0; margin-left: 20px; margin-right: 20px; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 100px 0; background: var(--bg-dark); position: relative; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 48px;
}
.testi-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  padding: 32px; border-radius: 20px; position: relative;
  transition: transform var(--transition);
}
.testi-card:hover { transform: translateY(-5px); border-color: var(--accent-ai); }
.testi-quote { font-style: italic; color: var(--text-primary); margin-bottom: 20px; font-size: 0.95rem; line-height: 1.7; }
.testi-stars { font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--grad-main); border: 2px solid var(--accent-ai); flex-shrink: 0; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.testi-info p { font-size: 0.75rem; color: var(--text-secondary); }

/* ===== NOTIFICATION TOAST ===== */
.notification-toast {
  position: fixed; bottom: 24px; left: 24px;
  background: var(--bg-card); backdrop-filter: blur(20px);
  border: 1px solid var(--accent-ai); border-radius: 12px;
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(6, 182, 212, 0.1);
  z-index: 2000; transform: translateX(-120%); transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification-toast.show { transform: translateX(0); }
.noti-icon { background: var(--grad-main); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.noti-content h5 { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.noti-content p { font-size: 0.75rem; color: var(--text-secondary); }

/* ===== ADMIN STATS ===== */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 32px;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  padding: 20px; border-radius: 14px; text-align: center;
}
.stat-card h4 { font-size: 0.75rem; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 8px; letter-spacing: 0.5px; }
.stat-card span { font-size: 1.8rem; font-weight: 800; color: var(--accent-ai); }

/* ===== PREMIUM FOOTER ===== */
.footer {
  padding: 80px 0 0; background: linear-gradient(to bottom, transparent, rgba(2,6,23,0.95));
  border-top: 1px solid rgba(6,182,212,0.08); position: relative;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 60px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
  text-align: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo .logo-text { font-size: 1.8rem; font-weight: 900; color: #fff; letter-spacing: -1px; }
.brand-tagline { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; max-width: 320px; }

.social-links { display: flex; gap: 12px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center; color: white;
  text-decoration: none; font-size: 0.85rem; font-weight: 700; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.08);
}
.social-icon:hover { background: var(--accent-ai); border-color: var(--accent-ai); transform: translateY(-3px); box-shadow: 0 4px 12px var(--accent-ai-glow); }

.footer-col h4 { font-size: 0.9rem; font-weight: 800; color: white; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.9; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-list a { 
  color: var(--text-secondary); text-decoration: none; font-size: 0.92rem; transition: color 0.3s; 
  display: inline-block; width: fit-content;
}
.footer-list a:hover { color: var(--accent-ai); }

.payment-badges-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.payment-badges-row img { 
  width: 48px; border-radius: 10px; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.4); 
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease;
}
.payment-badges-row img:hover { transform: scale(1.1); }
.payment-muted-text { 
  font-size: 0.75rem; 
  color: var(--text-muted); 
  margin-top: 16px; 
  opacity: 0.8;
  line-height: 1.4;
}

.footer-bottom { background: rgba(0,0,0,0.4); border-top: 1px solid rgba(255,255,255,0.05); padding: 28px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-copy { color: var(--text-muted); font-size: 0.82rem; letter-spacing: 0.3px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { 
  color: var(--text-muted); 
  text-decoration: none; 
  font-size: 0.75rem; 
  transition: color 0.3s; 
  font-weight: 500;
}
.footer-legal a:hover { color: var(--accent-ai); }
.footer-trust { display: flex; gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

/* Mobile Footer Fixes */
@media (max-width: 768px) {
  .footer { padding-top: 60px; }
  .footer-inner { 
    display: flex; flex-direction: column; 
    align-items: center; text-align: center; 
    gap: 48px; padding-bottom: 48px; 
  }
  .brand-tagline { max-width: 100%; }
  .social-links, .payment-badges-row { justify-content: center; }
  .footer-list { align-items: center; }
  .footer-list a { white-space: nowrap; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-legal { 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 12px 20px; 
    margin: 4px 0;
  }
  .footer-trust { justify-content: center; gap: 20px; }
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  width: 100%; max-width: 500px; border-radius: 24px;
  padding: 32px; display: flex; flex-direction: column; gap: 24px;
  transform: translateY(20px); transition: transform var(--transition);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { font-size: 1.3rem; font-weight: 700; }
.modal-close {
  background: rgba(255,255,255,0.08); border: 1px solid var(--glass-border);
  color: var(--text-secondary); padding: 6px 12px; border-radius: 8px;
  cursor: pointer; font-size: 0.9rem; transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }
.cart-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border); border-radius: 12px; gap: 12px;
}
.cart-item-name { font-weight: 600; font-size: 0.9rem; }
.cart-item-price { color: var(--neon-blue); font-weight: 700; white-space: nowrap; }
.cart-item-remove {
  background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3);
  color: #f87171; padding: 4px 10px; border-radius: 8px;
  cursor: pointer; font-size: 0.75rem; transition: all var(--transition);
}
.cart-item-remove:hover { background: rgba(239,68,68,0.3); }
.cart-empty { color: var(--text-muted); text-align: center; padding: 32px 0; font-size: 0.95rem; }
.modal-footer { display: flex; flex-direction: column; gap: 16px; }
.cart-total { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }

/* ===== CHECKOUT FORM ===== */
.btn-back { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0; font-size: 0.9rem; margin-bottom: 8px; transition: color 0.3s; display: inline-flex; align-items: center; gap: 4px; }
.btn-back:hover { color: white; }
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; }
.form-input { 
  background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border); color: white;
  padding: 12px 16px; border-radius: 8px; font-family: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.3s ease;
}
.form-input:focus { border-color: var(--accent-purple); }
.file-input { padding: 10px; font-size: 0.85rem; color: var(--text-muted); background: rgba(255,255,255,0.03); }
.payment-instruction-box { background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); padding: 16px; border-radius: 8px; margin-top: 24px; }
.payment-instruction-box h4 { margin-bottom: 8px; color: var(--accent-blue); font-size: 1rem; }
.payment-details-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.payment-qr { margin-top: 12px; text-align: center; }
.payment-qr img { width: 140px; height: 140px; border-radius: 8px; object-fit: cover; }


/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 3000;
  background: var(--bg-card); backdrop-filter: blur(12px);
  border: 1px solid var(--accent-ai-glow); border-radius: 12px;
  padding: 14px 20px; font-size: 0.9rem; font-weight: 500;
  color: var(--text-primary); box-shadow: var(--shadow-glow-ai);
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Mobile elements hidden on desktop by default */
.mobile-drawer { display: none; }
.hamburger { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .navbar { background: rgba(255, 255, 255, 0.98); box-shadow: 0 4px 15px rgba(0,0,0,0.05); height: auto; }
  .nav-inner { 
    height: 70px; 
    padding: 0 20px; 
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0; 
  }
  .nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-inline-start: 0; }
  .logo-link { justify-self: center; display: flex; justify-content: center; }
  .logo-img { height: 48px; }
  
  /* Modern Drawer */
  .mobile-drawer {
    position: fixed; top: 70px; left: 0; right: 0;
    height: calc(100vh - 70px);
    height: calc(100svh - 70px);
    background: #ffffff;
    display: none; flex-direction: column;
    padding: 24px; z-index: 2000;
    border-top: 1px solid rgba(0,0,0,0.08);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-drawer.open { display: flex; }
  
  .mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; padding: 0; }
  .mobile-nav-links a { 
    font-size: 1.25rem; font-weight: 700; color: #1e293b; text-decoration: none; 
    display: block; padding: 16px 20px; border-radius: 16px;
    background: #f8fafc; border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
  }
  .mobile-nav-links a:active { background: #f1f5f9; transform: scale(0.98); }
  
  .drawer-footer {
    margin-top: 20px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px; /* Space at the bottom for scrolling */
  }
  .lang-btn-mob {
    width: 100%; padding: 14px; border-radius: 12px;
    background: white; border: 1px solid #e2e8f0;
    color: #1e293b; font-weight: 700; font-size: 1rem; cursor: pointer;
  }
  .curr-select-mob {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  }
  .curr-option {
    text-align: center; padding: 12px 4px; border-radius: 10px;
    background: white; border: 1px solid #e2e8f0;
    color: #1e293b; font-weight: 700; cursor: pointer; font-size: 0.85rem;
  }
  .curr-option.active {
    background: var(--grad-main); border: none; color: white; box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
  }

  /* Old components clean up */
  .nav-links { display: none !important; }
  .hamburger { 
    display: flex; align-items: center; justify-content: flex-start; 
    width: 42px; height: 42px; background: none; border-radius: 0; 
    border: none; padding: 0;
  }
  .hamburger span { background: #000; width: 22px; }
  
  .cart-btn { 
    padding: 0; background: transparent; border: none; box-shadow: none;
    color: #1e293b; display: flex; align-items: center; justify-content: flex-end;
  }
  .cart-btn svg { stroke: #1e293b; width: 24px; height: 24px; }
  .cart-badge { top: -8px; right: -8px; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2.2rem; padding: 0 32px; line-height: 1.2; text-align: center; }
  .hero-actions { flex-direction: column; gap: 12px; padding: 0 24px; }
  .hero-actions .btn { margin: 0; width: 100%; }

  .hero-stats { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; 
    padding-top: 40px; 
  }
  .hero-stats .stat:last-child { 
    grid-column: 1 / span 2; 
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .footer-inner { gap: 48px; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-logo { justify-content: center; }
  .social-links { justify-content: center; padding-top: 10px; }
  
  .footer-legal { 
    display: flex; flex-wrap: wrap; justify-content: center; 
    gap: 12px; line-height: 1.5; 
  }
  .footer-legal .pipe { display: inline; color: rgba(255,255,255,0.2); }

  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card { padding: 16px; gap: 16px; }
  .card-image-wrap { 
    margin: -16px -16px 12px -16px; 
    width: calc(100% + 32px); 
    max-height: 160px;
    height: 160px;
  }
  .card-title { font-size: 1.1rem; line-height: 1.4; margin-bottom: 8px; }
  .card-desc { display: block; font-size: 0.82rem; margin-bottom: 12px; }
  .card-features { display: flex; gap: 6px; margin-bottom: 16px; }
  .card-features li { font-size: 0.78rem; }
  .card-footer { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 16px; }
  .card-footer .price-block { align-items: flex-start; }
  .price { font-size: 1.15rem; }
  .btn-buy { padding: 10px 16px; font-size: 0.85rem; justify-content: center; }
  .card-badge { top: 8px; right: 8px; font-size: 0.6rem; padding: 2px 8px; }
}
@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; align-items: stretch; width: 100%; }
  .btn { justify-content: center; width: 100%; }
  .modal { padding: 24px 20px; max-height: 85vh; }
  .toast { left: 16px; right: 16px; bottom: 16px; text-align: center; }
  .logo-text { font-size: 1.25rem; }
  .hero-title { font-size: 1.85rem; line-height: 1.2; }
  .hero-subtitle { font-size: 0.95rem; padding: 0 10px; }
}

/* ===== LANG & RTL SUPPORT ===== */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  background: rgba(0,0,0,0.04); color: #1e293b;
  border: 1px solid rgba(0,0,0,0.1); padding: 8px 16px; border-radius: 10px;
  font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all var(--transition);
  font-family: 'Tajawal', sans-serif; letter-spacing: 0.5px;
}
.lang-btn:hover { background: rgba(0,0,0,0.08); color: #000; border-color: rgba(6,182,212,0.3); }

html[dir="rtl"] { font-family: 'Tajawal', 'Inter', sans-serif; text-align: right; }
html[dir="rtl"] .logo-text, html[dir="rtl"] .nav-link, html[dir="rtl"] .btn, 
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { font-family: 'Tajawal', sans-serif; }

html[dir="rtl"] .logo-icon { margin-left: 14px; margin-right: 0; transform: scaleX(-1); }
html[dir="rtl"] .btn-arrow-svg { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .btn-arrow-svg { transform: scaleX(-1) translateX(5px); }
html[dir="rtl"] .card-badge { right: auto; left: 16px; }
html[dir="rtl"] .card-glow { right: auto; left: -40px; }
html[dir="rtl"] .step-num { left: auto; right: 20px; }
html[dir="rtl"] .toast { right: auto; left: 32px; }
html[dir="rtl"] .modal-header h2, html[dir="rtl"] .modal-close { font-family: 'Tajawal', sans-serif; }

@media print {
  body { background: white; color: black; }
  .grad-text { -webkit-text-fill-color: black; background: none; }
  .glass, .glass-premium { background: white; border: 1px solid #ccc; backdrop-filter: none; }
  .orb, .particles { display: none; }
}
