/* LevelUp Peptides Design System — Dark Purple/Cyan Theme */
:root {
  --lu-purple: #7C3AED;
  --lu-purple-light: #9F67FF;
  --lu-purple-dark: #5B21B6;
  --lu-cyan: #06B6D4;
  --lu-cyan-light: #38D9F5;
  --lu-navy: #0F0B1A;
  --lu-navy-2: #160D2B;
  --lu-navy-3: #1E1040;
  --lu-surface: rgba(124,58,237,0.08);
  --lu-surface-hover: rgba(124,58,237,0.15);
  --lu-border: rgba(124,58,237,0.25);
  --lu-border-bright: rgba(124,58,237,0.5);
  --lu-text: #F1F0F8;
  --lu-text-muted: #94A3B8;
  --lu-text-dim: #64748B;
  --lu-success: #10B981;
  --lu-warning: #F59E0B;
  --lu-danger: #EF4444;
  --lu-glass-bg: rgba(15,11,26,0.85);
  --lu-glass-border: rgba(124,58,237,0.2);
  --sf-primary: var(--lu-purple);
  --sf-accent: var(--lu-cyan);
  --sf-banner-bg: var(--lu-purple);
}

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

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}

body{
  background:var(--lu-navy);
  color:var(--lu-text);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
  font-size:16px;
  line-height:1.6;
  min-height:100vh;
}

/* ── Background ─────────────────────────────────────────────────── */
body::before{
  content:'';
  position:fixed;inset:0;z-index:-1;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(124,58,237,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(6,182,212,0.12) 0%, transparent 70%),
    var(--lu-navy);
  pointer-events:none;
}

/* ── Typography ─────────────────────────────────────────────────── */
h1,h2,h3,h4,h5{font-weight:800;line-height:1.2;letter-spacing:-0.02em}
a{color:var(--lu-purple-light);text-decoration:none}
a:hover{color:var(--lu-cyan)}

