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

:root {
  --primary: #6c3bff;
  --primary-dark: #5429e0;
  --primary-light: #e8e1ff;
  --accent: #ff6b35;
  --accent-light: #fff0eb;
  --success: #22c55e;
  --success-light: #dcfce7;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #0f0f1a;
  --dark-2: #1a1a2e;
  --dark-3: #16213e;
  --text: #1e1e2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-dark: #374151;
  --bg: #f8f7ff;
  --bg-card: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(108,59,255,0.10);
  --shadow-lg: 0 8px 32px rgba(108,59,255,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }
ul { list-style: none; }

/* =========================================
   SCROLLBAR
   ========================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108,59,255,0.08);
  padding: 0 24px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(108,59,255,0.12);
}

.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  color: var(--primary);
}

.navbar-brand .brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.navbar-nav {
  display: flex; align-items: center; gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-btn {
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(108,59,255,0.3);
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108,59,255,0.4);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
  display: flex; align-items: center;
  padding: 100px 24px 60px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(108,59,255,0.3) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 70%, rgba(255,107,53,0.2) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,59,255,0.2);
  border: 1px solid rgba(108,59,255,0.4);
  color: #c4b5fd;
  padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #a78bfa, #f97316);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem; line-height: 1.75;
  margin-bottom: 36px;
}

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

.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700; font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(108,59,255,0.4);
  display: inline-flex; align-items: center; gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(108,59,255,0.5);
}

.btn-secondary {
  padding: 14px 32px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600; font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex; gap: 32px;
}

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

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa, #f97316);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem; font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* Hero Cards Visual */
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}

.cards-stack {
  position: relative; width: 320px; height: 400px;
}

.mock-card {
  position: absolute;
  width: 280px; height: 170px;
  border-radius: 20px;
  padding: 24px;
  font-family: 'Poppins', sans-serif;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: var(--transition);
}

.mock-card:nth-child(1) {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  top: 0; left: 40px;
  transform: rotate(-8deg);
  z-index: 1;
}

.mock-card:nth-child(2) {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1px solid rgba(108,59,255,0.4);
  top: 80px; left: 0;
  transform: rotate(-2deg);
  z-index: 2;
}

.mock-card:nth-child(3) {
  background: linear-gradient(135deg, #f97316, #ef4444);
  top: 200px; left: 60px;
  transform: rotate(5deg);
  z-index: 1;
}

.mock-card-logo {
  font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.9);
  text-transform: uppercase; letter-spacing: 1px;
}

.mock-card-amount {
  font-size: 1.8rem; font-weight: 800; color: #fff;
}

.mock-card-label {
  font-size: 0.7rem; font-weight: 500; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 1px;
}

/* =========================================
   SECTION COMMONS
   ========================================= */
.section { padding: 80px 24px; }
.section-sm { padding: 60px 24px; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem; line-height: 1.7;
  max-width: 560px;
}

.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* =========================================
   BRANDS STRIP
   ========================================= */
.brands-strip {
  background: #fff;
  padding: 30px 24px;
  border-bottom: 1px solid var(--border);
}

.brands-row {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 12px;
}

.brand-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.875rem;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
}

.brand-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.brand-emoji { font-size: 1.2rem; }

/* =========================================
   GIFT CARDS CATALOG
   ========================================= */
.catalog-section { background: var(--bg); }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

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

.gift-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.gift-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.gift-card-banner {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  font-size: 3rem;
}

.gift-card-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.2));
}

