/* Base Styles */
:root {
    --primary: #4831D4;
    --secondary: #00C9A7;
    --accent: #CCF381;
    --text: #333333;
    --text-light: #666666;
    --background: #FFFFFF;
    --section-bg: #F8FCFA;
    --card-bg: #FFFFFF;
    --border-radius: 12px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Header Styles */
header {
    padding: 1rem 0;
    background-color: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.logo-svg {
    margin-right: 10px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    margin-left: 2rem;
    transition: var(--transition);
    text-align: center;
}

.cta-button:hover {
    background-color: #3A28B3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(72, 49, 212, 0.3);
}

.cta-button.secondary {
    background-color: var(--secondary);
}

.cta-button.secondary:hover {
    background-color: #00B396;
    box-shadow: 0 8px 20px rgba(0, 201, 167, 0.3);
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, rgba(204, 243, 129, 0.2) 0%, rgba(72, 49, 212, 0.05) 100%);
    margin-top: 1rem;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Top Sites Section */
.top-sites {
    padding: 5rem 0;
    background-color: var(--section-bg);
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.site-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.site-card:hover {
    transform: translateY(-10px);
}

.site-card.featured {
    border: 2px solid var(--accent);
    background-color: rgba(204, 243, 129, 0.05);
}

.rank {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.site-card.featured .rank {
    background-color: var(--secondary);
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.stars {
    color: #FFD700;
}

.features-list {
    margin: 1.5rem 0;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Comparison Section */
.comparison {
    padding: 5rem 0;
    background-color: var(--background);
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

thead {
    background-color: var(--primary);
    color: white;
}

th:first-child {
    border-top-left-radius: 8px;
}

th:last-child {
    border-top-right-radius: 8px;
}

tbody tr:hover {
    background-color: rgba(72, 49, 212, 0.05);
}

.featured-row {
    background-color: rgba(204, 243, 129, 0.2);
}

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background-color: var(--section-bg);
}

.review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary);
    font-weight: 600;
}

.review-link:hover {
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #3A28B3 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.cta-section .cta-button {
    background-color: var(--accent);
    color: var(--primary);
}

.cta-section .cta-button:hover {
    background-color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #1A1A2E;
    color: white;
    padding: 4rem 0 1rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo span {
    margin-left: 10px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-group h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-group ul li {
    margin-bottom: 0.5rem;
}

.footer-group ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-group ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul, nav .cta-button {
        display: none;
    }
    
    nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background);
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }
    
    nav.active .cta-button {
        display: block;
        margin: 1rem auto;
        width: 90%;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    .sites-grid, .review-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero {
        padding-top: 3rem;
    }
    
    .top-sites, .comparison, .reviews, .cta-section {
        padding: 3rem 0;
    }
}
