/* Data Dashboard Page Styles - Extension of base styles.css */

/* Data Hero Section */
.data-hero-section {
    background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.data-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(61, 155, 124, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.data-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.data-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.data-hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Dashboard Stats Section */
.dashboard-stats-section {
    background: linear-gradient(180deg, #1A1F3A 0%, #0A0E27 100%);
    padding: 3rem 2rem;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Dashboard Main Section */
.dashboard-main-section {
    background: #0A0E27;
    padding: 5rem 2rem;
}

.dashboard-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.dashboard-intro-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

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

/* Power BI Container */
.powerbi-container {
    margin: 0 auto;
    padding-bottom: 20px;
}

.powerbi-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.powerbi-wrapper:hover {
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.powerbi-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.powerbi-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.powerbi-title svg {
    width: 24px;
    height: 24px;
    fill: #10B981;
}

.powerbi-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.control-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
}

.powerbi-embed {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
}

.dashboard-screenshot-img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.dashboard-screenshot-link:hover .dashboard-screenshot-img {
    transform: scale(1.02);
    opacity: 0.95;
    cursor: pointer;
}

.powerbi-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.powerbi-footer {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-info svg {
    width: 18px;
    height: 18px;
    fill: #10B981;
    flex-shrink: 0;
}

.footer-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Dashboard Features */
.dashboard-features {
    margin-top: 0;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1A1F3A 0%, #0A0E27 100%);
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-title {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.features-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.insight-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.insight-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
    line-height: 1;
}

.insight-content {
    flex: 1;
}

.insight-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.insight-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Related Resources Section */
.related-resources-section {
    background: #0A0E27;
    padding: 5rem 2rem;
}

.resources-header {
    text-align: center;
    margin-bottom: 3rem;
}

.resources-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.resources-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

.resource-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.resource-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
}

.resource-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resource-time {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.resource-footer svg {
    width: 20px;
    height: 20px;
    fill: #10B981;
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-footer svg {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-card {
        flex-direction: column;
        align-items: stretch;
    }

    .download-btn {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .data-hero-section {
        padding: 4rem 1.5rem 3rem;
    }

    .data-hero-title {
        font-size: 2rem;
    }

    .data-hero-description {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dashboard-main-section {
        padding: 3rem 1.5rem;
    }

    .dashboard-intro {
        margin-bottom: 3rem;
    }

    .powerbi-header {
        padding: 1rem 1.5rem;
    }

    .powerbi-title span {
        font-size: 0.875rem;
    }

    .powerbi-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-info {
        font-size: 0.8rem;
    }

    .features-list {
        gap: 1.5rem;
    }

    .insight-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .insight-number {
        font-size: 1.5rem;
    }

    .related-resources-section {
        padding: 3rem 1.5rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .powerbi-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }
}
