/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-color: #0052D4;
    --secondary-color: #4364F7;
    --accent-color: #FFC107;
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --light-gray-bg: #f9f9f9;
    --footer-bg: #1d2434;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* --- General & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; }

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

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

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

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

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

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

.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 20px auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

/* --- Services Section (Home Page) --- */
.services-section {
    padding: 60px 0;
    background-color: var(--light-gray-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

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

.service-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 82, 212, 0.15);
}

.service-card .icon {
    font-size: 4.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- General Content Page --- */
.content-page {
    padding: 60px 0;
}
.content-page h1 {
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 2rem;
}

.content-page p, .content-page ul {
    margin-bottom: 1rem;
}

.content-page ul {
    margin-left: 20px;
}

/* --- Affiliate Landing Page --- */
.affiliate-hero {
    position: relative;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
    background: url('http://googleusercontent.com/image_generation_content/3') no-repeat center center/cover;
}

.affiliate-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* Softened overlay */
    z-index: 1;
}

.affiliate-hero-content {
    position: relative;
    z-index: 2;
}

.affiliate-hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3); /* Softer text shadow */
}

.affiliate-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.5rem;
}

.reviews-section {
    padding: 60px 0;
}

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

.review-card {
    background-color: var(--light-gray-bg);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.review-card .author {
    font-weight: 600;
    color: var(--primary-color);
}

.review-card .stars {
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

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

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

.footer-column a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 10px;
}

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

    .main-nav {
        position: absolute;
        top: 87px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }

    .main-nav.active {
        max-height: 500px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

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

    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 15px;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .hamburger-menu {
        display: block;
    }
}