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

/* ============================
   CSS Variables & Reset
   ============================ */
:root {
  --bg:           #030305;
  --surface:      #0c0c10;
  --surface-2:    #12121a;
  --border:       rgba(255,255,255,0.07);
  --primary:      #a855f7;
  --primary-dim:  rgba(168,85,247,0.15);
  --primary-glow: rgba(168,85,247,0.35);
  --cyan:         #22d3ee;
  --cyan-dim:     rgba(34,211,238,0.12);
  --gradient:     linear-gradient(135deg, #a855f7, #22d3ee);
  --text:         #f0f0f5;
  --muted:        #6b7280;
  --muted-2:      #9ca3af;
  --red:          #ef4444;
  --success:      #22c55e;
  --radius-sm:    10px;
  --radius:       16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --shadow:       0 4px 32px rgba(0,0,0,0.6);
  --shadow-glow:  0 0 40px rgba(168,85,247,0.25);
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --transition:   0.3s var(--ease);
}

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

html { scroll-behavior: smooth; }

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

h1,h2,h3,h4 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; }

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

button { font-family: 'Inter', sans-serif; cursor: pointer; }

/* ============================
   Scrollbar
   ============================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 999px; }

/* ============================
   Layout
   ============================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================
   Navbar
   ============================ */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 70px;
  background: rgba(3,3,5,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
}

nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@keyframes neon-pulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 10px rgba(168,85,247,0.9))
      drop-shadow(0 0 20px rgba(168,85,247,0.6))
      drop-shadow(0 0 40px rgba(34,211,238,0.5));
    letter-spacing: 2px;
  }
  50% {
    filter:
      drop-shadow(0 0 18px rgba(168,85,247,1))
      drop-shadow(0 0 38px rgba(168,85,247,0.8))
      drop-shadow(0 0 70px rgba(34,211,238,0.7));
    letter-spacing: 4px;
  }
}

.brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(168,85,247,0.8)) drop-shadow(0 0 20px rgba(34,211,238,0.4));
  animation: neon-pulse 3s ease-in-out infinite;
  transition: var(--transition);
}

.brand:hover {
  filter: drop-shadow(0 0 14px rgba(168,85,247,1)) drop-shadow(0 0 36px rgba(34,211,238,0.7));
  letter-spacing: 3px;
  animation: neon-flicker 0.1s infinite alternate;
}

.nav-center {
  display: flex;
  gap: 6px;
}

.nav-center a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--muted-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

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

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--primary-dim);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.cart-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================
   Animations
   ============================ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

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

@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 20px var(--primary-glow); }
  50%      { box-shadow: 0 0 40px var(--primary-glow); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ============================
   Hero Section
   ============================ */
.hero {
  position: relative;
  padding: 180px 0 120px;
  background: #000;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw; height: 100vh;
  background: radial-gradient(circle, rgba(168,85,247,0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3,3,5,0.96) 0%,
    rgba(3,3,5,0.80) 40%,
    rgba(3,3,5,0.65) 60%,
    rgba(3,3,5,0.90) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  animation: fadeUp 0.9s var(--ease) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-dim);
  border: 1px solid rgba(168,85,247,0.35);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-badge span { width:8px; height:8px; background:var(--primary); border-radius:50%; animation: pulse-glow 2s infinite; display:inline-block; }

@keyframes neon-flicker {
  0%, 95%, 100% {
    filter: drop-shadow(0 0 10px rgba(168,85,247,0.9)) drop-shadow(0 0 30px rgba(34,211,238,0.5));
  }
  96% {
    filter: drop-shadow(0 0 3px rgba(168,85,247,0.4)) drop-shadow(0 0 8px rgba(34,211,238,0.2));
  }
  97% {
    filter: drop-shadow(0 0 14px rgba(168,85,247,1)) drop-shadow(0 0 40px rgba(34,211,238,0.7));
  }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(168,85,247,0.9)) drop-shadow(0 0 28px rgba(34,211,238,0.5));
  animation: neon-flicker 6s ease-in-out infinite;
  display: inline-block;
}

.hero h2.neon-subtitle {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.4rem !important;
  color: var(--primary) !important;
  margin-bottom: 12px !important;
  letter-spacing: 5px !important;
  text-transform: uppercase !important;
  animation: neon-pulse 4s ease-in-out infinite;
  display: block;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--primary-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted-2);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

/* ============================
   Section Headers
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  padding: 5px 14px;
  background: var(--primary-dim);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-header p { color: var(--muted-2); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ============================
   Products Section
   ============================ */
.products-section {
  padding: 100px 0;
}

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

/* ============================
   Product Card
   ============================ */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  animation: fadeUp 0.6s var(--ease) both;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168,85,247,0.4);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 24px var(--primary-glow);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-hot {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
}

.badge-popular {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
}

.badge-new {
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #fff;
}

.card-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.6;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.card-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.card-price .from { font-size: 0.75rem; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 400; }
.card-price .amount { font-size: 1.35rem; color: var(--primary); }

.card-view-btn {
  padding: 8px 18px;
  background: var(--primary-dim);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

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

/* ============================
   Product Detail Page
   ============================ */
#detail-section {
  display: none;
  padding: 100px 0 80px;
  animation: fadeUp 0.5s var(--ease) both;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 40px;
  transition: var(--transition);
}

.back-link:hover { color: var(--primary); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.detail-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  background: var(--surface-2);
}

.detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
}

.detail-img-placeholder svg { opacity: 0.2; }
.detail-img-placeholder p { color: var(--muted); font-size: 0.875rem; }

.detail-info {}

