/* Landing Page Specific Styles - Mobile First */

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: var(--white-color, #ffffff);
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    /* Make text readable on dark bg */
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* Dashboard Preview Section */
.dashboard-preview {
    padding: 4rem 1.5rem;
    background-color: var(--background-color);
}

.preview-card {
    background: var(--surface-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-top: -2rem;
    /* Overlap effect if desired, or simpler stacked */
    margin-top: 0;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Features Section */
.features-section {
    padding: 5rem 1.5rem;
    background-color: var(--surface-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: #e0f2fe;
    /* Light blue */
    color: var(--primary-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

/* CTA Section */
.cta-section {
    padding: 5rem 1.5rem;
    text-align: center;
    background-color: var(--background-color);
}

.cta-card {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 1.5rem;
    border-radius: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    background-color: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
    display: inline-block;
}

.cta-btn:hover {
    background-color: #f1f5f9;
}


/* Responsive Design (Tablet and up) */
@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        padding: 6rem 1rem;
        text-align: left;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        max-width: 1280px;
        margin: 0 auto;
    }

    .hero-content {
        margin: 0;
        text-align: left;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .dashboard-preview {
        padding: 0;
        background: transparent;
        margin-top: 0;
    }

    .preview-card {
        margin-top: 0;
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    }
}