/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

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

h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.2s ease;
}

a:hover {
    border-bottom: 1px solid #0066cc;
}

.card {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.section {
    padding: 3rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.section:last-child {
    border-bottom: none;
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 2rem 0;
    text-align: center;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero */
.hero {
    background-color: #fafafa;
    text-align: center;
}

.focus-label {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
    color: #333;
    margin-top: 1rem;
}

/* Source Cards */
.source-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: #666;
    margin-right: 1rem;
}

.screenshot-container {
    margin: 1.5rem 0;
    text-align: center;
}

.screenshot {
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

.screenshot-container small {
    color: #666;
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

.insights {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

/* Statistics */
.stat-category h4 {
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.stat-value {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Lists */
.insights-list {
    list-style: none;
    padding: 0;
}

.insights-list li {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
}

.insights-list li::before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 1rem;
    top: 1rem;
}

/* Footer */
footer {
    background-color: #f8f8f8;
    border-top: 1px solid #e5e5e5;
    padding: 2rem 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Logo Styles */
.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 8px 12px 8px 0;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .source-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo-placeholder {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}