/* Brand-specific gradients */
.brand-shein    { background: linear-gradient(135deg, #000000, #1a1a1a); }
.brand-myntra   { background: linear-gradient(135deg, #e91e63, #c2185b); }
.brand-amazon   { background: linear-gradient(135deg, #ff9900, #e47911); }
.brand-flipkart { background: linear-gradient(135deg, #2874f0, #1565c0); }
.brand-gemini   { background: linear-gradient(135deg, #4285f4, #34a853); }
.brand-google1  { background: linear-gradient(135deg, #4285f4, #ea4335); }
.brand-youtube  { background: linear-gradient(135deg, #ff0000, #cc0000); }

.card-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.7rem; font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.card-badge.hot { color: var(--accent); }
.card-badge.new { color: var(--success); }
.card-badge.low { color: var(--warning); background: rgba(245,158,11,0.12); }

.gift-card-body { padding: 20px; }

.card-brand {
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.card-denominations {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 16px;
}

.denom-tag {
  padding: 4px 10px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.denom-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

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

.card-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  color: var(--primary);
}

.card-price span {
  font-size: 0.75rem; font-weight: 500;
  color: var(--text-muted);
  margin-left: 3px;
}

.btn-buy {
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(108,59,255,0.25);
}

.btn-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(108,59,255,0.4);
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-section {
  background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
  color: #fff;
}

.how-section .section-title { color: #fff; }
.how-section .section-desc { color: rgba(255,255,255,0.6); }
.how-section .section-tag { background: rgba(108,59,255,0.25); color: #a78bfa; }

.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; position: relative;
}

.step-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  background: rgba(108,59,255,0.15);
  border-color: rgba(108,59,255,0.4);
  transform: translateY(-4px);
}

.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem; font-weight: 800; color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(108,59,255,0.4);
}

.step-icon { font-size: 2.5rem; margin-bottom: 16px; }

.step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: #fff; margin-bottom: 10px;
}

.step-desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* =========================================
   FEATURES / WHY US
   ========================================= */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-icon.purple { background: var(--primary-light); }
.feature-icon.orange { background: var(--accent-light); }
.feature-icon.green  { background: var(--success-light); }
.feature-icon.blue   { background: #e0f2fe; }

.feature-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.6;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section { background: #fff; }

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

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 14px; }

.testimonial-text {
  font-size: 0.9rem; color: var(--text); line-height: 1.7;
  margin-bottom: 18px; font-style: italic;
}

.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}

.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; font-weight: 700;
}

.author-name { font-weight: 700; font-size: 0.875rem; color: var(--text); }
.author-label { font-size: 0.75rem; color: var(--text-muted); }

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 60px 24px 40px;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-col .navbar-brand {
  color: #fff; margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.social-links {
  display: flex; gap: 10px;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-col-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  color: #fff; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-link:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

.footer-bottom-text {
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex; gap: 20px;
}

.footer-bottom-link {
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
  transition: var(--transition);
}

.footer-bottom-link:hover { color: rgba(255,255,255,0.7); }

/* =========================================
   PURCHASE PAGE
   ========================================= */
.page-wrapper {
  min-height: 100vh;
  padding: 90px 24px 60px;
  background: var(--bg);
}

.purchase-layout {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.purchase-left {}

.purchase-card-preview {
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  margin-bottom: 24px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.purchase-card-preview::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15), transparent 50%);
}

.preview-brand-name {
  font-size: 0.85rem; font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 2px;
}

.preview-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem; font-weight: 800;
  color: #fff;
}

.preview-type {
  font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 1px;
}

.product-details-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.product-details-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg);
  font-size: 0.9rem;
}

.detail-label { color: var(--text-muted); }
.detail-value { font-weight: 600; color: var(--text); }
.detail-value.primary { color: var(--primary); }
.detail-value.success { color: var(--success); }

/* Amount selector */
.amount-select-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  color: var(--text); margin-bottom: 14px;
}

.amount-options {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 24px;
}

.amount-opt {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  cursor: pointer;
}

.amount-opt:hover { border-color: var(--primary); color: var(--primary); }
.amount-opt.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* Purchase form */
.purchase-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky; top: 90px;
}

.panel-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--text); margin-bottom: 24px;
}

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

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

.form-label .req { color: var(--danger); margin-left: 2px; }

.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text);
  background: var(--bg);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108,59,255,0.1);
}

.form-control.error { border-color: var(--danger); }

.form-hint {
  font-size: 0.78rem; color: var(--text-light);
  margin-top: 5px;
}

.form-error {
  font-size: 0.78rem; color: var(--danger);
  margin-top: 5px; display: none;
}

.form-error.show { display: block; }

/* Order summary box */
.order-summary {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.875rem;
  padding: 5px 0;
  color: var(--text-muted);
}

.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 10px; padding-top: 12px;
  font-size: 1rem; font-weight: 700;
  color: var(--text);
}

.summary-row.total .amount { color: var(--primary); font-size: 1.2rem; }

.btn-proceed {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(108,59,255,0.3);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.btn-proceed:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(108,59,255,0.45);
}

.secure-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 14px;
  font-size: 0.78rem; color: var(--text-light);
}

/* =========================================
   PAYMENT PAGE
   ========================================= */
.payment-layout {
  max-width: 800px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 360px;
  gap: 28px; align-items: start;
}

