/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1e6fff;
  --blue-dark: #1557d4;
  --blue-light: #4d8fff;
  --orange: #ff6b1a;
  --orange-dark: #e05a10;
  --dark: #0a0c10;
  --dark-2: #111318;
  --dark-3: #181c24;
  --dark-4: #1e2330;
  --mid: #2a2f3e;
  --border: rgba(255,255,255,0.07);
  --text: #e8ecf4;
  --text-muted: #7c85a0;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
  --glow-blue: 0 0 40px rgba(30,111,255,0.25);
  --glow-orange: 0 0 40px rgba(255,107,26,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(30,111,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(30,111,255,0.5); }

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,26,0.35);
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,26,0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-nav {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  padding: 10px 22px;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(255,107,26,0.35);
}
.btn-nav:hover { transform: translateY(-2px); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(10,12,16,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: radial-gradient(ellipse at 20% 50%, rgba(30,111,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(255,107,26,0.06) 0%, transparent 50%),
              var(--dark);
}
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; top: -100px; left: -150px; background: rgba(30,111,255,0.12); animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; top: 10%; right: -100px; background: rgba(255,107,26,0.08); animation-delay: 3s; }
.orb-3 { width: 300px; height: 300px; bottom: -50px; left: 30%; background: rgba(30,111,255,0.07); animation-delay: 6s; }
@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-logo {
  height: 180px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 32px;
  filter: drop-shadow(0 8px 32px rgba(30,111,255,0.4));
  animation: hero-logo-in 0.8s ease both;
}
@keyframes hero-logo-in {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,111,255,0.1);
  border: 1px solid rgba(30,111,255,0.25);
  color: var(--blue-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 40px;
  backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.stat-num sup { font-size: 14px; }
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  margin: 0 auto;
  animation: scroll-fade 2s ease-in-out infinite;
}
@keyframes scroll-fade {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--dark-2); }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(30,111,255,0.3); box-shadow: var(--glow-blue); }
.product-card:hover::before { opacity: 1; }

.product-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-new { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.product-icon {
  width: 52px; height: 52px;
  color: var(--blue-light);
  margin-bottom: 18px;
}
.product-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.purity-tag, .coa-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.purity-tag { background: rgba(30,111,255,0.12); color: var(--blue-light); border: 1px solid rgba(30,111,255,0.2); }
.coa-tag { background: rgba(255,107,26,0.1); color: var(--orange); border: 1px solid rgba(255,107,26,0.2); }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 14px; color: var(--text-muted); }
.product-price strong { font-size: 18px; color: var(--white); font-weight: 700; }
.product-card--cta {
  background: linear-gradient(135deg, rgba(30,111,255,0.08), rgba(255,107,26,0.05));
  border: 1.5px dashed rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.product-card--cta:hover { border-color: var(--blue); background: rgba(30,111,255,0.08); }
.cta-inner { text-align: center; }
.cta-icon { font-size: 40px; display: block; margin-bottom: 12px; color: var(--blue); }
.cta-inner h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; margin-bottom: 10px; }
.cta-inner p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(30,111,255,0.25); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon--blue { background: rgba(30,111,255,0.12); color: var(--blue-light); }
.feature-icon--orange { background: rgba(255,107,26,0.12); color: var(--orange); }
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.step-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.step-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  margin-top: 28px;
  opacity: 0.4;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.review-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}
.review-card:hover { border-color: rgba(30,111,255,0.25); }
.review-card--featured {
  background: linear-gradient(145deg, rgba(30,111,255,0.08), rgba(255,107,26,0.05));
  border-color: rgba(30,111,255,0.3);
  transform: scale(1.02);
  box-shadow: var(--glow-blue);
}
.stars { color: var(--orange); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.review-card p { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 22px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 14px; margin-bottom: 2px; }
.reviewer span { font-size: 12px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:focus-within { border-color: rgba(30,111,255,0.35); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--blue-light); }
.faq-q::after { content: '+'; font-size: 22px; color: var(--blue); flex-shrink: 0; transition: transform 0.3s; }
.faq-q[aria-expanded="true"] { color: var(--white); }
.faq-q[aria-expanded="true"]::after { content: '−'; transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
}
.faq-a.open { display: block; }
.faq-a p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(30,111,255,0.15), rgba(255,107,26,0.1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  margin-bottom: 10px;
}
.cta-banner p { font-size: 16px; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: var(--dark-2); padding: 72px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-tagline { font-size: 15px; color: var(--text-muted); margin-bottom: 14px; }
.footer-disclaimer { font-size: 12px; color: #4a5168; line-height: 1.6; max-width: 360px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: #4a5168; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p { font-size: 12px; color: #2e3547; text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid, .features-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-wrap: wrap; justify-content: center; }
  .step-connector { display: none; }
  .step { min-width: 220px; margin-bottom: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--dark-2); align-items: center; justify-content: center; gap: 32px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 22px; }
  .hamburger { display: flex; z-index: 100; }
  .btn-nav { display: none; }
  .products-grid, .features-grid, .reviews-grid { grid-template-columns: 1fr; }
  .review-card--featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .hero-stats { padding: 20px; gap: 20px; }
  .stat-divider { display: none; }
}

/* ===== CATEGORY TABS ===== */
.cat-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.cat-tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-tab:hover { border-color: var(--blue); color: var(--blue); }
.cat-tab.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(30,111,255,0.35);
}
.product-card.hidden { display: none; }

