:root {
    /* Primary Colors */
    --primary-color: #008080;
    --secondary-color: #87CEEB;
    --accent-color: #FF6F61;
    
    /* Background Colors */
    --bg-light: #F2F2F2;
    --bg-mint: #F5FFFA;
    --bg-pastel: #E3F2FD;
    
    /* Text Colors */
    --text-dark: #2E2E2E;
    --text-gray: #2F4F4F;
    
    /* CTA Colors */
    --cta-primary: #4169E1;
    --cta-secondary: #FFC107;
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #008080, #87CEEB);
    --gradient-2: linear-gradient(135deg, #4169E1, #87CEEB);
    --gradient-3: linear-gradient(135deg, #FF6F61, #FFC107);
    
    /* Dark Mode Colors */
    --dark-bg: #121212;
    --dark-text: #E0E0E0;
    --dark-accent: #03DAC6;
    --dark-cta: #BB86FC;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.hero-section {
    background: var(--gradient-1);
    padding: 180px 0 100px;
    color: white;
    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 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.1;
}

/* Advertiser Section */
.advertiser-section {
    background: var(--bg-pastel);
    color: var(--text-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.advertiser-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.advertiser-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Publisher Section */
.publisher-section {
    background: var(--bg-mint);
    color: var(--text-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.publisher-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.publisher-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.feature-box {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    margin: 20px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

/* Stats Section Improvements */
.stats-section {
    background: linear-gradient(to bottom, #2563eb, #3b82f6);
    color: var(--text-dark);
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.stat-box {
    text-align: center;
    padding: 40px 20px 30px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
    border: 1px solid #e0e0e0;
    margin: 20px 0;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
    will-change: transform, box-shadow;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: statBoxFadeIn 0.7s forwards;
    overflow: visible;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes statBoxFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stat-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0,0,0,0.13);
    border-color: var(--cta-secondary);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
    display: block;
    line-height: 1;
    transition: color 0.3s;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}

.stat-box:hover .stat-icon {
    color: var(--cta-secondary);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--cta-secondary);
    margin-bottom: 10px;
    letter-spacing: 1px;
    transition: color 0.3s;
    line-height: 1.1;
    overflow: visible;
}

.stat-box:hover .stat-number {
    color: var(--accent-color);
}

.stats-section h2 {
    font-size: 2.1rem;
    font-weight: 700;
}

.stats-section p.lead {
    font-size: 1.1rem;
}

.stats-section .fw-bold {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.stats-cta {
    margin-top: 32px;
    text-align: center;
}
.stats-cta .btn-primary {
    background: var(--cta-primary);
    color: #fff;
    border-radius: 30px;
    padding: 14px 38px;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 16px rgba(65,105,225,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}
.stats-cta .btn-primary:hover {
    background: var(--cta-secondary);
    color: #333;
    box-shadow: 0 8px 32px rgba(255,193,7,0.13);
}

@media (max-width: 992px) {
    .stat-box {
        min-height: 140px;
        padding: 20px 5px 10px 5px;
    }
    .stat-number {
        font-size: 24px;
    }
    .stat-icon {
        font-size: 1.3rem;
    }
    .stats-section h2 {
        font-size: 1.3rem;
    }
    .stats-section p.lead {
        font-size: 0.95rem;
    }
}
@media (max-width: 600px) {
    .stat-box {
        min-height: 120px;
        padding: 20px 5px 10px 5px;
    }
    .stat-number {
        font-size: 28px;
    }
    .stat-icon {
        font-size: 1.5rem;
    }
}

.cta-section {
    background: var(--gradient-3);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.btn-custom {
    background: var(--cta-primary);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background: var(--cta-secondary);
}

/* Advertiser Button */
.btn-advertiser {
    background: var(--primary-color);
}

.btn-advertiser:hover {
    background: var(--secondary-color);
}

/* Publisher Button */
.btn-publisher {
    background: var(--secondary-color);
}

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

/* Testimonial Slider */
.testimonial-slider {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonial-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.testimonial-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--primary-color);
}

/* Animation Classes */
.floating {
    animation: floating 3s ease-in-out infinite;
}

.bounce {
    animation: bounce 2s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 150px 0 80px;
        text-align: center;
    }

    .feature-box {
        margin: 15px 0;
    }

    .stat-box {
        margin: 15px 0;
        padding: 30px 10px;
    }

    .stat-number {
        font-size: 36px;
    }

    .navbar {
        background: white !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--dark-bg);
        color: var(--dark-text);
    }

    .navbar {
        background: rgba(18, 18, 18, 0.95) !important;
    }

    .advertiser-section,
    .publisher-section {
        background: var(--dark-bg);
    }

    .advertiser-box,
    .publisher-box,
    .feature-box,
    .testimonial-box {
        background: #1E1E1E;
        border-color: rgba(255,255,255,0.1);
    }

    .btn-custom {
        background: var(--dark-cta);
    }

    .btn-custom:hover {
        background: var(--dark-accent);
    }
} 