/* ==========================================================================
   PeptideHub — Enterprise Research Peptides Supplier
   Minimal, corporate, ultra-professional. Inter throughout.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f8f8f8;
  --text: #1a1a1a;
  --text-muted: #555555;
  --text-faint: #767676;
  --border: #e0e0e0;
  --accent: #0d6a78;
  --accent-dark: #0a545f;
  --accent-ink: #1a3a4a;
  --white: #ffffff;

  --maxw: 1200px;
  --gutter: 24px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--bordered { border-top: 1px solid var(--border); }

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title { font-size: 30px; margin-bottom: 12px; }

.section-intro {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover { border-color: var(--text); }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 26px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--text); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--accent); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 20px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Hero --------------------------------------------------------------------- */
.hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 108px 0;
}
.hero-inner { max-width: 780px; }
.hero h1 { font-size: 48px; line-height: 1.1; margin-bottom: 20px; }
.hero .subhead { font-size: 19px; color: var(--text-muted); margin-bottom: 34px; }
.hero-meta {
  margin-top: 30px;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* Trust badges ------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 26px 24px;
  text-align: center;
}
.trust-item .trust-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.trust-item .trust-sub { font-size: 13px; color: var(--text-faint); }

/* Products ----------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.product-media {
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 18px 18px 20px; }
.product-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.product-purity { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.product-price { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Why / features ----------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.feature-item {
  padding: 30px 26px;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.feature-item:last-child { border-right: none; }
.feature-stat { font-size: 15px; font-weight: 700; color: var(--accent-ink); margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* FAQ ---------------------------------------------------------------------- */
.faq-list { max-width: 820px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  position: relative;
}
.faq-question::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -8px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item.is-open .faq-question::after { transform: rotate(-135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p {
  padding: 0 40px 24px 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* CTA band ----------------------------------------------------------------- */
.cta-band { background: var(--accent-ink); color: var(--white); }
.cta-band .section-title { color: var(--white); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-copy { max-width: 560px; }
.cta-copy p { color: rgba(255,255,255,0.78); margin-top: 10px; font-size: 16px; }
.cta-band .btn--primary { background: var(--white); color: var(--accent-ink); border-color: var(--white); }
.cta-band .btn--primary:hover { background: #e8eef0; border-color: #e8eef0; }

/* Footer ------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { height: 24px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--text-faint); max-width: 320px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom .disclaimer { max-width: 620px; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-bottom: 1px solid var(--border); }
  .feature-item:nth-child(2n) { border-right: none; }
}

@media (max-width: 860px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: block; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav.is-open a {
    width: 100%;
    padding: 14px var(--gutter);
    border-top: 1px solid var(--border);
  }

  .hero { padding: 72px 0; }
  .hero h1 { font-size: 34px; }
  .hero .subhead { font-size: 17px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .section-title { font-size: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; }
  .feature-item:last-child { border-bottom: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 29px; }
}