.payment-timer-box {
  background: linear-gradient(135deg, #fff8ec, #fff);
  border: 1.5px solid #fcd34d;
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}

.timer-icon { font-size: 1.5rem; }
.timer-text { font-size: 0.875rem; color: var(--text-muted); }
.timer-count {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--warning);
  min-width: 60px;
}

.payment-methods-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.payment-tab-header {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.payment-tab {
  flex: 1; padding: 14px;
  text-align: center;
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.payment-tab:hover { color: var(--primary); }
.payment-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--primary-light);
}

.payment-tab-content { padding: 28px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* QR Payment */
.qr-container { text-align: center; }

.qr-code-box {
  width: 220px; height: 220px;
  margin: 0 auto 20px;
  background: #fff;
  border: 3px solid var(--primary);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  box-shadow: var(--shadow);
}

.qr-code-box img { width: 100%; }

.qr-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.qr-upi-id {
  font-size: 0.85rem; color: var(--text-muted);
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 8px 16px; display: inline-block;
  margin-bottom: 16px;
}

.qr-apps {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-top: 16px;
}

.upi-app-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 600;
  transition: var(--transition);
  color: var(--text);
}

.upi-app-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* UPI ID Input */
.upi-input-section { text-align: left; }

.upi-verified-badge {
  display: none;
  align-items: center; gap: 6px;
  color: var(--success);
  font-size: 0.82rem; font-weight: 600;
  margin-top: 6px;
}

.upi-verified-badge.show { display: flex; }

.btn-pay-now {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 20px;
}

.btn-pay-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(34,197,94,0.4);
}

/* Order summary side */
.order-side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky; top: 90px;
}

.order-side-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--text); margin-bottom: 18px;
}

/* =========================================
   SUCCESS / ORDER CONFIRMATION
   ========================================= */
.success-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px;
  background: var(--bg);
}

.success-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 560px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

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

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

.success-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  color: var(--text); margin-bottom: 10px;
}

.success-subtitle {
  color: var(--text-muted); font-size: 0.95rem;
  line-height: 1.6; margin-bottom: 30px;
}

.order-detail-box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
  text-align: left;
}

.order-detail-row {
  display: flex; justify-content: space-between;
  font-size: 0.875rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.order-detail-row:last-child { border-bottom: none; }

.order-detail-label { color: var(--text-muted); }
.order-detail-value { font-weight: 600; color: var(--text); }

.email-notice {
  background: linear-gradient(135deg, #e8e1ff, #fce7f3);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

.email-icon { font-size: 1.4rem; flex-shrink: 0; }
.email-notice-text { font-size: 0.875rem; color: var(--text); line-height: 1.6; }
.email-notice-text strong { color: var(--primary); }

.btn-back-home {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 700;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.btn-back-home:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* =========================================
   ADMIN LOGIN
   ========================================= */
.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  position: relative; overflow: hidden;
}

.admin-login-page::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 40%, rgba(108,59,255,0.25), transparent 60%);
}

.admin-login-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%; max-width: 440px;
  position: relative; z-index: 1;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.admin-login-logo {
  text-align: center; margin-bottom: 32px;
}

.admin-login-logo .logo-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
  box-shadow: 0 12px 32px rgba(108,59,255,0.4);
}

.admin-login-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  color: #fff; margin-bottom: 6px;
}

.admin-login-subtitle {
  font-size: 0.875rem; color: rgba(255,255,255,0.45);
}

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

.admin-form-label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 7px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.admin-form-control {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: #fff;
  transition: var(--transition);
}

.admin-form-control::placeholder { color: rgba(255,255,255,0.25); }

.admin-form-control:focus {
  border-color: var(--primary);
  background: rgba(108,59,255,0.1);
  box-shadow: 0 0 0 3px rgba(108,59,255,0.15);
}

.password-wrapper { position: relative; }

.toggle-pass {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; color: rgba(255,255,255,0.4);
  font-size: 1rem;
  transition: var(--transition);
}

.toggle-pass:hover { color: rgba(255,255,255,0.8); }

.btn-admin-login {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(108,59,255,0.35);
  margin-top: 8px;
}

.btn-admin-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(108,59,255,0.5);
}

.login-error {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.85rem; color: #fca5a5;
  margin-bottom: 20px; display: none;
}

.login-error.show { display: block; }

/* =========================================
   ADMIN DASHBOARD
   ========================================= */
.admin-layout {
  display: flex; min-height: 100vh;
}

.admin-sidebar {
  width: 260px; background: var(--dark);
  padding: 0;
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
  transition: var(--transition);
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 10px;
}

