﻿:root {
  /* Nexacore astrology-tech palette - Emerald Tech: deep emerald, electric teal, lime accent */
  --bg: #04130e;
  --bg-elevated: #062318;
  --surface: #0a3225;
  --surface-2: #0d3d2c;
  --border: rgba(110, 231, 183, 0.1);
  --border-hover: rgba(52, 211, 153, 0.22);
  --text: #d1fae5;
  --text-muted: #a7f3d0;
  --text-label: #bbf7d0;
  --maroon: #065f46;
  --maroon-deep: #064e3b;
  --saffron: #10b981;
  --saffron-bright: #34d399;
  --saffron-deep: #047857;
  --gold: #14b8a6;
  --gold-light: #5eead4;
  --gold-dim: #0d9488;
  --sacred-red: #84cc16;
  --temple-green: #14b8a6;
  --cream: #ecfdf5;
  /* Legacy aliases (used across components) */
  --violet: var(--saffron);
  --violet-bright: var(--saffron-bright);
  --teal: var(--temple-green);
  --accent: var(--saffron);
  --accent-2: var(--gold);
  --accent-glow: rgba(16, 185, 129, 0.45);
  --violet-glow: rgba(52, 211, 153, 0.35);
  --gradient-hero:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(16, 185, 129, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 40%, rgba(132, 204, 22, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 45% at 0% 85%, rgba(20, 184, 166, 0.12), transparent 50%),
    linear-gradient(180deg, #062318 0%, #04130e 55%, #020a07 100%);
  --gradient-text: linear-gradient(135deg, #d1fae5 0%, var(--gold-light) 35%, var(--saffron-bright) 70%, var(--sacred-red) 100%);
  --gradient-btn: linear-gradient(135deg, var(--saffron-bright) 0%, var(--saffron) 45%, var(--saffron-deep) 100%);
  --gradient-accent: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--saffron) 100%);
  --gradient-maroon: linear-gradient(135deg, #065f46 0%, #064e3b 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --nav-h: 76px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 60px rgba(16, 185, 129, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.06), transparent),
    radial-gradient(ellipse 40% 30% at 100% 100%, rgba(6, 95, 70, 0.4), transparent);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-celestial-bg {
  background: #04130e;
  background-image: none;
}

body.has-celestial-bg main,
body.has-celestial-bg .site-footer {
  position: relative;
  z-index: 1;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container-narrow { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* â”€â”€â”€ Nav â”€â”€â”€ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(4, 19, 14, 0.6);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.site-nav.scrolled {
  background: rgba(4, 19, 14, 0.92);
  border-bottom-color: rgba(16, 185, 129, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(16, 185, 129, 0.08);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s;
}
.brand:hover { opacity: 0.9; }

.site-logo,
.navbar-brand {
  gap: 0;
  text-shadow: none;
  background: transparent !important;
}
.site-logo img,
.site-logo picture {
  display: block;
  background: transparent;
}
.site-logo img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.25));
  transition: opacity 0.2s, filter 0.2s;
}
.site-logo:hover img {
  filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.4));
}
.site-logo--footer img {
  height: 40px;
  max-width: 220px;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 24px var(--accent-glow), 0 0 48px var(--violet-glow);
  animation: pulseDot 3s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 9px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #a7f3d0;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}

.nav-links a:hover {
  color: var(--saffron-bright);
  background: rgba(16, 185, 129, 0.1);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(4, 19, 14, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer a {
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

/* â”€â”€â”€ Buttons â”€â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, filter 0.3s;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::after { transform: translateX(100%); }

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient-btn);
  color: #02110a;
  font-weight: 700;
  box-shadow: 0 4px 24px var(--accent-glow), inset 0 1px 0 rgba(94, 234, 212, 0.5);
}

.btn-primary:hover {
  box-shadow: 0 10px 36px var(--accent-glow), 0 0 0 1px rgba(94, 234, 212, 0.25);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #02110a;
  box-shadow: 0 4px 28px rgba(20, 184, 166, 0.35);
}

.btn-accent:hover {
  box-shadow: 0 8px 40px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* â”€â”€â”€ Hero â”€â”€â”€ */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  background: linear-gradient(180deg, rgba(6, 35, 24, 0.45) 0%, rgba(4, 19, 14, 0.25) 40%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 80px 120px, rgba(255,255,255,0.25), transparent),
    radial-gradient(1.5px 1.5px at 160px 80px, rgba(20, 184, 166,0.5), transparent),
    radial-gradient(1px 1px at 240px 200px, rgba(132, 204, 22, 0.35), transparent),
    radial-gradient(1px 1px at 320px 50px, rgba(255,255,255,0.3), transparent);
  background-size: 400px 280px;
  animation: driftStars 80s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes driftStars {
  from { transform: translateY(0); }
  to { transform: translateY(-280px); }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 20%, transparent 75%);
  animation: gridPulse 10s ease-in-out infinite;
}

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite;
}

.hero-orb-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, transparent 70%);
  top: -15%;
  right: -10%;
}

.hero-orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, transparent 70%);
  bottom: 5%;
  left: -12%;
  animation-delay: -5s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.18) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -8s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content { text-align: left; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--violet-bright);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.1s;
}

