/* ============================================================
   PeptideCO — Home Page Styles
   Bootstrap 5 base + custom overrides
   ============================================================ */

/* ── Scroll animation ── */
.fade-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

/* ── Navbar ── */
.navbar { border-bottom: 1px solid #e2e8f0; }
.logo-box {
    width: 32px; height: 32px;
    background: #2563eb;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.logo-box i { color: #fff; font-size: 16px; }
.navbar-brand .text-primary { color: #2563eb !important; }
.nav-link { color: #475569 !important; border-radius: 6px; padding: 6px 14px !important; }
.nav-link:hover { background: #f1f5f9; }
.nav-link.active { background: #eff6ff !important; color: #2563eb !important; font-weight: 500; }

/* ── Hero ── */
.hero-section {
    background: linear-gradient(170deg, #0a1f3d 0%, #0f2849 40%, #1a3a6b 100%);
    padding: 90px 0 64px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px; padding: 6px 18px;
    color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: 1.5px;
    margin-bottom: 28px;
}
.hero-section h1 {
    color: #fff; font-size: 54px; font-weight: 800; line-height: 1.1;
    margin-bottom: 20px;
}
.hero-section h1 .highlight { color: #60b0f8; }
.hero-section .lead { color: #94b8d8; font-size: 17px; line-height: 1.7; max-width: 600px; margin: 0 auto 36px; }
.btn-hero-primary {
    background: #2563eb; color: #fff; border: none;
    padding: 12px 26px; border-radius: 8px;
    font-size: 14px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background .2s;
}
.btn-hero-primary:hover { background: #1d4ed8; color: #fff; }
.btn-hero-dark {
    background: rgba(255,255,255,.12); color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    padding: 12px 26px; border-radius: 8px;
    font-size: 14px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background .2s;
}
.btn-hero-dark:hover { background: rgba(255,255,255,.2); color: #fff; }

/* Stats bar */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px; margin-top: 60px; overflow: hidden;
}
.stat-item {
    padding: 22px 16px; text-align: center;
    border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num { color: #fff; font-size: 26px; font-weight: 800; display: block; }
.stat-lbl { color: rgba(255,255,255,.5); font-size: 12px; margin-top: 2px; display: block; }

/* ── Section common ── */
.section-eyebrow {
    font-size: 12px; font-weight: 700; letter-spacing: 2px;
    color: #2563eb; text-transform: uppercase; margin-bottom: 12px;
}
.section-heading {
    font-size: 36px; font-weight: 800; color: #0f172a;
    line-height: 1.2; margin-bottom: 16px;
}
.section-sub { color: #64748b; font-size: 16px; line-height: 1.6; }

/* ── Why Us cards ── */
.why-card {
    border: 1px solid #e2e8f0; border-radius: 12px;
    padding: 26px; background: #fff; height: 100%;
    transition: box-shadow .2s;
}
.why-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.why-icon {
    width: 40px; height: 40px;
    border: 1px solid #e2e8f0; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; color: #475569;
}

/* ── Pen product cards ── */
.pen-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 22px;
    display: flex; flex-direction: column; height: 100%;
    transition: box-shadow .2s, transform .2s;
}
.pen-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.pen-price-main { font-size: 18px; font-weight: 700; color: #0f172a; }
.pen-price-usd { font-size: 13px; color: #94a3b8; font-weight: 400; }
.ingredient-tag {
    font-size: 11px; border: 1px solid #e2e8f0;
    border-radius: 4px; padding: 2px 8px; color: #64748b;
    display: inline-block;
}

/* Badge variants */
.badge-bestseller { background: #dbeafe; color: #1d4ed8; }
.badge-popular    { background: #e0e7ff; color: #4338ca; }
.badge-new        { background: #faf5ff; color: #7c3aed; }
.badge-performance{ background: #fef3c7; color: #b45309; }
.badge-recovery   { background: #d1fae5; color: #065f46; }
.badge-sale       { background: #fee2e2; color: #991b1b; }

/* ── Journey steps ── */
.step-card {
    border: 1px solid #e2e8f0; border-radius: 12px;
    padding: 26px; height: 100%;
}
.step-card.is-active { border-color: #2563eb; background: #f0f7ff; }
.step-num { font-size: 28px; font-weight: 800; color: #e2e8f0; margin-bottom: 16px; }
.step-card.is-active .step-num { color: #bdd7fc; }
.step-icon {
    width: 36px; height: 36px; border: 1px solid #e2e8f0;
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; margin-bottom: 14px; color: #475569;
}
.step-card.is-active .step-icon { border-color: #bdd7fc; color: #2563eb; }
.step-title { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.step-card.is-active .step-title { color: #2563eb; }

/* ── Goal section ── */
.goals-section {
    background: linear-gradient(170deg, #0a1f3d 0%, #0f2849 60%, #1a3a6b 100%);
    padding: 72px 0;
}
.goals-eyebrow {
    font-size: 12px; letter-spacing: 2px;
    color: #60b0f8; text-transform: uppercase;
    font-weight: 600; margin-bottom: 16px;
}
.goal-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff; padding: 10px 20px; border-radius: 50px;
    font-size: 14px; cursor: pointer; text-decoration: none;
    transition: background .2s;
}
.goal-pill:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ── Testimonials ── */
.testi-card {
    border: 1px solid #e2e8f0; border-radius: 12px;
    padding: 24px; display: flex; flex-direction: column;
    height: 100%;
}
.testi-stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }
.testi-quote {
    font-size: 13px; color: #334155; line-height: 1.7;
    flex: 1; margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9; padding-bottom: 16px;
}
.testi-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: #dbeafe; color: #1d4ed8;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 700; color: #0f172a; }
.testi-meta { font-size: 11px; color: #94a3b8; }

/* ── Mission ── */
.mission-section { background: #f8fafc; }
.mission-heading { font-size: 38px; font-weight: 800; color: #0f172a; line-height: 1.2; }
.mission-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 10px; padding: 18px; height: 100%;
}
.mission-icon {
    width: 36px; height: 36px; border: 1px solid #e2e8f0;
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; margin-bottom: 10px; color: #475569;
}

/* ── Blog cards ── */
.blog-card {
    border: 1px solid #e2e8f0; border-radius: 12px;
    padding: 24px; height: 100%;
    transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.blog-category-badge {
    font-size: 11px; border-radius: 20px;
    padding: 3px 12px; font-weight: 500;
}
.blog-date { font-size: 12px; color: #94a3b8; }
.blog-title { font-size: 15px; font-weight: 700; color: #0f172a; line-height: 1.4; margin-bottom: 8px; }
.blog-excerpt { font-size: 13px; color: #64748b; line-height: 1.6; }

/* ── Newsletter ── */
.newsletter-section {
    background: linear-gradient(170deg, #0a1f3d 0%, #0f2849 60%, #1a3a6b 100%);
    padding: 88px 0;
}
.nl-perk { color: rgba(255,255,255,.7); font-size: 13px; }
.nl-input-group .form-control {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    border-right: none; color: #fff;
    padding: 12px 18px; border-radius: 8px 0 0 8px;
    font-size: 14px;
}
.nl-input-group .form-control::placeholder { color: rgba(255,255,255,.4); }
.nl-input-group .form-control:focus {
    background: rgba(255,255,255,.12);
    box-shadow: none; border-color: rgba(255,255,255,.35); color: #fff;
}
.nl-input-group .btn { border-radius: 0 8px 8px 0; }
.nl-note { color: rgba(255,255,255,.35); font-size: 12px; }

/* ── Footer ── */
.site-footer { background: #fff; border-top: 1px solid #e2e8f0; }
.footer-disclaimer { font-size: 11px; color: #94a3b8; }
.footer-link {
    display: block; font-size: 13px; color: #64748b;
    text-decoration: none; margin-bottom: 8px;
    transition: color .15s;
}
.footer-link:hover { color: #2563eb; }
.footer-bottom {
    border-top: 1px solid #f1f5f9;
    padding: 14px 0; font-size: 12px; color: #94a3b8;
}
.footer-bottom a { color: #94a3b8; text-decoration: none; }
.footer-bottom a:hover { color: #2563eb; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .hero-section h1 { font-size: 36px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 767px) {
    .hero-section { padding: 56px 0 40px; }
    .section-heading { font-size: 26px; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
}
