/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #6366f1;
    font-size: 28px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #6366f1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #6366f1;
    color: white;
}

.btn-primary:hover {
    background: #5855eb;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    background: #6366f1;
    color: white;
}

.btn-large:hover {
    background: #5855eb;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.hero-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-main h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-main p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: #64748b;
}

/* Publishers and Advertisers Sections */
.publishers, .advertisers {
    padding: 80px 0;
}

.publishers {
    background: #fff;
}

.advertisers {
    background: #f8fafc;
}

.publishers h2, .advertisers h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.publishers h3, .advertisers h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #334155;
}

.publishers p, .advertisers p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #64748b;
    max-width: 800px;
}

/* Ad Formats */
.ad-formats {
    margin-top: 60px;
}

.ad-formats h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.format-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #f1f5f9;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn.active {
    background: #6366f1;
    color: white;
}

.tab-btn:hover {
    background: #e2e8f0;
}

.tab-btn.active:hover {
    background: #5855eb;
}

.tab-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e293b;
}

.tab-pane p {
    margin-bottom: 20px;
    color: #64748b;
}

.tab-pane ul {
    list-style: none;
    padding-left: 0;
}

.tab-pane li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #475569;
}

.tab-pane li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}

/* Payment Methods */
.payment-methods {
    padding: 80px 0;
    background: #1e293b;
    color: white;
    text-align: center;
}

.payment-methods h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.payment-icon {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 8px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1e293b;
}

.about p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #64748b;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: #f8fafc;
}

.blog h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    color: #1e293b;
}

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

.blog-post {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-category {
    background: #6366f1;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.blog-post h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e293b;
}

.blog-date {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-post p {
    color: #64748b;
    margin-bottom: 20px;
}

.blog-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}

.blog-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: #6366f1;
    font-size: 28px;
}

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

.footer-column h4 {
    margin-bottom: 20px;
    color: #f1f5f9;
}

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

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

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #6366f1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
}

.footer-legal a:hover {
    color: #6366f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-main h1 {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .payment-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-main h1 {
        font-size: 28px;
    }

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

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

    .tab-content {
        padding: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-card, .stat-item, .blog-post {
    animation: fadeInUp 0.6s ease-out;
}