.hero-badge i {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #02110a;
  font-size: 0.85rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 20px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.2s;
}

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

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 0 36px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.35s;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.5s;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.65s;
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: linear-gradient(135deg, var(--violet), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.hero-trust-avatars span:first-child { margin-left: 0; }

.hero-trust p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-trust strong { color: var(--text); }

/* Hero mockup card */
.hero-mockup {
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.4s;
  perspective: 1200px;
}

.hero-mockup .ramp-showcase {
  animation: floatCard 6s ease-in-out infinite 1.4s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-4deg); }
  50% { transform: translateY(-12px) rotateX(0deg) rotateY(2deg); }
}

.mockup-card {
  background: rgba(6, 35, 24, 0.75);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow), 0 40px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-body { padding: 24px; }

.mockup-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.mockup-stat {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.mockup-stat label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.mockup-stat strong {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mockup-chart {
  height: 100px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.2) 0%, transparent 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 12px 16px;
}

.mockup-chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--violet-bright), var(--violet));
  animation: barGrow 1.2s ease forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

.mockup-chart span:nth-child(1) { height: 45%; animation-delay: 0.8s; }
.mockup-chart span:nth-child(2) { height: 70%; animation-delay: 0.9s; }
.mockup-chart span:nth-child(3) { height: 55%; animation-delay: 1s; }
.mockup-chart span:nth-child(4) { height: 90%; animation-delay: 1.1s; }
.mockup-chart span:nth-child(5) { height: 65%; animation-delay: 1.2s; }
.mockup-chart span:nth-child(6) { height: 80%; animation-delay: 1.3s; }

@keyframes barGrow {
  to { transform: scaleY(1); }
}

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

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 64px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.75s;
}

.stat-item {
  padding: 24px 16px;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* â”€â”€â”€ Sections â”€â”€â”€ */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.03) 50%, transparent); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.15;
}

.section-lead { color: var(--text-muted); max-width: 440px; margin-bottom: 48px; font-size: 1.05rem; line-height: 1.7; }

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.4s;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(16, 185, 129,0.4), transparent 40%, rgba(20, 184, 166,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border-hover);
}

.feature-card:hover::before { opacity: 1; }

.feature-card .card-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

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

.feature-card:nth-child(1) .feature-icon {
  background: rgba(16, 185, 129, 0.2);
  color: var(--violet-bright);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(20, 184, 166, 0.15);
  color: var(--gold);
  box-shadow: 0 0 30px rgba(20, 184, 166, 0.15);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(45, 212, 191, 0.15);
  color: var(--teal);
  box-shadow: 0 0 30px rgba(45, 212, 191, 0.15);
}