.detail-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-dim);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.detail-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.detail-desc {
  color: var(--muted-2);
  line-height: 1.8;
  margin-bottom: 28px;
}

.detail-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted-2);
}

.detail-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--gradient);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-color: var(--primary);
  background-repeat: no-repeat;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-select,
.form-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--transition);
  appearance: none;
}

.form-select:focus,
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}

.form-select option { background: var(--surface-2); }

.form-input { width: 120px; }

.add-cart-btn {
  width: 100%;
  padding: 16px;
  background: var(--gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 8px 24px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.add-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--primary-glow);
}

/* ============================
   Cart Sidebar
   ============================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: none;
}

.overlay.active { display: block; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 460px;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transition: right 0.4s var(--ease);
}

.cart-sidebar.active { right: 0; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.cart-head h3 { font-size: 1.2rem; font-weight: 700; }

.close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.close-btn:hover { background: rgba(239,68,68,0.15); border-color: var(--red); color: var(--red); }

.cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--muted);
  text-align: center;
}

.cart-empty svg { opacity: 0.25; margin-bottom: 8px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  animation: fadeUp 0.3s var(--ease) both;
}

.cart-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary-dim);
  border: 1px solid rgba(168,85,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-sub { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.cart-item-price { font-weight: 700; color: var(--primary); white-space: nowrap; }
.cart-item-remove { width:28px; height:28px; border-radius:6px; background:none; border:none; color:var(--muted); font-size:1.2rem; display:flex; align-items:center; justify-content:center; transition:var(--transition); flex-shrink:0; }
.cart-item-remove:hover { background:rgba(239,68,68,0.1); color:var(--red); }

.cart-foot {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.cart-total-label { color: var(--muted-2); font-size: 0.9rem; }
.cart-total-amount { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--text); }

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: var(--gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--primary-glow);
}

/* ============================
   Payment Modal
   ============================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal-backdrop.active { display: grid; }

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 500px;
  animation: fadeUp 0.35s var(--ease) both;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover { background: rgba(239,68,68,0.15); color: var(--red); }

.modal h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.modal > p { color: var(--muted-2); font-size: 0.9rem; margin-bottom: 28px; }

.order-summary-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-summary-box .label { font-size: 0.85rem; color: var(--muted); }
.order-summary-box .value { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--primary); }

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.pay-method-btn {
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted-2);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pay-method-btn.selected {
  border-color: var(--primary);
  background: var(--primary-dim);
  color: var(--primary);
}

.pay-method-btn:hover:not(.selected) {
  border-color: rgba(255,255,255,0.15);
  color: var(--text);
}

.address-reveal {
  display: none;
}

.address-reveal.show { display: block; animation: fadeUp 0.3s var(--ease) both; }

.address-box {
  background: #000;
  border: 1px dashed rgba(168,85,247,0.4);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.address-text {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: var(--text);
  word-break: break-all;
  flex: 1;
}

.copy-btn {
  padding: 7px 14px;
  background: var(--primary-dim);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

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

.modal-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

/* ============================
   Toast Notification
   ============================ */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  animation: fadeUp 0.3s var(--ease) both;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.toast.success { background: linear-gradient(135deg, #22c55e, #16a34a); }
.toast.error   { background: linear-gradient(135deg, #ef4444, #dc2626); }
.toast.info    { background: var(--gradient); }

/* ============================
   Footer
   ============================ */
footer {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(168,85,247,0.7)) drop-shadow(0 0 16px rgba(34,211,238,0.4));
  animation: neon-pulse 3s ease-in-out infinite;
}

.footer-tagline { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

.footer-right { color: var(--muted); font-size: 0.85rem; text-align: right; }

/* ============================
   Responsive
   ============================ */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 24px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 600px) {
  .nav-center { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-bg { grid-template-columns: 1fr; }
  .hero-bg img:last-child { display: none; }
  .modal { padding: 28px 20px; }
  .pay-methods { grid-template-columns: 1fr; }
  .footer-inner { text-align: center; flex-direction: column; }
  .footer-right { text-align: center; }
}

/* ============================
   Checkout Enhancements
   ============================ */
.checkout-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Stepper */
.stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
  position: relative;
  padding: 0 40px;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-icon {
  width: 42px;
  height: 42px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--muted);
  transition: var(--transition);
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.step.active .step-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

.step.active .step-label {
  color: var(--primary);
}

.step.completed .step-icon {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

/* Form Styles */
.glass-pane {
  background: rgba(12, 12, 16, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.input-wrap {
  position: relative;
  margin-bottom: 20px;
}

.input-wrap label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-wrap input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px 14px 44px;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}

.input-wrap .icon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: var(--muted-2);
  pointer-events: none;
  transition: var(--transition);
}

.input-wrap input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px var(--primary-dim);
}

.input-wrap input:focus + .icon {
  color: var(--primary);
}

/* Payment Specifics */
.qr-wrap {
  background: #fff;
  padding: 12px;
  border-radius: var(--radius-sm);
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
}

.qr-wrap img {
  width: 100%;
  height: 100%;
}

.copy-group {
  display: flex;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}

.copy-text {
  flex: 1;
  padding: 14px;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-action {
  background: var(--primary-dim);
  border-left: 1px solid var(--border);
  padding: 0 20px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  border-top: none;
  border-right: none;
  border-bottom: none;
}

.copy-action:hover {
  background: var(--primary);
  color: #fff;
}

/* Animations */
.step-pane {
  display: none;
}

.step-pane.active {
  display: block;
  animation: slideIn 0.5s var(--ease) forwards;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
  font-size: 2.5rem;
  animation: bounceScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes bounceScale {
  0% { transform: scale(0); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}