/* Main Styles */
:root {
    --primary-color: #4a00b0;
    --secondary-color: #8e44ad;
    --accent-color: #ff9800;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Header */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-section img {
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Top Sites Section */
.top-sites-section .row {
    position: relative;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-sites-section .row:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Card design */
.card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Table styles */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table th {
    background-color: var(--primary-color);
    color: white;
}

/* Testimonials */
.testimonials-section .card {
    position: relative;
}

.testimonials-section .card::before {
    content: """;
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 100px;
    color: rgba(0, 0, 0, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
    background-color: rgba(74, 0, 176, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(74, 0, 176, 0.25);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Footer */
footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .btn {
        margin-bottom: 1rem;
    }
    
    .how-to-choose-section .card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

/* SEO Image optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Badge styles */
.badge {
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
}

/* Reviews stars */
.fa-star, .fa-star-half-alt {
    color: #ffc107;
}

/* Accessibility improvements */
.btn {
    font-weight: 600;
}

/* Print styles */
@media print {
    header, footer, .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
    }
}