.feature-card h3 { font-size: 1.15rem; margin: 0 0 10px; font-weight: 600; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--violet-bright);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.feature-card:hover .feature-link {
  opacity: 1;
  transform: translateX(0);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border-hover);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4), 0 0 40px rgba(16, 185, 129, 0.08);
}

.product-img {
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
}

.product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0a3225 0%, #062318 50%, #062318 100%);
}

.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.35), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(20, 184, 166, 0.2), transparent 45%);
}

.product-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-img i {
  position: relative;
  z-index: 1;
  color: var(--gold);
  filter: drop-shadow(0 0 20px var(--accent-glow));
  transition: transform 0.4s;
}

.product-card:hover .product-img i { transform: scale(1.12) rotate(-5deg); }

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

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  color: var(--gold);
  backdrop-filter: blur(8px);
}

.product-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 19, 14, 0.6);
  opacity: 0;
  transition: opacity 0.35s;
}

.product-card:hover .product-overlay { opacity: 1; }

.product-overlay span {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(8px);
  transition: transform 0.35s;
}

.product-card:hover .product-overlay span { transform: translateY(0); }

.product-body { padding: 22px; }
.product-body h3 { font-size: 1.02rem; margin: 0 0 10px; font-weight: 600; line-height: 1.35; }
.product-price { font-weight: 700; font-size: 1.15rem; color: var(--gold); }
.product-price del { color: var(--text-muted); font-weight: 400; font-size: 0.88rem; margin-left: 8px; }

/* Marquee */
.logo-marquee {
  overflow: hidden;
  padding: 48px 0;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}

.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 35s linear infinite;
  width: max-content;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.marquee-track span::before {
  content: 'âœ¦';
  color: var(--gold);
  font-size: 0.65rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Testimonials */
.testimonial-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.35s, border-color 0.35s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.25);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(16, 185, 129, 0.15);
}

.testimonial-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { margin: 0 0 16px; font-size: 0.95rem; line-height: 1.65; color: var(--text-muted); }
.testimonial-author { font-size: 0.85rem; font-weight: 600; }
.testimonial-author span { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }

/* CTA band */
.cta-band {
  margin: 0 24px 100px;
  padding: 72px 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, rgba(6, 35, 24, 0.9) 0%, rgba(4, 19, 14, 0.95) 100%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.25), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(20, 184, 166, 0.15), transparent 40%);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(16, 185, 129,0.08), transparent, rgba(20, 184, 166,0.06), transparent);
  animation: ctaSpin 20s linear infinite;
  pointer-events: none;
}

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

.cta-band h2 {
  position: relative;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
}

