/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');

:root {
    --primary-blue: #0f172a;
    --accent-gold: #fbbf24;
    --chatdancer-pink: #FF5887;
    --success-green: #10b981;
    --text-main: #334155;
    --text-dark: #1e293b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: var(--text-dark);
}

/* Navigation */
.nav-bar {
    background: var(--primary-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 80px 20px 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 900;
}

.hero p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Last Updated */
.meta-info {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Comparison Table */
.comparison-section {
    max-width: 1000px;
    margin: -40px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.table-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: #f1f5f9;
    padding: 20px;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.app-name-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.rank-badge {
    width: 24px;
    height: 24px;
    background: #cbd5e1;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 10px;
}

.rank-1 {
    background: var(--accent-gold);
}

.rating-stars {
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.verdict-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.verdict-winner {
    background: #dcfce7;
    color: #166534;
}

.verdict-good {
    background: #f1f5f9;
    color: #475569;
}

.cta-button-small {
    background: var(--chatdancer-pink);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    transition: background 0.2s;
}

.cta-button-small:hover {
    background: #e11d48;
}

/* Reviews List */
.reviews-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.review-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.review-item.winner {
    border: 2px solid var(--chatdancer-pink);
    position: relative;
    box-shadow: 0 0 0 4px rgba(255, 88, 135, 0.1);
}

.winner-banner {
    background: var(--chatdancer-pink);
    color: var(--white);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 6px -1px rgba(255, 88, 135, 0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.review-title h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.score {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: #f8fafc;
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
}

.pc-list h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #64748b;
}

.pc-list ul {
    list-style: none;
}

.pc-list li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.pros li::before {
    content: "✓";
    color: var(--success-green);
    font-weight: bold;
}

.cons li::before {
    content: "✕";
    color: #94a3b8;
    font-weight: bold;
}

.review-content {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 30px;
    line-height: 1.7;
}

.review-cta {
    text-align: center;
}

.cta-button-large {
    background: var(--chatdancer-pink);
    color: var(--white);
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 15px -3px rgba(255, 88, 135, 0.2);
}

.cta-button-large:hover {
    transform: translateY(-2px);
    background: #e11d48;
    box-shadow: 0 20px 25px -5px rgba(255, 88, 135, 0.3);
}

.subtext {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: #94a3b8;
    padding: 60px 20px;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .comparison-section {
        overflow-x: auto;
    }
    
    .comparison-table {
        min-width: 600px;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
}
