/* CSS Variables for Theme Management */
:root {
    /* Bias Colors */
    --color-center: #007AFF;
    --color-left: #FF0000;
    --color-right: #AF52DE;
    
    /* Light Mode Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F2F2F7;
    --text-primary: #1C1C1E;
    --text-secondary: #6E6E73;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Light Mode Only - Dark Mode Disabled */

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Responsive Design - iPhone SE and Small Mobile (320px+) */
@media (min-width: 375px) {
    .container {
        padding: 0 20px;
    }
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
}

p {
    margin-bottom: var(--spacing-md);
}

/* Header Section */
.header {
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.1) 0%, 
        rgba(255, 0, 0, 0.1) 50%, 
        rgba(175, 82, 222, 0.1) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}


.header .container {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.logo {
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.7;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: var(--shadow-sm);
    margin-top: var(--spacing-md);
}

.app-store-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

.app-store-button:active {
    transform: translateY(0);
}

.app-store-button svg {
    width: 20px;
    height: 24px;
    flex-shrink: 0;
}

.app-store-button span {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-store-button strong {
    font-weight: 600;
    font-size: 1.1em;
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
}

.features h2 {
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Why Section */
.why-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.why-section h2 {
    text-align: center;
}

.why-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.about-section h2 {
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Sources Section */
.sources {
    padding: var(--spacing-xl) 0;
}

.sources h2 {
    text-align: center;
}

.sources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

@media (min-width: 640px) {
    .sources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

.source-group-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.bias-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bias-center {
    background-color: rgba(0, 122, 255, 0.2);
    color: var(--color-center);
}

.bias-left {
    background-color: rgba(255, 0, 0, 0.2);
    color: var(--color-left);
}

.bias-right {
    background-color: rgba(175, 82, 222, 0.2);
    color: var(--color-right);
}


.source-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 640px) {
    .source-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.source-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.source-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.source-center {
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(0, 122, 255, 0.1) 100%);
}

.source-left {
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(255, 0, 0, 0.1) 100%);
}

.source-right {
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(175, 82, 222, 0.1) 100%);
}

.source-card h4 {
    color: var(--text-primary);
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.faq-section h2 {
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.testimonials-section h2 {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
    color: #FFD700;
    letter-spacing: 2px;
}

.testimonial-rating .star {
    display: inline-block;
}

.testimonial-text {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

/* Footer */
.footer {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

.footer-nav {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

/* Legal/Privacy Terms Page */
.legal-section {
    padding: var(--spacing-xl) 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.legal-content:last-child {
    margin-bottom: 0;
}

.legal-content h2 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--bg-secondary);
}

.legal-content h3 {
    color: var(--text-primary);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.legal-content li {
    margin-bottom: var(--spacing-xs);
}

.legal-content a {
    color: var(--color-center);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--color-left);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sources-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
    
    .source-cards {
        grid-template-columns: 1fr;
    }
    
    @media (min-width: 1200px) {
        .source-cards {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    .header {
        padding: calc(var(--spacing-xl) * 1.5) 0;
    }
}