.cta-band p { position: relative; color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }
.cta-band .btn { position: relative; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
  background: linear-gradient(180deg, var(--bg) 0%, #020a07 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.footer-grid h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s, padding-left 0.2s; display: inline-block; }
.footer-grid a:hover { color: var(--text); padding-left: 4px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact,
.contact-info-list {
  max-width: 320px;
}

.footer-contact li,
.contact-info-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  line-height: 1.55;
}

.footer-contact li:last-child,
.contact-info-list li:last-child {
  margin-bottom: 0;
}

.footer-contact .bi,
.contact-info-list .bi {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 1rem;
}

.footer-contact a,
.contact-info-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}

.footer-contact a:hover,
.contact-info-list a:hover {
  color: var(--text);
}

.footer-company-legal {
  font-weight: 600;
  color: var(--text) !important;
  margin-bottom: 14px !important;
}

.contact-company-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-map {
  min-height: 350px;
  background: var(--surface);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(20%) contrast(1.05) brightness(0.92);
}

/* Pages */
.page-hero {
  padding: calc(var(--nav-h) + 56px) 0 56px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.page-hero p,
.page-hero .text-muted {
  color: var(--text-muted) !important;
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-content { padding: 56px 0 96px; }

.card-panel {
  background: linear-gradient(165deg, rgba(10, 50, 37, 0.85) 0%, rgba(6, 35, 24, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.form-control, .form-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-control:focus, .form-select:focus {
  background: var(--surface-2);
  border-color: rgba(16, 185, 129, 0.55);
  color: var(--text);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  outline: none;
}

.form-label {
  color: var(--text-label);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

/* Google Places autocomplete dropdown (checkout) */
.pac-container {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  margin-top: 4px;
  z-index: 10000;
}

.pac-item {
  color: var(--text);
  border-top: 1px solid var(--border);
  cursor: pointer;
  line-height: 1.4;
  padding: 10px 14px;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover,
.pac-item-selected {
  background: rgba(16, 185, 129, 0.12);
}

.pac-item-query {
  color: var(--text);
  font-size: 0.95rem;
}

.pac-matched {
  color: var(--accent, #10b981);
  font-weight: 600;
}

.pac-logo::after {
  filter: invert(0.85);
}

.alert-dark {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--text);
  border-radius: var(--radius-sm);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Dashboard */
.dash-stat {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}

.dash-stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.dash-stat h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin: 0;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dash-stat p { margin: 6px 0 0; color: var(--text-muted); font-size: 0.85rem; }

/* Chat */
.chat-box {
  height: 440px;
  overflow-y: auto;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--violet) transparent;
}

.chat-msg { margin-bottom: 18px; max-width: 85%; }
.chat-msg.user { margin-left: auto; text-align: right; }

.chat-bubble {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.chat-msg.bot .chat-bubble {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 8px 24px var(--violet-glow);
}

/* Admin */
.admin-sidebar {
  min-height: 100vh;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  padding: 28px 18px;
}

.admin-sidebar a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.admin-sidebar a:hover, .admin-sidebar a.active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--violet-bright);
}

.badge-cart {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gradient-accent);
  color: #02110a;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.dropdown-menu-dark {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.dropdown-menu-dark .dropdown-item {
  color: var(--text);
  border-radius: 8px;
  padding: 10px 14px;
  opacity: 1;
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
  background: rgba(16, 185, 129, 0.12);
  color: var(--text);
  opacity: 1;
}

.dropdown-menu-dark .dropdown-item.active,
.dropdown-menu-dark .dropdown-item:active {
  background: rgba(16, 185, 129, 0.2);
  color: var(--text);
  opacity: 1;
}

.dropdown-menu-dark .dropdown-divider {
  border-top: 1px solid var(--border);
  opacity: 0.6;
  margin: 6px 4px;
}

/* Store: sidebar filters + product grid */
.store-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.store-filters-toggle:hover,
.store-filters-toggle[aria-expanded="true"] {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.08);
}

.store-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px 32px;
  align-items: start;
}

.store-sidebar {
  position: sticky;
  top: calc(var(--nav-h, 76px) + 20px);
  padding: 20px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-height: calc(100vh - var(--nav-h, 76px) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.store-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.store-sidebar__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.store-sidebar__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.store-sidebar__close:hover {
  color: var(--text);
  border-color: rgba(16, 185, 129, 0.4);
}

.store-sidebar__section + .store-sidebar__section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.store-sidebar__heading {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-label);
}

.store-cat-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  margin: 0;
  padding: 0;
}

.store-cat-link {
  display: block;
  padding: 10px 12px 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.store-cat-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.store-cat-link.active {
  color: var(--saffron-bright);
  background: rgba(16, 185, 129, 0.12);
  border-left-color: var(--saffron-bright);
}

.store-cat-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-cat-link--parent {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-cat-children {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  margin-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.store-cat-link--child {
  font-size: 0.85rem;
  padding-top: 8px;
  padding-bottom: 8px;
}

.store-cat-group .store-cat-children {
  display: flex;
}

.product-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-main {
  min-width: 0;
}

.store-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.store-price-filter {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.store-price-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.store-price-filter__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-label);
}

.store-price-filter__values {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--saffron-bright);
  white-space: nowrap;
}

.store-results-meta { margin-top: 0; }

.store-empty-filter { margin-top: 8px; margin-bottom: 24px; }

.store-pagination-wrap {
  margin-top: 32px;
  padding-top: 8px;
}

.store-pagination {
  --bs-pagination-bg: rgba(255, 255, 255, 0.04);
  --bs-pagination-border-color: rgba(16, 185, 129, 0.22);
  --bs-pagination-color: var(--text-muted);
  --bs-pagination-hover-bg: rgba(16, 185, 129, 0.12);
  --bs-pagination-hover-border-color: rgba(16, 185, 129, 0.45);
  --bs-pagination-hover-color: var(--saffron-bright);
  --bs-pagination-focus-bg: rgba(16, 185, 129, 0.14);
  --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.2);
  --bs-pagination-active-bg: var(--saffron);
  --bs-pagination-active-border-color: var(--saffron-deep);
  --bs-pagination-active-color: #02110a;
  --bs-pagination-disabled-bg: transparent;
  --bs-pagination-disabled-border-color: rgba(255, 255, 255, 0.08);
  --bs-pagination-disabled-color: rgba(255, 255, 255, 0.28);
  gap: 4px;
}

.store-pagination .page-link {
  border-radius: 8px;
  min-width: 2.25rem;
  text-align: center;
}

/* Dual-handle price range slider */
.price-range-slider {
  position: relative;
  height: 28px;
}

.price-range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.price-range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--saffron-deep), var(--saffron-bright));
  box-shadow: 0 0 12px var(--accent-glow);
}

.price-range-input {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.price-range-input::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border: none;
}

.price-range-input::-moz-range-track {
  height: 6px;
  background: transparent;
  border: none;
}

.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-accent);
  border: 2px solid rgba(245, 247, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 14px var(--accent-glow);
  cursor: grab;
  pointer-events: auto;
  margin-top: -7px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.price-range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-accent);
  border: 2px solid rgba(245, 247, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 14px var(--accent-glow);
  cursor: grab;
  pointer-events: auto;
  transition: transform 0.15s, box-shadow 0.15s;
}

