/* ===== PepGo Design System ===== */
:root {
  --bg: #080C14;
  --bg-card: #0F1729;
  --bg-elevated: #162032;
  --bg-input: #1A2744;
  --text: #E8EDF4;
  --text-muted: #8899B4;
  --text-dim: #5C6E8A;
  --accent: #00C2BA;
  --accent-hover: #00E0D6;
  --accent-glow: rgba(0,194,186,0.15);
  --blue: #3B82F6;
  --blue-glow: rgba(59,130,246,0.12);
  --green: #10B981;
  --red: #EF4444;
  --orange: #F59E0B;
  --border: #1E2D48;
  --border-light: #263554;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { background:var(--bg); color:var(--text); font-family:var(--font-body); line-height:1.6; -webkit-font-smoothing:antialiased; }

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

/* ===== HEADER ===== */
.header {
  position:sticky; top:0; z-index:100;
  background:rgba(8,12,20,0.85); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
.header-inner { display:flex; align-items:center; justify-content:space-between; height:64px; }
.logo { font-family:var(--font-heading); font-size:24px; font-weight:800; color:var(--text); text-decoration:none; letter-spacing:-0.5px; }
.logo-accent { color:var(--accent); }
.nav { display:flex; gap:28px; }
.nav a { color:var(--text-muted); text-decoration:none; font-size:14px; font-weight:500; transition:color .15s; }
.nav a:hover { color:var(--text); }
.header-actions { display:flex; gap:12px; align-items:center; }
.btn-cart {
  position:relative; background:none; border:1px solid var(--border); color:var(--text);
  width:40px; height:40px; border-radius:var(--radius); cursor:pointer; display:flex;
  align-items:center; justify-content:center; transition:all .15s;
}
.btn-cart:hover { border-color:var(--accent); background:var(--accent-glow); }
.cart-count {
  position:absolute; top:-6px; right:-6px; background:var(--accent); color:var(--bg);
  font-size:11px; font-weight:700; width:20px; height:20px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}

/* ===== BUTTONS ===== */
.btn { display:inline-flex; align-items:center; gap:8px; padding:12px 24px; border-radius:var(--radius); font-weight:600; font-size:15px; cursor:pointer; transition:all .2s; border:none; text-decoration:none; }
.btn-primary { background:var(--accent); color:#080C14; }
.btn-primary:hover { background:var(--accent-hover); transform:translateY(-1px); box-shadow:0 4px 24px var(--accent-glow); }
.btn-ghost { background:transparent; color:var(--text); border:1px solid var(--border); }
.btn-ghost:hover { border-color:var(--text-muted); background:var(--bg-elevated); }
.btn-lg { padding:16px 36px; font-size:17px; border-radius:14px; }
.btn-full { width:100%; justify-content:center; }
.btn-sm { padding:6px 14px; font-size:13px; border-radius:8px; }
.btn-outline { background:transparent; border:1px solid var(--accent); color:var(--accent); }
.btn-outline:hover { background:var(--accent-glow); }

/* ===== HERO ===== */
.hero { padding:80px 0 60px; }
.hero-grid { display:grid; grid-template-columns:1fr 380px; gap:60px; align-items:center; }
.hero-badge { display:inline-block; padding:8px 16px; background:var(--accent-glow); border:1px solid rgba(0,194,186,0.2); border-radius:20px; font-size:13px; font-weight:600; color:var(--accent); margin-bottom:24px; }
.hero-title { font-family:var(--font-heading); font-size:clamp(36px,5vw,56px); font-weight:800; line-height:1.1; letter-spacing:-1px; margin-bottom:20px; }
.hero-highlight { color:var(--accent); }
.hero-subtitle { font-size:17px; color:var(--text-muted); max-width:540px; margin-bottom:32px; line-height:1.7; }
.hero-actions { display:flex; gap:12px; margin-bottom:40px; }
.hero-trust { display:flex; flex-wrap:wrap; gap:20px; }
.trust-item { font-size:13px; color:var(--text-muted); display:flex; align-items:center; gap:6px; }
.trust-icon { color:var(--accent); font-weight:700; }

.hero-visual { display:flex; justify-content:center; }
.hero-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; width:100%; max-width:340px; }
.hero-card-header { font-family:var(--font-heading); font-weight:700; font-size:16px; margin-bottom:16px; color:var(--accent); }
.hero-card-item { display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--border); font-size:14px; }
.hero-card-item:last-child { border:none; }
.hci-name { color:var(--text-muted); }
.hci-price { font-weight:700; color:var(--text); }

/* ===== TRUST BAR ===== */
.trust-bar { padding:40px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; text-align:center; }
.trust-stat { display:flex; flex-direction:column; gap:4px; }
.ts-number { font-family:var(--font-heading); font-size:32px; font-weight:800; color:var(--accent); }
.ts-label { font-size:13px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; }

/* ===== SECTIONS ===== */
section { padding:80px 0; }
.section-title { font-family:var(--font-heading); font-size:clamp(28px,4vw,40px); font-weight:800; text-align:center; margin-bottom:12px; letter-spacing:-0.5px; }
.section-subtitle { text-align:center; color:var(--text-muted); font-size:16px; margin-bottom:48px; }

/* ===== HOW IT WORKS ===== */
.how { background:var(--bg-card); }
.steps { display:flex; align-items:center; justify-content:center; gap:24px; max-width:900px; margin:0 auto; }
.step { flex:1; text-align:center; padding:32px 20px; background:var(--bg-elevated); border:1px solid var(--border); border-radius:var(--radius-lg); }
.step-number {
  width:48px; height:48px; border-radius:50%; background:var(--accent); color:var(--bg);
  display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:800;
  font-family:var(--font-heading); margin:0 auto 16px;
}
.step h3 { font-family:var(--font-heading); font-size:18px; margin-bottom:8px; }
.step p { font-size:14px; color:var(--text-muted); line-height:1.5; }
.step-arrow { font-size:28px; color:var(--accent); font-weight:700; flex-shrink:0; }

/* ===== CATALOG ===== */
.cat-filters { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:24px; }
.cat-filter {
  padding:8px 18px; border-radius:20px; border:1px solid var(--border); background:transparent;
  color:var(--text-muted); font-size:13px; font-weight:500; cursor:pointer; transition:all .15s;
}
.cat-filter:hover { border-color:var(--text-muted); color:var(--text); }
.cat-filter.active { background:var(--accent); color:var(--bg); border-color:var(--accent); }
.cat-search { max-width:480px; margin:0 auto 32px; }
.search-input {
  width:100%; padding:12px 20px; background:var(--bg-input); border:1px solid var(--border);
  border-radius:var(--radius); color:var(--text); font-size:15px; outline:none; transition:border-color .15s;
}
.search-input:focus { border-color:var(--accent); }
.search-input::placeholder { color:var(--text-dim); }

.product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:16px; }
.product-card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
  padding:20px; transition:all .2s; cursor:pointer; position:relative;
}
.product-card:hover { border-color:var(--accent); transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,0.3); }
.product-card .pc-cat { font-size:11px; color:var(--accent); text-transform:uppercase; letter-spacing:0.5px; font-weight:600; margin-bottom:6px; }
.product-card .pc-name { font-family:var(--font-heading); font-size:18px; font-weight:700; margin-bottom:4px; }
.product-card .pc-dose { font-size:13px; color:var(--text-dim); margin-bottom:10px; }
.product-card .pc-desc { font-size:13px; color:var(--text-muted); line-height:1.5; margin-bottom:14px; }
.product-card .pc-bottom { display:flex; align-items:center; justify-content:space-between; }
.product-card .pc-price { font-family:var(--font-heading); font-size:24px; font-weight:800; color:var(--accent); }
.product-card .pc-price small { font-size:13px; color:var(--text-dim); font-weight:400; }
.product-card .pc-actions { display:flex; gap:8px; }