/* ===== PRODUCT IMAGES ===== */
.product-img-wrap {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f2ee;
}
.product-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.product-card:hover .product-img {
  transform: scale(1.06);
}

/* ===== CART TRIGGER & BADGE ===== */
.cart-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  margin-left: auto;
}
.cart-trigger:hover {
  border-color: var(--blue-light);
  color: var(--white);
  box-shadow: 0 0 15px rgba(30,111,255,0.2);
}
.cart-icon {
  width: 20px;
  height: 20px;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border: 1.5px solid var(--dark);
}

/* ===== CART OVERLAY & SLIDER PANEL ===== */
.cart-overlay, .modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cart-overlay.open, .modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0; right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--dark-2);
  border-left: 1px solid var(--border);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-panel.open {
  right: 0;
}
.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.cart-panel-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.cart-panel-close, .modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.cart-panel-close:hover, .modal-close:hover {
  color: var(--white);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty-message {
  margin: auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* CART ITEM CARD */
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 64px;
  height: 64px;
  background: #f5f2ee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cart-item-price strong {
  color: var(--white);
}
.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  height: 28px;
}
.cart-qty-ctrl button {
  background: none;
  border: none;
  color: var(--text-muted);
  width: 28px;
  height: 100%;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
.cart-qty-ctrl button:hover {
  background: var(--dark-4);
  color: var(--white);
}
.cart-qty-ctrl span {
  width: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.cart-remove-btn {
  background: none;
  border: none;
  color: rgba(255, 77, 77, 0.7);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s;
}
.cart-remove-btn:hover {
  color: rgb(255, 77, 77);
}

.cart-panel-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--dark-3);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  margin-bottom: 12px;
}
.cart-summary-row strong {
  font-size: 22px;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
}
.cart-summary-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.w-100 {
  width: 100%;
}

/* ===== MODAL GENERAL BOX ===== */
.modal-box {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -45%) scale(0.96);
  width: 90%;
  max-width: 780px;
  max-height: 90vh;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 1001;
  padding: 40px;
  overflow-y: auto;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .modal-box {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.modal-close {
  position: absolute;
  top: 20px; right: 24px;
}

/* ===== PRODUCT MODAL DETAILS ===== */
.modal-prod-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}
.modal-img-wrap {
  width: 100%;
  height: 280px;
  background: #f5f2ee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
}
.modal-img-wrap img {
  height: 240px;
  width: auto;
  object-fit: contain;
}
.coa-verif-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(30,111,255,0.08);
  border: 1px solid rgba(30,111,255,0.15);
  padding: 8px 16px;
  border-radius: 50px;
}
.coa-verif-badge svg {
  width: 16px; height: 16px;
}
.modal-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}
.modal-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--dark-3);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.spec-item {
  font-size: 13px;
  color: var(--text-muted);
}
.spec-item strong {
  color: var(--text);
  margin-right: 4px;
}

.qty-selector-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.qty-selector-wrap label {
  font-size: 14px;
  font-weight: 600;
}
.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  height: 38px;
  background: var(--dark-3);
}
.qty-ctrl button {
  background: none;
  border: none;
  color: var(--text-muted);
  width: 38px;
  height: 100%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s;
}
.qty-ctrl button:hover {
  background: var(--dark-4);
  color: var(--white);
}
.qty-ctrl input {
  width: 44px;
  background: none;
  border: none;
  color: var(--white);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  -moz-appearance: textfield;
}
.qty-ctrl input::-webkit-outer-spin-button,
.qty-ctrl input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-actions .btn {
  justify-content: center;
}

