/*
Theme Name: Peptide Pro
Theme URI: https://example.com/peptide-pro
Author: Feeling IT Services
Description: A modern WooCommerce theme for peptide wellness products. Sample site for pre-FDA approval marketing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: peptide-pro
*/

:root {
    --pp-primary: #1a5276;
    --pp-secondary: #2ecc71;
    --pp-accent: #3498db;
    --pp-dark: #1a1a2e;
    --pp-light: #f8f9fa;
    --pp-warning: #e74c3c;
    --pp-gradient: linear-gradient(135deg, #1a5276 0%, #2ecc71 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--pp-light);
}

/* Header */
.site-header {
    background: var(--pp-dark);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.site-logo span {
    color: var(--pp-secondary);
}

.main-nav a {
    color: #ccc;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--pp-secondary);
}

/* Hero */
.hero-section {
    background: var(--pp-gradient);
    padding: 6rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 30px 30px;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-block;
    background: var(--pp-secondary);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);
}

/* Coupon / Price Guide Bar */
.coupon-bar {
    background: #f1c40f;
    color: #1a1a2e;
    padding: 0.6rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.coupon-bar input {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d4ac0d;
    border-radius: 6px;
    font-size: 0.9rem;
    text-transform: uppercase;
    width: 160px;
}
.coupon-bar button {
    background: #1a1a2e;
    color: #fff;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
}
.coupon-bar button:hover { background: #2c3e50; }
.coupon-bar.active { background: #2ecc71; color: #fff; }
.coupon-bar.active button { background: rgba(0,0,0,0.3); }
.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85em;
    margin-right: 0.4rem;
    font-weight: 400;
}

/* Single Red FDA Banner (togglable) */
.fda-banner {
    background: #c0392b;
    color: #fff;
    padding: 0.75rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
}
.fda-banner .close-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}
.fda-banner .close-btn:hover {
    background: rgba(255,255,255,0.35);
}

/* Products Grid */
.products-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--pp-dark);
}

.products-section .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    background: var(--pp-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--pp-dark);
}

.product-tag {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.product-info p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pp-primary);
}

.product-disclaimer {
    font-size: 0.75rem;
    color: #999;
    font-style: italic;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

/* Survey Section */
.survey-section {
    background: var(--pp-dark);
    padding: 5rem 2rem;
    color: #fff;
}

.survey-container {
    max-width: 700px;
    margin: 0 auto;
}

.survey-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.survey-section .subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 3rem;
}

.survey-form {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ddd;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-group select option {
    background: var(--pp-dark);
    color: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    accent-color: var(--pp-secondary);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--pp-secondary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

/* Results section */
.survey-results {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--pp-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    display: none;
}

.survey-results h3 {
    color: var(--pp-secondary);
    margin-bottom: 1rem;
}

.survey-results .recommendation {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.survey-results .disclaimer-note {
    font-size: 0.85rem;
    color: #e74c3c;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Info Section */
.info-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.info-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--pp-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: var(--pp-dark);
    color: #aaa;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #e74c3c;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 1rem;
}

.footer-links a:hover {
    color: var(--pp-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav a {
        margin-left: 1rem;
    }
}