.price-range-input:active::-webkit-slider-thumb,
.price-range-input:active::-moz-range-thumb {
  cursor: grabbing;
  transform: scale(1.12);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
}

.price-range-input:focus-visible::-webkit-slider-thumb,
.price-range-input:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--saffron-bright);
  outline-offset: 2px;
}

.price-range-input--min { z-index: 3; }
.price-range-input--max { z-index: 3; }

@media (max-width: 991.98px) {
  .store-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .store-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: min(280px, 88vw);
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-top: none;
    border-bottom: none;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45);
  }

  .store-sidebar.is-open {
    transform: translateX(0);
  }

  body.store-filters-open {
    overflow: hidden;
  }
}

/* Legacy category pills (other pages) */
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.cat-pills .btn-ghost.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--violet-bright);
}

/* AI Chat */
.wallet-pills { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wallet-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  font-size: 0.85rem;
}
.wallet-pill-free { border-color: rgba(45, 180, 120, 0.4); color: #5eead4; }
.wallet-pill-coins { border-color: rgba(20, 184, 166, 0.35); color: var(--gold); }

.chat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; min-height: 520px; }
.chat-main { display: flex; flex-direction: column; min-height: 520px; }
.chat-box { flex: 1; min-height: 360px; max-height: 480px; }
.chat-input-row { display: flex; gap: 10px; align-items: flex-end; }
.chat-input-row textarea { flex: 1; resize: none; }
.chat-input-row .btn { height: 48px; width: 48px; padding: 0; border-radius: 14px; }
.chat-history-item { padding: 10px 0; border-bottom: 1px solid var(--border); cursor: default; }
.chat-history-item p { margin: 4px 0 0; font-size: 0.8rem; color: var(--text-muted); }
.badge-cat { font-size: 0.65rem; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(16, 185, 129,0.2); color: var(--saffron-bright); }
.chat-paywall { border-top: 1px solid var(--border); margin-top: 12px; }

