/* PGB Peptide - Global Stylesheet */
/* Domain: pgbpeptide.com */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a4d8c;
    --primary-dark: #063461;
    --primary-light: #1a6dbb;
    --accent: #00a8a8;
    --accent-light: #2dd4d4;
    --text-dark: #1a2332;
    --text-body: #3d4a5c;
    --text-light: #6b7a8f;
    --bg-light: #f5f8fc;
    --bg-white: #ffffff;
    --border: #e1e8f0;
    --shadow: 0 2px 12px rgba(10, 77, 140, 0.08);
    --shadow-hover: 0 8px 30px rgba(10, 77, 140, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
    background: var(--bg-white);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent);
}

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

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

/* ===== Header ===== */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent);
}

.logo-sub {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
}

.main-nav a {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary);
    color: #fff;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-dark);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    color: #fff;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--accent-light);
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.92;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 168, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.btn-dark {
    background: var(--primary);
    color: #fff;
}

.btn-dark:hover {
    background: var(--primary-light);
    color: #fff;
}

/* ===== Page Banner (inner pages) ===== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 60px 0 50px;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.88;
}

.breadcrumb {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--accent-light);
}

.breadcrumb span {
    margin: 0 8px;
    opacity: 0.5;
}

/* ===== Main Content ===== */
.main-content {
    padding: 70px 0;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.content-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 36px;
    margin-bottom: 14px;
}

.content-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 28px;
    margin-bottom: 10px;
}

.content-section p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-body);
}

.content-section ul,
.content-section ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.content-section strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.content-section blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-dark);
}

/* ===== Feature Cards ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 40px 0;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.feature-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

/* ===== Product Table ===== */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.product-table thead {
    background: var(--primary);
    color: #fff;
}

.product-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}

.product-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.product-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.product-table tbody tr:hover {
    background: #e8f4f4;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tag-blue { background: #e3f0ff; color: var(--primary); }
.tag-green { background: #e0f7f7; color: var(--accent); }
.tag-orange { background: #fff3e0; color: #e67e22; }

/* ===== Stats Section ===== */
.stats-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-item .number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-item .number span {
    color: var(--accent);
}

.stat-item .label {
    font-size: 15px;
    color: var(--text-light);
    margin-top: 8px;
}

/* ===== Process Steps ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.step-item {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-item h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* ===== Contact Form ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 40px 0;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-info-item .icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 15px;
}

.contact-form {
    background: var(--bg-light);
    padding: 36px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 16px;
    cursor: pointer;
}

.faq-item h4 {
    color: var(--primary-dark);
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item p {
    margin-top: 12px;
    margin-bottom: 0;
    color: var(--text-body);
    font-size: 15px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    color: #fff;
    text-align: center;
    padding: 70px 0;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
    border: none;
}

.cta-section p {
    font-size: 17px;
    opacity: 0.92;
    margin-bottom: 30px;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--text-dark);
    color: #a0afc4;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #a0afc4;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--accent-light);
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--accent-light);
}

/* Research Declaration */
.research-declaration {
    background: rgba(0, 168, 168, 0.1);
    border: 1px solid rgba(0, 168, 168, 0.3);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 30px 0;
    text-align: center;
}

.research-declaration p {
    color: #7dd3d3;
    font-size: 13px;
    margin: 0;
    line-height: 1.7;
}

.research-declaration strong {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #a0afc4;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: var(--shadow-hover);
        padding: 16px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .page-banner h1 {
        font-size: 28px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .content-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 50px 0 60px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}