/* ===== CHECKOUT SECURE MODAL ===== */
.modal-box--checkout {
  max-width: 580px;
  padding: 24px 24px 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.col-span-2 {
  grid-column: span 2;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.form-group input {
  background: var(--dark-3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s;
}
.form-group input:focus {
  border-color: var(--blue-light);
  outline: none;
}

.ruo-certify-box {
  background: rgba(255,107,26,0.06);
  border: 1px solid rgba(255,107,26,0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.checkbox-container {
  display: flex;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  user-select: none;
}
.checkbox-container input {
  margin-top: 3px;
  flex-shrink: 0;
}

/* SUCCESS STAGE */
.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(40, 200, 100, 0.1);
  border: 2px solid rgb(40, 200, 100);
  color: rgb(40, 200, 100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-icon-wrap svg {
  width: 36px;
  height: 36px;
}

/* MEDIA ADJUSTMENT FOR MODAL */
@media (max-width: 768px) {
  .modal-prod-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .modal-img-wrap {
    height: 200px;
  }
  .modal-img-wrap img {
    height: 160px;
  }
  .modal-box {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .col-span-2 {
    grid-column: span 1;
  }
}

/* ===== AUTHORIZED RESEARCH GATE ===== */
.products-catalog-container {
  overflow: hidden;
  border-radius: var(--radius);
  margin-top: 32px;
}

.blur-locked {
  filter: blur(16px);
  pointer-events: none;
  user-select: none;
  opacity: 0.25;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blur-locked.unlocked {
  filter: blur(0px);
  pointer-events: auto;
  user-select: auto;
  opacity: 1;
}

.auth-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  background: rgba(10, 11, 14, 0.75);
}

.auth-gate-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-gate-box {
  background: rgba(22, 24, 30, 0.88);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 100px rgba(30, 111, 255, 0.05);
  text-align: center;
  animation: authFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.auth-gate-box::-webkit-scrollbar {
  width: 5px;
}
.auth-gate-box::-webkit-scrollbar-track {
  background: transparent;
}
.auth-gate-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.auth-gate-box::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes authFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-lock-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 111, 255, 0.1);
  border: 1px solid rgba(30, 111, 255, 0.2);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.auth-lock-icon svg {
  width: 20px;
  height: 20px;
}

.auth-gate-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.auth-gate-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.auth-tabs {
  display: flex;
  background: var(--dark-2);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.auth-tab.active {
  background: var(--dark-3);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-gate-box .form-group {
  text-align: left;
  margin-bottom: 16px;
}

.auth-gate-box .form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.auth-gate-box .form-group input {
  width: 100%;
  background: var(--dark-1);
  border: 1.5px solid var(--border);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.25s ease;
}

.auth-gate-box .form-group input:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 12px rgba(30, 111, 255, 0.2);
}

/* Toggling styles for new Register extra details fields */
.auth-register-fields {
  max-height: 0px;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  margin-bottom: 0px;
}

.auth-register-fields.active {
  max-height: 250px;
  opacity: 1;
  margin-bottom: 16px;
}

/* User Badge Header styling */
.auth-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-user-info {
  background: rgba(30, 111, 255, 0.1);
  border: 1px solid rgba(30, 111, 255, 0.2);
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-signout {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-signout:hover {
  background: rgba(255, 107, 26, 0.15);
  border-color: var(--orange);
  color: var(--orange);
}

/* Close button and browse link inside auth gate box */
.auth-gate-close {
  transition: all 0.2s ease;
}
.auth-gate-close:hover {
  color: var(--white) !important;
  transform: scale(1.15);
}

#authGateBrowseLink {
  transition: color 0.2s ease;
}
#authGateBrowseLink:hover {
  color: var(--blue-light) !important;
}

/* Limited View Layout Rules */
.products-catalog-wrapper.limited-view {
  filter: blur(0px) !important;
  pointer-events: auto !important;
  user-select: auto !important;
  opacity: 1 !important;
}

.limited-view .product-price,
.limited-view .product-footer .btn-orange {
  display: none !important;
}

.limited-view .product-footer::after {
  content: '🔒 Sign In to View Price';
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: rgba(30, 111, 255, 0.08);
  border: 1px dashed rgba(30, 111, 255, 0.3);
  color: var(--blue-light);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
}

.limited-view .product-footer:hover::after {
  background: rgba(30, 111, 255, 0.15);
  border-color: var(--blue-light);
  box-shadow: 0 0 12px rgba(30, 111, 255, 0.2);
}

/* ===== CRYPTO PAYMENT SCANNER ANIMATIONS ===== */
@keyframes cryptoPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
    box-shadow: 0 0 0 0 rgba(77, 143, 255, 0.6);
  }
  70% {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 0 0 10px rgba(77, 143, 255, 0);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.5;
    box-shadow: 0 0 0 0 rgba(77, 143, 255, 0);
  }
}

.crypto-pulse-spinner {
  animation: cryptoPulse 2s infinite ease-in-out;
}

/* ===== CRYPTO PAYMENT HIGHLIGHT STYLES ===== */
.btn-highlight-orange {
  border-color: var(--orange) !important;
  color: var(--orange) !important;
  background: rgba(255, 107, 26, 0.08) !important;
  box-shadow: 0 0 16px rgba(255, 107, 26, 0.4) !important;
  animation: buttonPulseOrange 2s infinite ease-in-out;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-highlight-blue {
  border-color: var(--blue-light) !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  box-shadow: 0 0 20px rgba(30, 111, 255, 0.55) !important;
  animation: buttonPulseBlue 2s infinite ease-in-out;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes buttonPulseOrange {
  0% { transform: scale(1); box-shadow: 0 0 12px rgba(255, 107, 26, 0.3); }
  50% { transform: scale(1.02); box-shadow: 0 0 20px rgba(255, 107, 26, 0.55); }
  100% { transform: scale(1); box-shadow: 0 0 12px rgba(255, 107, 26, 0.3); }
}

@keyframes buttonPulseBlue {
  0% { transform: scale(1); box-shadow: 0 0 12px rgba(30, 111, 255, 0.35); }
  50% { transform: scale(1.02); box-shadow: 0 0 22px rgba(30, 111, 255, 0.6); }
  100% { transform: scale(1); box-shadow: 0 0 12px rgba(30, 111, 255, 0.35); }
}






