/* ====================================
   Landing Page Styles
   ==================================== */

/* Landing Welcome Section */
.landing-welcome {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-sm);
}

.landing-welcome h2 {
    color: var(--primary-color);
    margin-bottom: var(--space-4);
    font-size: 1.75rem;
}

.landing-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Landing Features Section */
.landing-features {
    margin-bottom: var(--space-8);
}

.landing-features h2 {
    text-align: center;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    text-decoration: none;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: var(--space-4);
}

.feature-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.feature-card:hover .feature-link {
    text-decoration: underline;
}

/* How It Works Section */
.landing-how-it-works {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-sm);
}

.landing-how-it-works h2 {
    text-align: center;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.step {
    text-align: center;
    padding: var(--space-4);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto var(--space-4);
}

.step h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: 1.1rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

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

/* Data Sources Section */
.landing-data-sources {
    margin-bottom: var(--space-8);
}

.landing-data-sources h2 {
    text-align: center;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.data-sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.data-source {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.data-source h3 {
    margin-bottom: var(--space-3);
}

.data-source h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.data-source h3 a:hover {
    text-decoration: underline;
}

.data-source p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Landing Page Responsive */
@media (max-width: 768px) {
    .landing-welcome,
    .landing-how-it-works {
        padding: var(--space-6);
    }

    .landing-welcome h2 {
        font-size: 1.5rem;
    }

    .landing-description {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .data-sources-grid {
        grid-template-columns: 1fr;
    }
}