.sidebar-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.sidebar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 700; color: #fff;
}

.sidebar-brand span { color: #a78bfa; }

.sidebar-nav { padding: 16px 12px; flex: 1; }

.sidebar-section-label {
  font-size: 0.68rem; font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 1.2px;
  padding: 0 10px;
  margin: 16px 0 8px;
}

.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  cursor: pointer;
  margin-bottom: 2px;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
}

.sidebar-link.active {
  background: rgba(108,59,255,0.2);
  color: #a78bfa;
}

.sidebar-link .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar-badge {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem; font-weight: 700;
  padding: 2px 7px; border-radius: var(--radius-full);
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.admin-profile {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

.admin-profile:hover { background: rgba(255,255,255,0.06); }

.admin-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: #fff;
}

.admin-profile-name { font-size: 0.82rem; font-weight: 600; color: #fff; }
.admin-profile-role { font-size: 0.72rem; color: rgba(255,255,255,0.4); }

/* Admin Main Content */
.admin-main {
  margin-left: 260px;
  flex: 1;
  background: #f0f0f8;
  min-height: 100vh;
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}

.admin-page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem; font-weight: 700; color: var(--text);
}

.admin-topbar-actions {
  display: flex; align-items: center; gap: 12px;
}

.topbar-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.85rem;
}

.topbar-search input {
  border: none; background: none;
  color: var(--text); width: 200px;
}

.topbar-search input::placeholder { color: var(--text-light); }

.admin-content { padding: 28px 32px; }

/* Dashboard Stats */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 28px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
}

.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.stat-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}

.stat-card-label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
}

.stat-card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.icon-purple { background: var(--primary-light); }
.icon-green  { background: var(--success-light); }
.icon-orange { background: var(--accent-light); }
.icon-blue   { background: #e0f2fe; }

.stat-card-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem; font-weight: 800;
  color: var(--text); margin-bottom: 6px;
}

.stat-card-change {
  font-size: 0.78rem; color: var(--success); font-weight: 600;
}

.stat-card-change.down { color: var(--danger); }

/* Admin Table */
.admin-table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

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

.table-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--text);
}

.table-actions { display: flex; gap: 10px; }

.btn-table-add {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 700;
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}

.btn-table-add:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-table-secondary {
  padding: 8px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 600;
  transition: var(--transition);
}

.btn-table-secondary:hover {
  border-color: var(--primary); color: var(--primary);
}

.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th {
  padding: 12px 20px;
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.admin-table td {
  padding: 14px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafe; }

.brand-cell {
  display: flex; align-items: center; gap: 10px;
}

.brand-dot {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.brand-cell-name { font-weight: 600; color: var(--text); }
.brand-cell-type { font-size: 0.75rem; color: var(--text-muted); }

.stock-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700;
}

.stock-good  { background: var(--success-light); color: #16a34a; }
.stock-low   { background: #fef9c3; color: #ca8a04; }
.stock-empty { background: #fee2e2; color: #dc2626; }

.status-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700;
}

.status-active   { background: var(--success-light); color: #16a34a; }
.status-inactive { background: #f3f4f6; color: #6b7280; }
.status-pending  { background: #fef9c3; color: #ca8a04; }

.action-btns { display: flex; gap: 6px; }

.action-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.action-btn.edit   { background: var(--primary-light); color: var(--primary); }
.action-btn.delete { background: #fee2e2; color: var(--danger); }
.action-btn.view   { background: #e0f2fe; color: #0284c7; }

.action-btn:hover { transform: scale(1.1); }

/* Stock edit inline */
.stock-edit-input {
  width: 70px; padding: 5px 8px;
  border: 1.5px solid var(--primary);
  border-radius: 6px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: #fff;
  border-radius: var(--radius);
  width: 100%; max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.open .modal { transform: translateY(0) scale(1); }

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

.modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--text);
}

.modal-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-muted);
  transition: var(--transition);
}

.modal-close:hover { background: #fee2e2; color: var(--danger); }

.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
}

.btn-modal-cancel {
  padding: 9px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  transition: var(--transition);
}

.btn-modal-cancel:hover { border-color: var(--text-muted); color: var(--text); }

.btn-modal-save {
  padding: 9px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 700;
  transition: var(--transition);
}

.btn-modal-save:hover { opacity: 0.9; transform: translateY(-1px); }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-hero {
  background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
  padding: 120px 24px 80px;
  text-align: center;
  color: #fff;
  position: relative; overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(108,59,255,0.25), transparent 60%);
}

.about-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.about-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: #fff;
  margin-bottom: 16px;
}

.about-hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

.about-section { padding: 70px 24px; }

.about-content-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1100px; margin: 0 auto;
}

.about-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: var(--text); margin-bottom: 16px;
  line-height: 1.2;
}

.about-text p {
  font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 16px;
}

.about-visual-box {
  background: linear-gradient(135deg, var(--primary-light), #fce7f3);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.big-emoji { font-size: 6rem; margin-bottom: 16px; }

.team-section { background: #fff; }

.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  border: 3px solid var(--primary-light);
}

.team-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin-bottom: 4px;
}

.team-role { font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.team-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }

/* =========================================
   HELP / CUSTOMER CARE PAGE
   ========================================= */
.help-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 100px 24px 60px;
  text-align: center;
  color: #fff;
}

.help-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; margin-bottom: 14px;
}

