/* Global Styles */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --border-color: #ddd;
    --header-height: 80px;
    --footer-bg: #2c3e50;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    width: 300px;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.logo-container h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo-image {
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-image {
    transform: rotate(3deg);
}

.main-nav {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary-color);
}

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

.main-nav a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    display: block;
    font-weight: normal;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Submenu Container */
.submenu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.submenu {
    display: flex;
    list-style: none;
}

.submenu li {
    margin-right: 20px;
}

.search-container {
    position: relative;
}

.search-container input[type="text"] {
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    min-width: 300px;
    outline: none;
    font-size: 14px;
}

.search-container button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #777;
}

/* Hero Section */
.hero {
    display: flex;
    padding: 70px 5%;
    background: linear-gradient(135deg, #e6f2ff 0%, #cce6ff 100%);
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.hero-text {
    max-width: 800px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-text .highlight {
    color: #0066cc;
    font-weight: 700;
    border-bottom: 5px solid rgba(0, 102, 204, 0.2);
    padding-bottom: 5px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-top: 20px;
    color: #4a4a4a;
    font-weight: 500;
}

.hero-logo {
    transition: transform 0.6s ease;
}

.hero-logo:hover {
    transform: rotate(5deg) scale(1.05);
}

/* Featured Articles Section */
.featured-articles {
    padding: 60px 5%;
}

.featured-articles h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

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

.card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: white;
}

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

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.card-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.read-more:hover {
    border-color: var(--primary-color);
}

/* Latest Articles Section */
.latest-articles {
    padding: 60px 5%;
    background-color: var(--light-bg);
}

.latest-articles h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.article-list {
    max-width: 900px;
    margin: 0 auto;
}

.list-item {
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.list-item h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.list-item .date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding-top: 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 5% 40px;
}

.footer-info {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-nav {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-nav h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-nav a {
    color: #ddd;
}

.footer-nav a:hover {
    color: white;
}

.back-to-top {
    text-align: center;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
}

.back-to-top a {
    color: white;
    font-weight: 500;
}

.back-to-top i {
    margin-right: 5px;
}

/* Article Page Styles */
.article-page {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 5%;
    gap: 40px;
}

.review-content {
    flex: 3;
    min-width: 300px;
}

.sidebar {
    flex: 1;
    min-width: 250px;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stars {
    color: #f8ce0b;
    margin-right: 10px;
}

.rating-text {
    font-weight: 600;
}

.article-image {
    margin-bottom: 30px;
}

.article-image img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

.table-of-contents {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.table-of-contents h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.table-of-contents ul {
    list-style-type: none;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: var(--text-color);
    text-decoration: none;
}

.table-of-contents a:hover {
    color: var(--primary-color);
}

.review-content section {
    margin-bottom: 40px;
}

.review-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.review-content h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

.review-content h4 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.review-content p {
    margin-bottom: 15px;
}

.review-content ul, .review-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.review-content li {
    margin-bottom: 10px;
}

.service-option, .tech-highlight {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.pricing-table {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.pricing-item {
    flex: 1;
    min-width: 250px;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
}

.pros-cons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.pros, .cons {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 8px;
}

.pros {
    background-color: rgba(40, 167, 69, 0.1);
}

.cons {
    background-color: rgba(220, 53, 69, 0.1);
}

.final-rating {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.prev-article, .next-article {
    max-width: 45%;
}

.author-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.author-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.related-articles {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.related-articles h3, .author-card h3 {
    margin-bottom: 15px;
}

.related-articles ul {
    list-style-type: none;
}

.related-articles li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.related-articles li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cta-box {
    background-color: #e6f2ff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.cta-box h3 {
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 15px;
}

/* Company Comparison Styles */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.comparison-table th, .comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--light-bg);
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.comparison-table .highlight {
    background-color: rgba(0, 102, 204, 0.1);
}

.winner {
    color: #28a745;
    font-weight: 600;
}

/* Company logo styles */
.company-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0 30px;
}

.company-logos .logo-container {
    text-align: center;
    max-width: 250px;
}

.company-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .article-page {
        flex-direction: column;
    }
    
    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    .logo-image {
        height: 40px !important;
    }
    
    .main-nav {
        margin-bottom: 15px;
    }
    
    .submenu-container {
        flex-direction: column;
    }
    
    .submenu {
        margin-bottom: 15px;
    }
    
    .search-container input[type="text"] {
        min-width: auto;
        width: 100%;
    }
    
    .pricing-table, .pros-cons-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
} 