/* ========================================
   PAGE: Industry 5.0
   Page-specific layout and dashboard styles
   ======================================== */

.page-container {
    margin-top: 0;
    min-height: 100vh;
}

.inside-hero-video {
    position: relative;
    width: 100%;
    margin-top: -16px;
    height: calc(84vh - 88px + 64px);
    min-height: 644px;
    max-height: 864px;
    overflow: hidden;
    background: #03161b;
}

.inside-hero-video__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.inside-hero-video__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background:
        linear-gradient(180deg, rgba(3, 22, 27, 0) 0%, rgba(3, 22, 27, 0.08) 45%, rgba(3, 22, 27, 0.5) 78%, rgba(3, 22, 27, 0.72) 100%);
}

.inside-hero-video__content {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 32px 24px 48px;
    color: #fff;
}

.inside-hero-video__eyebrow {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.inside-hero-video__title {
    max-width: 760px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 700;
}

.section {
    padding: 60px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.image-panel {
    background: #ffffff;
    padding: 32px 24px;
}

.image-panel .partner-ecosystem__visual {
    margin: 0 auto;
    width: min(960px, 100%);
}

[data-theme="dark"] .image-panel {
    background: #ffffff;
}

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

.industry-insights {
    background: #ffffff;
}

[data-theme="dark"] .industry-insights {
    --text-primary: #1a1a1a;
    --text-secondary: #2d2d2d;
}

.industry-insights__content {
    max-width: 960px;
    margin: 0 auto;
}

.industry-insights__title {
    font-size: clamp(28px, 4.4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.industry-insights__section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 26px 0 12px;
    color: var(--text-primary);
}

.industry-insights__text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 18px;
}

.industry-insights__list {
    margin: 0 0 18px 22px;
    color: var(--text-secondary);
    font-size: var(--site-body-size) !important;
    font-weight: var(--site-body-weight) !important;
    line-height: 1.8;
}

.industry-insights__list li {
    margin-bottom: 6px;
    font-size: var(--site-body-size) !important;
    font-weight: var(--site-body-weight) !important;
}

.industry-convergence .industry-insights__title {
    font-size: clamp(18px, 3.2vw, 32px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
    white-space: nowrap;
}

.industry-convergence .industry-insights__text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 90;
    margin: 0 0 18px;
}

.partner-ecosystem {
    position: relative;
    text-align: center;
    padding-top: 72px;
    padding-bottom: 84px;
    --text-primary: #ffffff;
    --text-secondary: #b8c5cc;
    --text-tertiary: #8a9ba3;
    background:
        radial-gradient(520px 320px at 10% 0%, rgba(42, 157, 176, 0.28), rgba(42, 157, 176, 0) 70%),
        radial-gradient(520px 320px at 90% 10%, rgba(10, 31, 38, 0.6), rgba(10, 31, 38, 0) 70%),
        linear-gradient(180deg, rgba(10, 31, 38, 0.95) 0%, rgba(6, 25, 31, 0.98) 100%);
    border-radius: 0px;
    overflow: hidden;
}

.partner-ecosystem__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
}

.partner-ecosystem__title {
    font-size: clamp(20px, 4vw, 42px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.partner-ecosystem__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 90;
    margin: 0;
}

.partner-ecosystem__visual {
    position: relative;
    z-index: 1;
    margin: 20px auto 0;
    width: min(720px, 100%);
}

.partner-ecosystem__visual img {
    display: block;
    width: 100%;
    height: auto;
}

.partner-ecosystem__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
    padding: 14px 32px;
    border-radius: 12px;
    background: #18a4b0;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-ecosystem__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgb(10, 107, 126);
}

[data-theme="dark"] .partner-ecosystem {
    background:
        radial-gradient(520px 320px at 10% 0%, rgba(42, 157, 176, 0.28), rgba(42, 157, 176, 0) 70%),
        radial-gradient(520px 320px at 90% 10%, rgba(10, 31, 38, 0.6), rgba(10, 31, 38, 0) 70%),
        linear-gradient(180deg, rgba(10, 31, 38, 0.95) 0%, rgba(6, 25, 31, 0.98) 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.feature-card {
    padding: 20px;
    background: rgba(42, 157, 176, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 10px 28px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 15px;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button + .cta-button {
    margin-left: 12px;
}

.alt-section {
    background: rgba(42, 157, 176, 0.05);
}

.dashboard-wrapper {
    width: 100%;
    margin: 30px 0;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.dashboard-content {
    flex: 0 0 30%;
    min-width: 250px;
}

.dashboard-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.dashboard-content ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.dashboard-content li {
    font-size: var(--site-body-size) !important;
    font-weight: var(--site-body-weight) !important;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.dashboard-content li strong {
    color: var(--accent-color);
}

.dashboard {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    flex: 0 0 70%;
    min-width: 500px;
}

[data-theme="dark"] .dashboard {
    --text-primary: #1a1a1a;
    --text-secondary: #2f2f2f;
    --text-tertiary: #4a4a4a;
}

[data-theme="dark"] .dashboard .project-dashboard-title,
[data-theme="dark"] .dashboard .monitoring strong,
[data-theme="dark"] .dashboard .tag,
[data-theme="dark"] .dashboard .stats,
[data-theme="dark"] .dashboard .stats strong {
    color: #1a1a1a;
}

.sidebar {
    width: 220px;
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
}

.project {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.dashboard .nav-item {
    padding: 10px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s;
}

.dashboard .nav-item:hover {
    color: #fff;
}

.dashboard .nav-item.active {
    color: var(--accent-color);
    font-weight: 600;
}

.branch-section {
    margin: 20px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.branch-badge {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: rgba(42, 157, 176, 0.2);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    color: var(--accent-color);
    cursor: pointer;
}

.main {
    flex: 1;
    padding: 30px;
}

.main-content-view {
    display: none;
}

.main-content-view.is-active {
    display: block;
}

.dashboard-view {
    display: none;
}

.dashboard-view.is-active {
    display: block;
}

.blank-panel-view {
    background: #fff;
    border: 1px solid #fffbfb;
    border-radius: 8px;
    min-height: 440px;
    padding: 36px;
}

.blank-panel-view--image {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    min-height: 0;
}

.main-content-view.blank-panel-view--image.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.blank-panel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.blank-panel-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.brand {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    background: var(--accent-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.project-dashboard-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.monitoring {
    margin: 30px 0;
}

.monitoring strong {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
}

.controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.control {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.control label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.control select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    background: #fff;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    font-size: 11px;
    margin-left: 12px;
}

.tag.active {
    color: var(--accent-color);
}

.chart {
    position: relative;
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}

.date {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 13px;
}

.stats strong {
    color: var(--text-primary);
}

.chart svg {
    width: 100%;
    height: 120px;
}

.chart-line {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 2;
}

.chart-fill {
    opacity: 0.3;
}

.chart-control {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 3px;
    cursor: pointer;
    color: #666;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chart-control:hover {
    background: #f5f5f5;
}

.chart-control svg {
    width: 9px;
    height: 9px;
}

.video-container {
    position: relative;
    width: 220px;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    margin-top: 15px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chart-video {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.is-hidden {
    display: none;
}

.footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: var(--text-secondary);
}

.contact-cta {
    text-align: center;
    margin-top: 40px;
}

.contact-cta-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-footer-note {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.page-footer-note p {
    font-size: 13px;
    color: var(--text-secondary);
}

.back-home-link {
    color: var(--accent-color);
    text-decoration: none;
    display: inline-block;
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .dashboard-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .dashboard-content {
        min-width: 100%;
    }

    .dashboard {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .inside-hero-video {
        margin-top: -10px;
    }

    .inside-hero-video,
    .inside-hero-video__media {
        height: calc(66vh - 70px + 40px);
        min-height: 460px;
        max-height: 620px;
    }

    .inside-hero-video__content {
        padding: 24px 16px 36px;
    }

    .inside-hero-video__eyebrow {
        font-size: 12px;
    }

    .section {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .industry-insights__title {
        font-size: 28px;
    }

    .industry-insights__section-title {
        font-size: 18px;
    }

    .industry-insights__text,
    .industry-insights__list {
        font-size: 14px;
    }

    .industry-convergence .industry-insights__title {
        font-size: 22px;
    }

    .industry-convergence .industry-insights__text {
        font-size: 14px;
    }

    .partner-ecosystem {
        padding-top: 56px;
        padding-bottom: 64px;
        border-radius: 18px;
    }

    .partner-ecosystem__title {
        font-size: 28px;
    }

    .partner-ecosystem__subtitle {
        font-size: 14px;
    }

    .partner-ecosystem__visual {
        margin-top: 28px;
    }

    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .controls {
        flex-wrap: wrap;
    }

    .dashboard-wrapper {
        flex-direction: column;
        gap: 30px;
    }
}
