.industries-section {
    position: relative;
    isolation: isolate;
    padding: 140px 0;
    overflow: clip;
    background:
        linear-gradient(
            180deg,
            var(--background-secondary),
            var(--background)
        );
}

.industries-section > .container {
    position: relative;
    z-index: 1;
}

.industries-glow {
    position: absolute;
    top: 10%;
    left: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(124, 92, 255, 0.09);
    filter: blur(120px);
    pointer-events: none;
}

.industries-heading {
    max-width: 900px;
    margin-bottom: 70px;
}

.industries-heading h2 {
    margin-bottom: 25px;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
}

.industries-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.85;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.industry-panel {
    position: relative;
    display: flex;
    min-height: 430px;
    flex-direction: column;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(15, 27, 46, 0.88),
            rgba(8, 17, 31, 0.94)
        );
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.industry-panel::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -130px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    filter: blur(25px);
}

.industry-panel:hover {
    border-color: var(--border-bright);
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.25);
    transform: translateY(-7px);
}

.industry-panel-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 55px;
}

.industry-number {
    color: var(--text-soft);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 15px;
    background: rgba(37, 99, 235, 0.09);
    color: var(--accent);
    font-size: 1.3rem;
}

.industry-content {
    position: relative;
    z-index: 2;
}

.industry-label {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.industry-content h3 {
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    letter-spacing: -0.045em;
}

.industry-content p {
    max-width: 560px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.75;
}

.industry-products {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 45px;
}

.industry-products a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.025);
    color: #dcecff;
    font-size: 0.75rem;
    font-weight: 600;
}

.industry-products a:hover {
    border-color: var(--border-bright);
    background: rgba(37, 99, 235, 0.1);
    color: white;
}

.industry-products i {
    color: var(--accent);
}

.industry-business {
    grid-column: span 2;
}

.industry-business .industry-content {
    max-width: 720px;
}

.industry-finance::after {
    background: rgba(37, 99, 235, 0.13);
}

.industry-commerce::after {
    background: rgba(245, 158, 11, 0.1);
}

.industry-gaming::after {
    background: rgba(124, 92, 255, 0.14);
}

.industry-future {
    grid-column: span 2;
    min-height: 390px;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(124, 92, 255, 0.17),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            rgba(19, 24, 55, 0.95),
            rgba(8, 17, 31, 0.96)
        );
}

.industry-future::after {
    display: none;
}

.future-orbit {
    position: absolute;
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: 50%;
}

.future-orbit-one {
    top: -130px;
    right: -70px;
    width: 420px;
    height: 420px;
}

.future-orbit-two {
    top: -60px;
    right: 0;
    width: 280px;
    height: 280px;
}

.future-message {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 40px;
}

.future-message span,
.future-message strong {
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.future-message strong {
    border-color: rgba(96, 165, 250, 0.3);
    color: var(--accent);
}

.industries-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    margin-top: 24px;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.018);
}

.industry-summary-item {
    display: flex;
    min-width: 130px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.industry-summary-item strong {
    font-family: var(--font-display);
    font-size: 2.1rem;
}

.industry-summary-item span {
    margin-top: 5px;
    color: var(--text-soft);
    font-size: 0.72rem;
}

.industry-summary-divider {
    width: 1px;
    height: 45px;
    background: var(--border);
}

.industries-closing {
    margin: 55px 0 0;
    text-align: center;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 3.2rem);
    letter-spacing: -0.045em;
}

@media (max-width: 991px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industry-business,
    .industry-future {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .industries-section {
        padding: 105px 0 145px;
    }

    .industry-panel {
        min-height: 390px;
        padding: 24px;
    }

    .industry-panel-header {
        margin-bottom: 40px;
    }

    .industries-summary {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .industry-summary-divider {
        width: 70px;
        height: 1px;
        margin: auto;
    }

    .future-message {
        flex-direction: column;
        align-items: flex-start;
    }
}