.help-hero-desc {
  font-size: 1rem; color: rgba(255,255,255,0.75);
  max-width: 520px; margin: 0 auto 28px;
  line-height: 1.7;
}

.help-search-box {
  max-width: 500px; margin: 0 auto;
  display: flex;
  background: #fff;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.help-search-input {
  flex: 1; padding: 14px 20px;
  border: none; background: none;
  font-size: 0.95rem; color: var(--text);
}

.help-search-btn {
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  font-weight: 700; font-size: 0.9rem;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: var(--transition);
}

.help-search-btn:hover { background: var(--primary-dark); }

.faq-section { padding: 70px 24px; max-width: 800px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { border-color: var(--primary); }

.faq-question {
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-weight: 600; font-size: 0.95rem; color: var(--text);
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }

.faq-chevron {
  font-size: 0.8rem; color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 22px;
}

.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 18px; }

.faq-answer p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* Contact section */
.contact-section {
  background: #fff; padding: 70px 24px;
}

.contact-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--text); margin-bottom: 16px;
}

.contact-info-desc {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 28px;
}

.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-item:hover { border-color: var(--primary); }

.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

.contact-item-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
.contact-item-value { font-size: 0.9rem; font-weight: 600; color: var(--text); }

.contact-form-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-form-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 22px;
}

.btn-send-msg {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 700;
  transition: var(--transition);
}

.btn-send-msg:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* =========================================
   TOAST NOTIFICATION
   ========================================= */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}

.toast {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
  min-width: 280px; max-width: 380px;
  animation: slideInRight 0.35s cubic-bezier(0.4,0,0.2,1);
  font-size: 0.875rem;
}

.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

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

.toast-icon { font-size: 1.1rem; }
.toast-text { flex: 1; font-weight: 500; color: var(--text); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual  { display: none; }
  .hero-stats   { justify-content: center; }
  .purchase-layout { grid-template-columns: 1fr; }
  .payment-layout  { grid-template-columns: 1fr; }
  .about-content-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  .navbar-nav { 
    display: none;
    position: fixed; top: 70px; left: 0; right: 0;
    background: #fff;
    flex-direction: column; padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .navbar-nav.open { display: flex; }
  .admin-content { padding: 20px 16px; }
  .admin-topbar { padding: 14px 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .success-card { padding: 32px 24px; }
  .admin-login-card { padding: 32px 24px; }
}

/* =========================================
   PAGE TRANSITIONS
   ========================================= */
.page-fade-in { animation: fadeIn 0.4s ease; }

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

/* Loading spinner */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Pulse animation */
.pulse {
  animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* =========================================
   STOCK MANAGEMENT SPECIAL
   ========================================= */
.stock-progress {
  height: 6px; background: var(--border);
  border-radius: 3px; overflow: hidden;
  margin-top: 6px;
}

.stock-progress-bar {
  height: 100%; border-radius: 3px;
  transition: width 0.5s ease;
}

.stock-good-bar   { background: var(--success); }
.stock-low-bar    { background: var(--warning); }
.stock-empty-bar  { background: var(--danger); }

/* Order list */
.order-status-pill {
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700;
}

.order-pending  { background: #fef9c3; color: #ca8a04; }
.order-complete { background: var(--success-light); color: #16a34a; }
.order-failed   { background: #fee2e2; color: #dc2626; }

/* Sidebar toggle button for mobile */
.sidebar-toggle {
  display: none;
  background: none; color: var(--text);
  font-size: 1.3rem; padding: 4px;
}

@media (max-width: 768px) {
  .sidebar-toggle { display: block; }
}
