/* Data Analysis & Report Page Styles */

/* ===================================
   Hero Section
   =================================== */
.dataHeroSection {
    padding: 120px 0 80px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.dataHeroGrid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.dataHeroContent {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.heroBadge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: white;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
    margin-bottom: 20px;
}

[data-theme="dark"] .heroBadge {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(16, 185, 129, 0.3);
}

.badgeIcon {
    font-size: 20px;
}

.badgeText {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
}

.heroTitle {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 16px;
}

[data-theme="dark"] .heroTitle {
    color: #f1f5f9;
}

.titleGradient {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heroDescription {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: 20px;
}

.heroStats {
    display: flex;
    gap: 40px;
    padding: 0;
    margin-bottom: 24px;
}

.heroStat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.statValue {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.statLabel {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.heroActions {
    display: flex;
    gap: 16px;
}

/* Hero Buttons */
.btnPrimary, .btnSecondary {
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btnPrimary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow:
        0 8px 24px rgba(16, 185, 129, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .btnPrimary {
    background: linear-gradient(135deg, #059669, #047857);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow:
        0 8px 24px rgba(16, 185, 129, 0.5),
        inset 0 1px 0 rgba(16, 185, 129, 0.2);
}

.btnPrimary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #34d399, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btnPrimary span {
    position: relative;
    z-index: 1;
}

.btnPrimary svg {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
}

.btnPrimary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 32px rgba(16, 185, 129, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btnPrimary:hover {
    box-shadow:
        0 12px 32px rgba(16, 185, 129, 0.6),
        inset 0 1px 0 rgba(16, 185, 129, 0.25);
}

.btnPrimary:hover::before {
    opacity: 1;
}

.btnPrimary:hover span,
.btnPrimary:hover svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btnSecondary {
    background: white;
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .btnSecondary {
    background: rgba(30, 41, 59, 0.8);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

.btnSecondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

[data-theme="dark"] .btnSecondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #34d399;
}


/* ===================================
   Data Flow Visual
   =================================== */
.dataHeroVisual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
}

.dataFlowSystem {
    position: relative;
    width: 600px;
    height: 400px;
}

/* Central Data Hub */
.dataHub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
    z-index: 10;
    animation: dataHubPulse 3s ease-in-out infinite;
}

[data-theme="dark"] .dataHub {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.6), rgba(5, 150, 105, 0.5));
    border: 2px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.5);
}

@keyframes dataHubPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 60px rgba(16, 185, 129, 0.8), 0 0 80px rgba(52, 211, 153, 0.4);
    }
}

.hubIcon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hubIcon svg {
    width: 100%;
    height: 100%;
    color: #ffffff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.hubLabel {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Data Sources (Left side) */
.dataSource {
    position: absolute;
    left: 0;
    width: 100px;
    height: 80px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.12));
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    animation: dataFloat 4s ease-in-out infinite;
}

[data-theme="dark"] .dataSource {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.2));
    border-color: rgba(16, 185, 129, 0.6);
}

.dataSource.source1 {
    top: 20px;
    animation-delay: 0s;
}

.dataSource.source2 {
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.dataSource.source3 {
    bottom: 20px;
    animation-delay: 3s;
}

.sourceIcon {
    font-size: 32px;
}

.sourceLabel {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    text-align: center;
}

[data-theme="dark"] .sourceLabel {
    color: #34d399;
}

/* Analytics Tools (Right side) */
.analyticsTool {
    position: absolute;
    right: 0;
    width: 100px;
    height: 80px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.12));
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    animation: dataFloat 4s ease-in-out infinite;
}

[data-theme="dark"] .analyticsTool {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.2));
    border-color: rgba(16, 185, 129, 0.6);
}

.analyticsTool.tool1 {
    top: 20px;
    animation-delay: 0.5s;
}

.analyticsTool.tool2 {
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.analyticsTool.tool3 {
    bottom: 20px;
    animation-delay: 3.5s;
}

.toolIcon {
    font-size: 32px;
}

.toolLabel {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    text-align: center;
}

[data-theme="dark"] .toolLabel {
    color: #34d399;
}

@keyframes dataFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.dataSource.source2,
.analyticsTool.tool2 {
    animation-name: dataFloatCenter;
}

@keyframes dataFloatCenter {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(calc(-50% - 10px));
    }
}

/* Data Flow Lines */
.dataFlowLines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flowLine {
    stroke: #10b981;
    stroke-width: 2;
    stroke-dasharray: 8 4;
    opacity: 0.4;
    animation: flowAnimation 3s linear infinite;
}

[data-theme="dark"] .flowLine {
    stroke: #34d399;
    opacity: 0.5;
}

@keyframes flowAnimation {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -100;
    }
}


/* ===================================
   Analysis Capabilities Section
   =================================== */
.analysisCapabilitiesSection {
    padding: 100px 0;
    background: transparent;
}

.sectionHeader {
    text-align: center;
    margin-bottom: 60px;
}

.sectionTitle {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
}

.sectionSubtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.capabilitiesGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.capabilityCard {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02), rgba(5, 150, 105, 0.04));
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--color-border);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .capabilityCard {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(5, 150, 105, 0.1));
    border-color: rgba(16, 185, 129, 0.25);
}

.capabilityCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.capabilityIcon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    color: white;
    margin-bottom: 24px;
}

.capabilityIcon svg {
    width: 40px;
    height: 40px;
}

.capabilityTitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.capabilityDescription {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    flex: 1;
}

.capabilityLibraries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.libraryBadge {
    padding: 8px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.libraryBadge:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.12));
    border-color: #10b981;
    transform: translateY(-2px);
}


/* ===================================
   Data Pipeline Section
   =================================== */
.dataPipelineSection {
    padding: 100px 0;
    background: transparent;
}

.pipelineFlow {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pipelineStep {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.stepNumber {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.stepContent {
    flex: 1;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02), rgba(5, 150, 105, 0.04));
    padding: 28px 32px;
    border-radius: 16px;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .stepContent {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(5, 150, 105, 0.1));
    border-color: rgba(16, 185, 129, 0.25);
}

.stepContent:hover {
    border-color: #10b981;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.stepTitle {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.stepDescription {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.stepTags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stepTag {
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #059669;
}

[data-theme="dark"] .stepTag {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}


/* ===================================
   Use Cases Section
   =================================== */
.useCasesSection {
    padding: 100px 0;
    background: transparent;
}

.useCasesGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.useCaseCard {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02), rgba(5, 150, 105, 0.04));
    padding: 36px;
    border-radius: 20px;
    border: 2px solid var(--color-border);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .useCaseCard {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(5, 150, 105, 0.1));
    border-color: rgba(16, 185, 129, 0.25);
}

.useCaseCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.useCaseIcon {
    font-size: 48px;
    margin-bottom: 20px;
}

.useCaseTitle {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.useCaseDescription {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.useCaseFeatures {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.useCaseFeatures li {
    font-size: 14px;
    color: var(--color-text-secondary);
    padding-left: 24px;
    position: relative;
}

.useCaseFeatures li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}


/* ===================================
   Tech Stack Section
   =================================== */
.techStackSection {
    padding: 100px 0;
    background: transparent;
}

.techStackGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.techCategory {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02), rgba(5, 150, 105, 0.04));
    padding: 36px;
    border-radius: 20px;
    border: 2px solid var(--color-border);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .techCategory {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(5, 150, 105, 0.1));
    border-color: rgba(16, 185, 129, 0.25);
}

.techCategory:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.techCategoryTitle {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}

.techBadges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.techBadge {
    padding: 10px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.techBadge:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.12));
    border-color: #10b981;
    transform: translateX(4px);
}


/* ===================================
   CTA Section
   =================================== */
.dataCtaSection {
    padding: 100px 0;
    background: transparent;
}

.ctaContent {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03), rgba(5, 150, 105, 0.05));
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 80px 60px;
    border: 2px solid var(--color-border);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.1);
}

[data-theme="dark"] .ctaContent {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.12));
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ctaTitle {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 20px;
}

.ctaDescription {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ctaActions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .dataHeroGrid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

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

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

    .heroTitle {
        font-size: 42px;
    }

    .sectionTitle {
        font-size: 36px;
    }

    .dataFlowSystem {
        width: 500px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .dataHeroSection {
        padding: 80px 0 60px;
    }

    .heroTitle {
        font-size: 36px;
    }

    .heroDescription {
        font-size: 16px;
    }

    .heroStats {
        gap: 24px;
    }

    .statValue {
        font-size: 28px;
    }

    .heroActions {
        flex-direction: column;
    }

    .btnPrimary, .btnSecondary {
        width: 100%;
        justify-content: center;
    }

    .sectionTitle {
        font-size: 32px;
    }

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

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

    .pipelineStep {
        flex-direction: column;
        gap: 16px;
    }

    .stepNumber {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .ctaContent {
        padding: 60px 32px;
    }

    .ctaTitle {
        font-size: 32px;
    }

    .ctaActions {
        flex-direction: column;
    }

    .dataFlowSystem {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }

    .dataSource, .analyticsTool {
        width: 80px;
        height: 65px;
    }

    .sourceIcon, .toolIcon {
        font-size: 24px;
    }

    .dataHub {
        width: 100px;
        height: 100px;
    }

    .hubIcon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .heroTitle {
        font-size: 28px;
    }

    .heroStats {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .dataHeroVisual {
        min-height: 300px;
    }

    .dataFlowSystem {
        max-width: 320px;
        height: 250px;
    }

    .dataSource, .analyticsTool {
        width: 70px;
        height: 55px;
    }

    .sourceIcon, .toolIcon {
        font-size: 20px;
    }

    .sourceLabel, .toolLabel {
        font-size: 9px;
    }

    .dataHub {
        width: 80px;
        height: 80px;
    }

    .hubIcon {
        width: 32px;
        height: 32px;
    }

    .hubLabel {
        font-size: 9px;
    }
}