/* ── Glass card ─────────────────────────────────────────────────── */
.glass-card{
  background:var(--lu-glass-bg);
  border:1px solid var(--lu-glass-border);
  border-radius:16px;
  backdrop-filter:blur(12px) saturate(150%);
  -webkit-backdrop-filter:blur(12px) saturate(150%);
  box-shadow:0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
.glass-card:hover{
  border-color:var(--lu-border-bright);
  box-shadow:0 8px 32px rgba(124,58,237,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ── Gradient text ──────────────────────────────────────────────── */
.gradient-text{
  background:linear-gradient(135deg, var(--lu-purple-light) 0%, var(--lu-cyan) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 28px;
  background:linear-gradient(135deg, var(--lu-purple) 0%, var(--lu-purple-dark) 100%);
  color:#fff;
  border:none;border-radius:12px;
  font-size:15px;font-weight:700;
  cursor:pointer;
  transition:transform .15s, box-shadow .15s, filter .15s;
  box-shadow:0 4px 16px rgba(124,58,237,0.4);
  text-decoration:none;
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(124,58,237,0.5);
  filter:brightness(1.1);
  color:#fff;
}
.btn-primary:active{transform:translateY(0) scale(.98)}

.btn-secondary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 24px;
  background:transparent;
  color:var(--lu-purple-light);
  border:1.5px solid var(--lu-border-bright);
  border-radius:12px;
  font-size:15px;font-weight:600;
  cursor:pointer;
  transition:all .2s;
  text-decoration:none;
}
.btn-secondary:hover{
  background:var(--lu-surface);
  border-color:var(--lu-purple-light);
  color:var(--lu-purple-light);
}

.btn-cyan{
  background:linear-gradient(135deg, var(--lu-cyan) 0%, #0284C7 100%);
  box-shadow:0 4px 16px rgba(6,182,212,0.4);
}
.btn-cyan:hover{box-shadow:0 8px 24px rgba(6,182,212,0.5)}

/* ── Nav ───────────────────────────────────────────────────────── */
.topbar{
  position:sticky;top:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 24px;height:64px;
  background:rgba(15,11,26,0.92);
  border-bottom:1px solid var(--lu-border);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
.topbar-logo{display:flex;align-items:center;gap:12px;text-decoration:none}
.topbar-logo img{height:36px}
.nav-links{display:flex;align-items:center;gap:24px}
.nav-links a{color:var(--lu-text-muted);font-size:14px;font-weight:500;transition:color .2s}
.nav-links a:hover{color:var(--lu-text)}
.topbar-actions{display:flex;align-items:center;gap:12px}
.cart-icon{
  position:relative;display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:10px;
  background:var(--lu-surface);border:1px solid var(--lu-border);
  color:var(--lu-text);cursor:pointer;transition:all .2s;
}
.cart-icon:hover{background:var(--lu-surface-hover);border-color:var(--lu-border-bright)}
.cart-badge{
  position:absolute;top:-4px;right:-4px;
  min-width:18px;height:18px;border-radius:9px;
  background:var(--lu-purple);color:#fff;
  font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  display:none;
}
.hamburger{display:none;background:none;border:none;color:var(--lu-text);cursor:pointer;padding:8px}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero{
  position:relative;
  min-height:80vh;
  display:flex;align-items:center;justify-content:center;
  text-align:center;padding:80px 24px;
  overflow:hidden;
}
.hero::before{
  content:'';position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 30%, rgba(124,58,237,0.25) 0%, transparent 65%);
}
.hero-content{position:relative;z-index:1;max-width:760px}
.hero-badge{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 16px;border-radius:100px;
  background:rgba(124,58,237,0.15);border:1px solid rgba(124,58,237,0.3);
  font-size:12px;font-weight:600;color:var(--lu-purple-light);
  text-transform:uppercase;letter-spacing:1px;margin-bottom:24px;
}
.hero h1{font-size:clamp(2.4rem,6vw,4rem);margin-bottom:20px;line-height:1.1}
.hero p{font-size:1.15rem;color:var(--lu-text-muted);margin-bottom:36px;max-width:560px;margin-left:auto;margin-right:auto}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}

.hero-trust{
  display:flex;flex-wrap:wrap;gap:20px;justify-content:center;
  margin-top:48px;
}
.trust-item{
  display:flex;align-items:center;gap:8px;
  color:var(--lu-text-muted);font-size:13px;
}
.trust-item svg{color:var(--lu-purple-light)}

/* ── Section ────────────────────────────────────────────────────── */
.section{padding:80px 24px}
.section-header{text-align:center;margin-bottom:48px}
.section-header h2{font-size:clamp(1.8rem,4vw,2.8rem);margin-bottom:12px}
.section-header p{color:var(--lu-text-muted);font-size:1.05rem;max-width:560px;margin:0 auto}
.container{max-width:1200px;margin:0 auto}

/* ── Product grid ────────────────────────────────────────────────── */
.products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:20px;
}
.product-card{
  position:relative;
  border-radius:16px;overflow:hidden;
  background:var(--lu-glass-bg);
  border:1px solid var(--lu-glass-border);
  transition:transform .2s, border-color .2s, box-shadow .2s;
  display:flex;flex-direction:column;
}
.product-card:hover{
  transform:translateY(-4px);
  border-color:rgba(124,58,237,0.4);
  box-shadow:0 12px 32px rgba(124,58,237,0.2);
}
.product-card-img{
  aspect-ratio:1;overflow:hidden;
  background:var(--lu-navy-2);
  display:flex;align-items:center;justify-content:center;
}
.product-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.product-card:hover .product-card-img img{transform:scale(1.05)}
.product-card-body{padding:16px;flex:1;display:flex;flex-direction:column}
.product-name{font-size:14px;font-weight:700;margin-bottom:6px;line-height:1.3}
.product-desc{font-size:12px;color:var(--lu-text-muted);margin-bottom:12px;flex:1;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-price-row{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.product-price{font-size:18px;font-weight:800;color:var(--lu-purple-light)}
.product-compare{font-size:13px;color:var(--lu-text-dim);text-decoration:line-through}
.btn-add-cart{
  width:100%;padding:10px;border-radius:10px;
  background:var(--lu-surface);
  border:1px solid var(--lu-border);
  color:var(--lu-text);font-size:13px;font-weight:600;
  cursor:pointer;transition:all .2s;margin-top:auto;
}
.btn-add-cart:hover{background:var(--lu-purple);border-color:var(--lu-purple);color:#fff}
.product-badges{position:absolute;top:10px;left:10px;display:flex;flex-wrap:wrap;gap:4px}
.badge{padding:3px 10px;border-radius:100px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.badge-new{background:var(--lu-purple);color:#fff}
.badge-hot{background:var(--lu-cyan);color:#0F0B1A}
.badge-ruo{background:rgba(255,255,255,0.1);color:var(--lu-text-muted);border:1px solid rgba(255,255,255,0.15)}

/* ── Auth agent banner ───────────────────────────────────────────── */
.agent-banner{
  display:flex;align-items:center;gap:12px;
  padding:12px 20px;border-radius:12px;
  background:rgba(124,58,237,0.1);border:1px solid rgba(124,58,237,0.2);
  font-size:13px;color:var(--lu-text-muted);
}
.agent-banner strong{color:var(--lu-purple-light)}

/* ── Footer ─────────────────────────────────────────────────────── */
.footer{
  background:var(--lu-navy-2);
  border-top:1px solid var(--lu-border);
  padding:48px 24px 24px;
}
.footer-grid{
  display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;
  max-width:1200px;margin:0 auto 40px;
}
.footer-brand p{color:var(--lu-text-muted);font-size:13px;margin-top:12px;max-width:280px}
.footer-col h4{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--lu-text-muted);margin-bottom:16px}
.footer-col a{display:block;color:var(--lu-text-muted);font-size:13px;margin-bottom:8px;transition:color .2s}
.footer-col a:hover{color:var(--lu-text)}
.footer-bottom{
  max-width:1200px;margin:0 auto;
  padding-top:24px;border-top:1px solid var(--lu-border);
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:12px;
}
.footer-bottom p{font-size:12px;color:var(--lu-text-dim)}

/* ── Mobile menu ────────────────────────────────────────────────── */
.mobile-menu{
  display:none;position:fixed;inset:0;z-index:200;
  background:rgba(15,11,26,0.97);
  flex-direction:column;padding:24px;
}
.mobile-menu.open{display:flex}
.mobile-menu-links{display:flex;flex-direction:column;gap:20px;margin-top:40px}
.mobile-menu-links a{font-size:20px;font-weight:700;color:var(--lu-text)}
.mobile-close{position:absolute;top:20px;right:20px;background:none;border:none;color:var(--lu-text);font-size:28px;cursor:pointer}

/* ── Responsive ─────────────────────────────────────────────────── */
@media(max-width:768px){
  .nav-links,.topbar-actions .btn-primary{display:none}
  .hamburger{display:block}
  .footer-grid{grid-template-columns:1fr 1fr}
  .products-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .products-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .hero h1{font-size:2rem}
}

/* ── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:var(--lu-navy)}
::-webkit-scrollbar-thumb{background:var(--lu-border-bright);border-radius:3px}
