/* ============================================
   True Reliable Comparison - Main Stylesheet
   ============================================ */

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 700;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.brand-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
}

.brand-text .brand-name {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

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

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

/* Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 640px;
    margin: 0 auto 32px;
    opacity: 0.92;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.feature-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feature-badge:hover {
    background-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

/* Why Choose */
.why-choose {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.0625rem;
    text-align: center;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.feature-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-white);
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* Services */
.services {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 36px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* Categories */
.categories {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

.category-link {
    cursor: pointer;
    position: relative;
}

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

.category-featured {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.category-link:hover .category-featured {
    color: var(--secondary-color);
}

/* Reviewers Team */
.reviewers-team {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.reviewers-team .section-title {
    margin-bottom: 12px;
}

.reviewers-team .section-subtitle {
    margin-bottom: 40px;
}

.reviewers-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.team-card-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background-color: var(--bg-light);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.45);
}

.team-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 50%;
}

.team-card-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 4px;
}

.team-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 12px;
}

.team-card-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}

.team-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    background-color: #eff6ff;
    padding: 4px 10px;
    border-radius: 999px;
}

.team-card-bio {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: #d1d5db;
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-section h4 {
    color: var(--bg-white);
    font-size: 1.0625rem;
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #9ca3af;
}

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

.footer-section ul a {
    font-size: 0.9375rem;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.footer-section ul a:hover {
    color: var(--bg-white);
}

.contact-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
}

#contact {
    scroll-margin-top: 5.5rem;
}

.footer-disclosures {
    border-top: 1px solid #374151;
    padding: 32px 0;
}

.disclosure {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 16px;
}

.disclosure:last-child {
    margin-bottom: 0;
}

.disclosure strong {
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar .container {
        flex-direction: column;
        gap: 16px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 0.875rem;
    }

    .hero {
        padding: 64px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .why-choose,
    .services,
    .categories,
    .reviewers-team {
        padding: 56px 0;
    }

    .feature-card,
    .service-card,
    .category-card,
    .team-card {
        padding: 24px 20px;
    }

    .reviewers-team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    .footer {
        padding-top: 48px;
    }
}

@media (max-width: 480px) {
    .categories-grid,
    .reviewers-team-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-features {
        gap: 8px;
    }

    .feature-badge {
        font-size: 0.8125rem;
        padding: 6px 14px;
    }
}
