/* ═══════════════════════════════════════════
   SPICE PEPTIDES — MAIN STYLESHEET
   style.css (index.html)
═══════════════════════════════════════════ */

:root {
  --primary:        #2563eb;
  --primary-light:  #3b82f6;
  --primary-soft:   rgba(37,99,235,0.08);
  --primary-border: rgba(37,99,235,0.22);
  --primary-glow:   rgba(37,99,235,0.18);

  --bg:       #ffffff;
  --surface:  #f8fafc;
  --surface-2:#f1f5f9;

  --text:      #0c1628;
  --text-muted:#5a6a85;
  --text-sub:  #94a3b8;

  --border:    rgba(148,163,184,0.18);
  --shadow-sm: 0 8px 24px rgba(15,23,42,0.06);
  --shadow-md: 0 20px 48px rgba(15,23,42,0.10);
  --shadow-lg: 0 32px 72px rgba(15,23,42,0.14);

  --nav-h: 80px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── PARTICLES ─── */
#particles-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 900;
  transition: box-shadow 0.3s ease;
}
nav.scrolled {
  box-shadow: 0 4px 32px rgba(15,23,42,0.08);
}

.nav-logo {
  height: 68px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 3px 10px rgba(37,99,235,0.2));
}
.nav-logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 18px rgba(37,99,235,0.38));
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--primary); background: var(--primary-soft); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(37,99,235,0.24);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37,99,235,0.32);
}

/* ─── HERO ─── */
.hero {

  padding: calc(var(--nav-h) + 60px) 40px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 7px 16px 7px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: 'DM Mono', monospace;
  animation: badge-in 0.7s ease forwards;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(37,99,235,0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(37,99,235,0.08); }
}
@keyframes badge-in {
  from { opacity:0; transform: translateY(12px); }
  to   { opacity:1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: slide-up 0.8s 0.15s ease forwards;
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--primary);
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  opacity: 0;
  animation: slide-up 0.8s 0.3s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: slide-up 0.8s 0.45s ease forwards;
}

@keyframes slide-up {
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: translateY(0); }
}

.hero-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fade-in-scale 1s 0.5s ease forwards;
}
.hero-logo-img {
  height: clamp(220px, 28vw, 340px);
  filter: drop-shadow(0 24px 60px rgba(37,99,235,0.22));
}
@keyframes fade-in-scale {
  from { opacity:0; transform: scale(0.92); }
  to   { opacity:1; transform: scale(1); }
}

/* ─── BUTTONS ─── */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37,99,235,0.24);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37,99,235,0.32);
}

.btn-ghost {
  background: rgba(255,255,255,0.8);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary-border);
  color: var(--primary);
  background: #fff;
  transform: translateY(-2px);
}

/* ─── STATS ─── */
.stats-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}

.stat-item {
  flex: 1;
  padding: 36px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.stat-item:hover { background: var(--primary-soft); }

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

.stat-number {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-suffix { font-size: 30px; }

.stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-sub);
}

/* ─── TRUST ─── */
.trust-section {
  position: relative;
  z-index: 1;
  padding: 90px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}
.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.trust-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.trust-card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.trust-card p {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text-muted);
}

/* ─── CTA SECTION ─── */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  border-top: 1px solid var(--border);
}

.cta-inner {
  max-width: 660px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: 'DM Mono', monospace;
  opacity: 0.75;
}

.cta-section h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  line-height: 1.1;
}
.text-accent { color: var(--primary); }

.cta-section p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer-brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: 'DM Mono', monospace;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-sub);
}

/* ─── FADE-IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-h: 70px; }

  nav { padding: 0 20px; }
  .nav-logo { height: 56px; }
  .nav-link { display: none; }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: calc(var(--nav-h) + 28px) 24px 40px;
    gap: 16px;
  }
  .hero-content { max-width: 100%; }
  .hero-visual { display: flex; margin-bottom: 4px; }
  .hero-logo-img { height: 110px; }
  .hero-actions { justify-content: center; }
  .hero-sub { font-size: 15px; }
  .hero-badge { font-size: 10px; }

  .stats-strip { flex-direction: column; gap: 0; }
  .stat-divider { width: 80%; height: 1px; }
  .stat-item { padding: 24px 20px; width: 100%; }

  .trust-section { padding: 60px 24px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .cta-section { padding: 72px 24px; }

  footer { padding: 24px 20px; flex-direction: column; gap: 8px; text-align: center; }
  .footer-copy { text-align: center; }

  .fade-in { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 34px; }
  .hero-logo-img { height: 180px; }
  .trust-grid { grid-template-columns: 1fr; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; width: 100%; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-ghost { width: 100%; max-width: 320px; }
}