@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-primary: #000000;
    --color-secondary: #f0f0f0;
    --color-accent: #cc0000; /* Subtle accent if needed */
    --color-footer-bg: #f5f5f5;
    
    --font-main: 'Inter', sans-serif;
    
    --max-width-content: 800px;
    --max-width-container: 1200px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Header & Nav */
.affiliate-banner {
    background-color: var(--color-secondary);
    color: #666;
    text-align: center;
    font-size: 0.8rem;
    padding: 8px;
    border-bottom: 1px solid #e5e5e5;
}

header {
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand-logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    transition: color 0.2s ease;
}

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

/* Page Headers */
.page-header {
    text-align: center;
    padding: 4rem 5% 2rem;
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.page-header .subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Article Content Layout */
.article-content {
    padding: 2rem 5% 5rem;
}

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

.article-content img {
    border-radius: 16px;
    margin-bottom: 2rem;
    width: 100%;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #333;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

/* Pull Quote */
.pull-quote {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    margin: 3rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--color-primary);
    line-height: 1.4;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-solid {
    background-color: var(--color-primary);
    color: #ffffff;
    border: 2px solid var(--color-primary);
}

.btn-solid:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* Footer */
footer {
    background-color: var(--color-footer-bg);
    padding: 4rem 5% 2rem;
    border-top: 1px solid #e5e5e5;
}

.footer-grid {
    max-width: var(--max-width-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.footer-col a {
    display: block;
    margin-bottom: 0.8rem;
    color: #555;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
    font-size: 0.85rem;
    color: #777;
    max-width: var(--max-width-container);
    margin: 0 auto;
}

/* Features Grid */
.features-section {
    background-color: var(--color-bg);
    padding: 4rem 5%;
    border-top: 1px solid #e5e5e5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--max-width-container);
    margin: 2rem auto 0;
}

.feature-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Testimonials */
.testimonials-section {
    background-color: #fafafa;
    padding: 4rem 5%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--max-width-container);
    margin: 2rem auto 0;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #444;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.stars {
    color: #f5b301;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--color-bg);
    padding: 4rem 5%;
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.faq-answer {
    color: #555;
    font-size: 0.95rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .pull-quote {
        font-size: 1.3rem;
    }
}
