/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0c0a14;
  --bg-secondary: #13111d;
  --bg-card: #1c1928;
  --bg-card-hover: #252236;
  --accent: #f0b429;
  --accent-dim: #d4a017;
  --accent-glow: rgba(240, 180, 41, .12);
  --text-primary: #ede9e3;
  --text-secondary: #a8a0b4;
  --text-muted: #6e6680;
  --border: #2d2640;
  --border-light: #3d3558;
  --white: #ffffff;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.5);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(12, 10, 20, .85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); background: rgba(12, 10, 20, .95); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--white); letter-spacing: -.025em; }
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #e8590c);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; color: var(--bg-primary);
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-secondary); font-size: .925rem; font-weight: 500; position: relative; }
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .925rem;
  border: none; cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font);
  letter-spacing: -.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e8590c);
  color: var(--bg-primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(240, 180, 41, .35); color: var(--bg-primary); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-sm { padding: 8px 20px; font-size: .85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; }
.mobile-toggle svg { width: 26px; height: 26px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(240, 180, 41, .07), transparent),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(232, 89, 12, .05), transparent);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .03;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero .container { position: relative; z-index: 1; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 100px;
  background: var(--accent-glow); border: 1px solid rgba(240, 180, 41, .25);
  font-size: .85rem; font-weight: 600; color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s infinite; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 24px; letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--white) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .accent-word {
  background: linear-gradient(135deg, var(--accent), #e8590c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 620px; margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 64px; padding-top: 48px;
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2.25rem; font-weight: 700; color: var(--accent); letter-spacing: -.03em; }
.hero-stat .label { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .tag {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: var(--accent-glow); border: 1px solid rgba(240, 180, 41, .2);
  font-size: .8rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; margin-bottom: 16px; letter-spacing: -.02em;
}
.section-header p { color: var(--text-secondary); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ===== WHY CHOOSE US ===== */
.why-section { background: var(--bg-secondary); }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}

.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.feature-card p { color: var(--text-secondary); font-size: .925rem; line-height: 1.65; }

/* ===== PEPTIDES CATALOG ===== */
.peptides-section { position: relative; }

.filter-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 100px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: .85rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
  font-family: var(--font);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); font-weight: 600; }

.search-bar {
  max-width: 480px; margin: 0 auto 32px; position: relative;
}
.search-bar input {
  width: 100%; padding: 14px 20px 14px 48px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-primary);
  font-size: .95rem; font-family: var(--font);
  transition: border-color var(--transition);
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar input:focus { outline: none; border-color: var(--accent); }
.search-bar .search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}

.peptide-count { text-align: center; color: var(--text-muted); font-size: .9rem; margin-bottom: 28px; }

.peptides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.peptide-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.peptide-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }

.peptide-card .card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.peptide-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.peptide-card .abbr {
  font-size: .7rem; font-weight: 700; padding: 3px 8px;
  border-radius: 6px; background: var(--accent-glow); color: var(--accent);
  letter-spacing: .5px;
}

.peptide-card .description { font-size: .85rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.55; }

.peptide-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.peptide-tag {
  padding: 3px 10px; border-radius: 100px;
  background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .2);
  font-size: .72rem; font-weight: 500; color: #c4b5fd;
}
.peptide-tag.green { background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .2); color: #6ee7b7; }
.peptide-tag.blue { background: rgba(99, 102, 241, .1); border-color: rgba(99, 102, 241, .2); color: #a5b4fc; }
.peptide-tag.amber { background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .2); color: #fcd34d; }
.peptide-tag.rose { background: rgba(244, 63, 94, .1); border-color: rgba(244, 63, 94, .2); color: #fda4af; }

.peptide-card .research-level {
  font-size: .75rem; font-weight: 600; padding: 4px 12px;
  border-radius: 100px; display: inline-block; margin-bottom: 14px; width: fit-content;
}
.research-level.extensive { background: rgba(16, 185, 129, .15); color: #34d399; }
.research-level.well { background: rgba(99, 102, 241, .15); color: #818cf8; }
.research-level.emerging { background: rgba(245, 158, 11, .15); color: #fbbf24; }
.research-level.limited { background: rgba(156, 163, 175, .15); color: #9ca3af; }
.research-level.fda { background: rgba(232, 89, 12, .15); color: #fb923c; }

.peptide-card .card-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.peptide-card .quote-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600; color: var(--accent);
}
.peptide-card .quote-link:hover { color: var(--white); }
.peptide-card .quote-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.peptide-card .quote-link:hover svg { transform: translateX(4px); }

/* ===== HOW IT WORKS ===== */
.how-section { background: var(--bg-secondary); }

.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px; position: relative;
}

.step-card { text-align: center; position: relative; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e8590c);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; color: var(--bg-primary);
  margin: 0 auto 20px;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--text-secondary); font-size: .9rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(240, 180, 41, .07), rgba(232, 89, 12, .07));
  border: 1px solid rgba(240, 180, 41, .15);
  border-radius: var(--radius-lg);
  padding: 56px 40px; text-align: center;
  margin: 0 24px;
  max-width: 1152px;
  margin-left: auto; margin-right: auto;
}
.cta-banner h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -.02em; }
.cta-banner p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ===== CONTACT ===== */
.contact-section { position: relative; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}

.contact-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }

.contact-detail {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .icon-box {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--accent-glow); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail .icon-box svg { width: 20px; height: 20px; color: var(--accent); }
.contact-detail .detail-text .label { font-size: .8rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-detail .detail-text .value { font-weight: 600; font-size: .95rem; }

.contact-form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.contact-form-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-size: .925rem; font-family: var(--font);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236e6680' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note { font-size: .8rem; color: var(--text-muted); margin-top: 16px; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-secondary); font-size: .9rem; max-width: 320px; line-height: 1.65; }

.footer-col h4 { font-weight: 700; font-size: .95rem; margin-bottom: 16px; color: var(--white); }
.footer-col a { display: block; color: var(--text-secondary); font-size: .9rem; padding: 5px 0; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: .85rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== PRIVACY PAGE ===== */
.privacy-page { padding-top: 120px; padding-bottom: 80px; }
.privacy-page h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -.02em; }
.privacy-page .updated { color: var(--text-muted); font-size: .9rem; margin-bottom: 48px; }
.privacy-page h2 { font-size: 1.4rem; font-weight: 700; margin-top: 40px; margin-bottom: 16px; color: var(--white); }
.privacy-page h3 { font-size: 1.1rem; font-weight: 600; margin-top: 28px; margin-bottom: 12px; }
.privacy-page p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.75; }
.privacy-page ul { margin: 12px 0 20px 24px; }
.privacy-page li { color: var(--text-secondary); margin-bottom: 8px; line-height: 1.65; list-style: disc; }
.privacy-page a { color: var(--accent); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  opacity: 0; transform: translateY(16px);
  transition: all var(--transition);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(240, 180, 41, .3);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(240, 180, 41, .5); }

/* ===== MOBILE NAV ===== */
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--bg-secondary); border-bottom: 1px solid var(--border);
  padding: 24px; z-index: 999;
  flex-direction: column; gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-primary); font-size: 1.05rem; font-weight: 500; padding: 8px 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .peptides-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 2.25rem; }
  .hero-sub { font-size: 1.05rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat .number { font-size: 1.75rem; }
  .section { padding: 72px 0; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-banner { padding: 40px 24px; margin: 0 16px; }
  .cta-banner h2 { font-size: 1.5rem; }
  .peptides-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 6px 14px; font-size: .8rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .contact-form-card { padding: 24px; }
}