/* ===== DETAILS ===== */
.details { background:var(--bg-card); }
.details-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; }
.detail-card { text-align:center; padding:28px 20px; }
.detail-icon { font-size:36px; margin-bottom:14px; }
.detail-card h3 { font-family:var(--font-heading); font-size:17px; margin-bottom:8px; }
.detail-card p { font-size:14px; color:var(--text-muted); line-height:1.6; }

/* ===== COMPLIANCE ===== */
.compliance { padding:40px 0; }
.compliance-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:28px; text-align:center; }
.compliance-card h3 { color:var(--orange); font-family:var(--font-heading); margin-bottom:8px; }
.compliance-card p { font-size:13px; color:var(--text-dim); max-width:800px; margin:0 auto; line-height:1.7; }

/* ===== FAQ ===== */
.faq-grid { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.faq-item summary { padding:18px 24px; font-weight:600; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq-item summary::after { content:'+'; font-size:20px; color:var(--accent); }
.faq-item[open] summary::after { content:'−'; }
.faq-item p { padding:0 24px 18px; color:var(--text-muted); font-size:14px; line-height:1.7; }

/* ===== CTA ===== */
.cta { text-align:center; background:linear-gradient(135deg,var(--bg-elevated),var(--bg-card)); border-radius:var(--radius-lg); margin:0 24px 80px; padding:64px 24px; }
.cta h2 { font-family:var(--font-heading); font-size:32px; margin-bottom:8px; }
.cta p { color:var(--text-muted); margin-bottom:28px; font-size:16px; }

/* ===== FOOTER ===== */
.footer { border-top:1px solid var(--border); padding:48px 0 32px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; }
.footer-grid h4 { font-family:var(--font-heading); font-size:15px; margin-bottom:12px; }
.footer-grid a { display:block; color:var(--text-dim); text-decoration:none; font-size:13px; margin-bottom:6px; transition:color .15s; }
.footer-grid a:hover { color:var(--text-muted); }
.footer-grid p { font-size:13px; color:var(--text-dim); line-height:1.6; }
.footer-notice { margin-top:12px; font-size:11px; color:var(--text-dim); }

/* ===== CART DRAWER ===== */
.cart-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:200; opacity:0; pointer-events:none; transition:opacity .25s;
}
.cart-overlay.open { opacity:1; pointer-events:all; }
.cart-drawer {
  position:fixed; top:0; right:0; bottom:0; width:100%; max-width:420px; background:var(--bg-card);
  border-left:1px solid var(--border); z-index:201; transform:translateX(100%); transition:transform .3s ease;
  display:flex; flex-direction:column;
}
.cart-drawer.open { transform:translateX(0); }
.cart-header { display:flex; align-items:center; justify-content:space-between; padding:20px 24px; border-bottom:1px solid var(--border); }
.cart-header h3 { font-family:var(--font-heading); font-size:18px; }
.cart-close { background:none; border:none; color:var(--text-muted); font-size:20px; cursor:pointer; }
.cart-items { flex:1; overflow-y:auto; padding:16px 24px; }
.cart-empty { color:var(--text-dim); text-align:center; padding:48px 0; }
.cart-item { display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--border); }
.cart-item-info { flex:1; }
.cart-item-name { font-weight:600; font-size:14px; }
.cart-item-dose { font-size:12px; color:var(--text-dim); }
.cart-item-price { font-weight:700; color:var(--accent); margin-right:12px; font-family:var(--font-heading); }
.cart-item-remove { background:none; border:none; color:var(--red); cursor:pointer; font-size:18px; padding:4px; }
.cart-footer { padding:20px 24px; border-top:1px solid var(--border); }
.cart-total { display:flex; justify-content:space-between; font-size:18px; font-weight:700; margin-bottom:16px; font-family:var(--font-heading); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .steps { flex-direction:column; }
  .step-arrow { transform:rotate(90deg); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .trust-grid { grid-template-columns:1fr 1fr; }
  .nav { display:none; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .hero-actions { flex-direction:column; }
  .cart-drawer { max-width:100%; }
}