.typing-dots { display: inline-flex; gap: 4px; vertical-align: middle; margin-right: 8px; }
.typing-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--violet-bright);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

.coin-package-card {
  position: relative; padding: 32px 24px; text-align: center;
  border-radius: var(--radius); background: var(--bg-elevated);
  border: 1px solid var(--border); height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.coin-package-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.coin-package-card.popular { border-color: rgba(20, 184, 166, 0.5); box-shadow: 0 0 40px rgba(20, 184, 166, 0.12); }
.coin-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: var(--gradient-accent); color: #02110a;
}
.coin-amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; margin: 12px 0; color: var(--gold); }
.coin-amount span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.coin-price { font-size: 1.1rem; margin-bottom: 20px; }

@media (max-width: 992px) {
  .chat-layout { grid-template-columns: 1fr; }
  .hero-layout { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-mockup { max-width: 420px; margin: 0 auto; }
  .feature-grid, .testimonial-strip { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none !important; }
  .nav-toggle { display: flex; }
  .mobile-drawer { display: flex; }
}

@media (max-width: 576px) {
  .stats-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { margin: 0 16px 64px; padding: 48px 24px; }
  .site-logo img { height: 36px; max-width: min(200px, 58vw); }
  .site-logo--footer img { height: 34px; max-width: 200px; }
}

/* â”€â”€â”€ Readability: brighter secondary text on dark UI â”€â”€â”€ */
.text-muted,
small.text-muted,
p.text-muted {
  color: var(--text-muted) !important;
}

.page-content .text-muted,
.card-panel .text-muted,
.modal-content .text-muted {
  color: var(--text-muted) !important;
}

small,
.small {
  color: var(--text-muted);
}

small strong,
.small strong {
  color: var(--text);
}

.nav-pills .nav-link {
  color: #a7f3d0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-weight: 500;
}

.nav-pills .nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.nav-pills .nav-link.active {
  color: #02110a;
  background: var(--gradient-btn);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.form-control::placeholder,
.form-select::placeholder {
  color: #6ee7b7;
  opacity: 1;
}

.text-warning {
  color: #fbbf24 !important;
}

.alert-dark a,
.alert-warning a {
  color: var(--gold);
  font-weight: 600;
}

.chat-hint,
#chatHint {
  color: var(--text-muted) !important;
}

.remedy-row .text-muted {
  color: #86efac !important;
}

/* Indian theme accents */
.brand {
  color: var(--cream);
  text-shadow: 0 0 40px rgba(16, 185, 129, 0.2);
}

.page-hero h1,
.section-title,
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
}

.cta-band,
.feature-card:hover,
.product-card:hover {
  border-color: rgba(16, 185, 129, 0.25);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--saffron), var(--maroon));
  border-radius: 8px;
}

#otpSection:not(.d-none) {
  display: flex !important;
}

.otp-status-muted { color: var(--text-muted); }
.otp-status-success { color: #34d399; }
.otp-status-danger { color: #f87171; }
.otp-status-warning { color: #fbbf24; }
.otp-status-info { color: #5eead4; }

.register-progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
}
.register-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  transition: width 0.25s ease;
}
.register-progress-labels li {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.register-progress-labels li.active {
  color: var(--gold);
  font-weight: 600;
}

.consult-onboarding .onboarding-step {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}
.consult-onboarding .onboarding-step.active {
  color: var(--gold);
  font-weight: 600;
}
.consult-onboarding .onboarding-step.completed {
  color: var(--saffron-bright);
}
.consult-onboarding .progress {
  background: rgba(255, 255, 255, 0.12);
}
.consult-onboarding .progress-bar {
  background: linear-gradient(90deg, var(--saffron), var(--gold));
}

/* Google Places: hide suggestions when address field is not focused */
body:not(:has(#address_line1:focus)) .pac-container {
  display: none !important;
}

