/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0077b6;
    --primary-dark: #005f8a;
    --accent: #f77f00;
    --bg: #f8f9fa;
    --bg-card: #ffffff;
    --text: #2d3436;
    --text-light: #636e72;
    --border: #dfe6e9;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --radius: 12px;
    --max-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Navigation ===== */
nav {
    background: var(--bg-card);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #0077b6 0%, #023e8a 100%);
    color: white;
    padding: 5rem 1.5rem;
    text-align: center;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(247, 127, 0, 0.4);
    color: white;
}

/* ===== Sections ===== */
.products, .blog-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.products h2, .blog-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-number {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
    color: var(--text);
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00b894;
    font-weight: bold;
}

.affiliate-link {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.affiliate-link:hover {
    background: var(--primary-dark);
    color: white;
}

.disclosure {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    font-style: italic;
}

/* ===== Blog Grid ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.blog-card:hover {
    transform: translateY(-3px);
}

.blog-card h3 {
    margin-bottom: 0.75rem;
}

.blog-card h3 a {
    color: var(--text);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.read-more {
    font-weight: 600;
    color: var(--primary);
}

/* ===== Blog Post Pages ===== */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.blog-post h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post .meta {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.blog-post h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-dark);
}

.blog-post h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

.blog-post p {
    margin-bottom: 1.25rem;
}

.blog-post ul, .blog-post ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.blog-post li {
    margin-bottom: 0.5rem;
}

.blog-post .cta-box {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4edfa 100%);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2rem 0;
}

.blog-post .cta-box p {
    margin-bottom: 0.75rem;
}

/* ===== FAQ Section ===== */
.faq-section {
    margin: 2rem 0;
}

.faq-section h2 {
    margin-bottom: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
}

/* ===== Privacy Policy ===== */
.privacy-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.privacy-page h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-page h2 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--primary-dark);
}

.privacy-page p {
    margin-bottom: 1rem;
}

/* ===== Footer ===== */
footer {
    background: var(--text);
    color: white;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: white;
}

footer .disclosure {
    color: rgba(255,255,255,0.6);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 0.75rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

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

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

    .products h2, .blog-section h2 {
        font-size: 1.6rem;
    }

    .blog-post h1 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .products, .blog-section {
        padding: 2.5rem 1rem;
    }

    .product-card, .blog-card {
        padding: 1.5rem;
    }
}
