/* INDUSTRIES BLADE ACCORDION */

.industries-blade-section {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.industries-blade-header {
    max-width: 1600px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.industries-blade-container {
    width: 100%;
    height: 450px;
    display: flex;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.industry-blade {
    position: relative;
    height: 100%;
    flex: 1;
    transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid var(--border-color);
}

.industry-blade:last-child {
    border-right: none;
}

@media (min-width: 768px) {
    .industry-blade:hover:not(.active) {
        background: var(--bg-hover);
    }
}

.industry-blade.active {
    flex: 4;
    filter: grayscale(0);
}

.industry-blade:not(.active) {
    filter: grayscale(1);
}

.blade-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.industry-blade.active .blade-bg {
    opacity: 1;
}

.blade-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blade-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6) 60%, transparent);
}

.blade-inactive {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: auto;
}

.industry-blade.active .blade-inactive {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.blade-id {
    display: none;
}

.blade-vertical-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    white-space: nowrap;
}

.blade-icon {
    margin-top: 1rem;
    color: var(--accent-blue);
    opacity: 0.5;
    font-size: 1.25rem;
    transform: scale(0.75);
}

.blade-active {
    position: absolute;
    inset: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(2.5rem);
    transition: all 0.5s 0.1s;
}

.industry-blade.active .blade-active {
    opacity: 1;
    transform: translateY(0);
}

.blade-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.blade-badge span {
    background: var(--accent-orange);
    color: #000;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.25rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Montserrat', sans-serif;
}

.blade-line {
    height: 1px;
    width: 3rem;
    background: var(--accent-blue);
}

.blade-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.blade-btn {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.blade-btn:hover {
    background: var(--accent-blue);
    color: #000;
    border-color: var(--accent-blue);
}

.blade-btn i {
    transition: transform 0.3s;
}

.blade-btn:hover i {
    transform: translateX(0.25rem);
}

.blade-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.industry-blade.active .blade-highlight {
    transform: scaleX(1);
}

/* Small mobile (320-480px) */
@media (max-width: 480px) {
    .industries-blade-section { padding: 1.5rem 0; }
    .industries-blade-header { padding: 0 1rem; margin-bottom: 1rem; }
    .industries-blade-container { height: auto; flex-direction: column; }
    .industry-blade { min-height: 50px; max-height: 50px; flex: none; border-right: none; border-bottom: 1px solid var(--border-color); transition: all 0.5s ease; overflow: hidden; }
    .industry-blade.active { min-height: 180px !important; max-height: 180px !important; }
    .blade-vertical-title { writing-mode: horizontal-tb; transform: none; font-size: 0.7rem; letter-spacing: 0.05em; }
    .blade-inactive { flex-direction: row; justify-content: flex-start; padding: 0 1rem; gap: 0.5rem; }
    .blade-id { margin-bottom: 0; font-size: 8px; }
    .blade-icon { margin-top: 0; margin-left: auto; font-size: 0.875rem; }
    .blade-active { padding: 1rem; transition: opacity 0.5s 0.2s, transform 0.5s 0.2s; pointer-events: none; }
    .blade-title { font-size: 0.7rem; margin-bottom: 0.75rem; }
    .blade-btn { padding: 0.5rem 1rem; font-size: 0.65rem; pointer-events: auto; }
    .blade-badge span { font-size: 0.625rem; }
}

/* Medium mobile (481-600px) */
@media (min-width: 481px) and (max-width: 600px) {
    .industries-blade-section { padding: 2rem 0; }
    .industries-blade-header { padding: 0 1rem; margin-bottom: 1.25rem; }
    .industries-blade-container { height: auto; flex-direction: column; }
    .industry-blade { min-height: 55px; max-height: 55px; flex: none; border-right: none; border-bottom: 1px solid var(--border-color); transition: all 0.5s ease; overflow: hidden; }
    .industry-blade.active { min-height: 200px !important; max-height: 200px !important; }
    .blade-vertical-title { writing-mode: horizontal-tb; transform: none; font-size: 0.8rem; letter-spacing: 0.05em; }
    .blade-inactive { flex-direction: row; justify-content: flex-start; padding: 0 1.25rem; gap: 0.75rem; }
    .blade-id { margin-bottom: 0; }
    .blade-icon { margin-top: 0; margin-left: auto; font-size: 1rem; }
    .blade-active { padding: 1.25rem; transition: opacity 0.5s 0.2s, transform 0.5s 0.2s; pointer-events: none; }
    .blade-title { font-size: 0.8rem; }
    .blade-btn { padding: 0.5rem 1.25rem; font-size: 0.7rem; pointer-events: auto; }
}

/* Large mobile (601-767px) */
@media (min-width: 601px) and (max-width: 767px) {
    .industries-blade-section { padding: 2rem 0; }
    .industries-blade-header { padding: 0 1.25rem; margin-bottom: 1.5rem; }
    .industries-blade-container { height: auto; flex-direction: column; }
    .industry-blade { min-height: 60px; max-height: 60px; flex: none; border-right: none; border-bottom: 1px solid var(--border-color); transition: all 0.5s ease; overflow: hidden; }
    .industry-blade.active { min-height: 220px !important; max-height: 220px !important; }
    .blade-vertical-title { writing-mode: horizontal-tb; transform: none; font-size: 0.85rem; letter-spacing: 0.05em; }
    .blade-inactive { flex-direction: row; justify-content: flex-start; padding: 0 1.5rem; gap: 0.875rem; }
    .blade-id { margin-bottom: 0; }
    .blade-icon { margin-top: 0; margin-left: auto; font-size: 1.1rem; }
    .blade-active { padding: 1.5rem; transition: opacity 0.5s 0.2s, transform 0.5s 0.2s; pointer-events: none; }
    .blade-title { font-size: 0.85rem; }
    .blade-btn { padding: 0.6rem 1.5rem; font-size: 0.75rem; pointer-events: auto; }
}

/* Small tablets (768-900px) */
@media (min-width: 768px) and (max-width: 900px) {
    .industries-blade-container { height: 380px; }
    .blade-vertical-title { font-size: 0.875rem; letter-spacing: 0.15em; }
    .blade-active { padding: 1.75rem; }
    .blade-title { font-size: 1rem; }
}

/* Medium tablets (901-1024px) */
@media (min-width: 901px) and (max-width: 1024px) {
    .industries-blade-container { height: 400px; }
    .blade-vertical-title { font-size: 0.95rem; letter-spacing: 0.15em; }
    .blade-active { padding: 2rem; }
    .blade-title { font-size: 1.05rem; }
}

/* Large tablets (1025-1199px) */
@media (min-width: 1025px) and (max-width: 1199px) {
    .industries-blade-container { height: 420px; }
    .blade-vertical-title { font-size: 1rem; letter-spacing: 0.15em; }
    .blade-active { padding: 2.25rem; }
    .blade-title { font-size: 1.15rem; }
}

/* Small laptops (1200-1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .industries-blade-container { height: 450px; max-width: 1200px; margin: 0 auto; }
    .blade-vertical-title { font-size: 1.125rem; letter-spacing: 0.15em; }
    .blade-active { padding: 2.5rem; }
    .blade-title { font-size: 1.25rem; }
}

/* Medium laptops (1440-1679px) */
@media (min-width: 1440px) and (max-width: 1679px) {
    .industries-blade-container { height: 450px; max-width: 1400px; margin: 0 auto; }
    .blade-vertical-title { font-size: 1.25rem; letter-spacing: 0.15em; }
    .blade-active { padding: 2.5rem; }
    .blade-title { font-size: 1.4rem; }
}

/* Large laptops (1680-1919px) */
@media (min-width: 1680px) and (max-width: 1919px) {
    .industries-blade-container { height: 480px; max-width: 1600px; margin: 0 auto; }
    .blade-vertical-title { font-size: 1.25rem; letter-spacing: 0.15em; }
    .blade-active { padding: 2.75rem; }
    .blade-title { font-size: 1.6rem; }
}

/* Small monitors (1920-2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .industries-blade-container { height: 500px; max-width: 1800px; margin: 0 auto; }
    .blade-vertical-title { font-size: 1.375rem; letter-spacing: 0.15em; }
    .blade-active { padding: 3rem; }
    .blade-title { font-size: 1.8rem; }
}

/* Medium monitors (2560-3199px) */
@media (min-width: 2560px) and (max-width: 3199px) {
    .industries-blade-container { height: 550px; max-width: 2400px; margin: 0 auto; }
    .blade-vertical-title { font-size: 1.5rem; letter-spacing: 0.15em; }
    .blade-active { padding: 3.5rem; }
    .blade-title { font-size: 2.2rem; }
    .blade-btn { padding: 1rem 2.5rem; font-size: 1rem; }
}

/* Large monitors (3200-3839px) */
@media (min-width: 3200px) and (max-width: 3839px) {
    .industries-blade-container { height: 600px; max-width: 3000px; margin: 0 auto; }
    .blade-vertical-title { font-size: 1.75rem; letter-spacing: 0.15em; }
    .blade-active { padding: 4rem; }
    .blade-title { font-size: 2.6rem; }
    .blade-btn { padding: 1.25rem 3rem; font-size: 1.125rem; }
}

/* 49" Odyssey OLED G9 (3840-5119px) */
@media (min-width: 3840px) and (max-width: 5119px) {
    .industries-blade-container { height: 650px; max-width: 4200px; margin: 0 auto; }
    .blade-vertical-title { font-size: 2rem; letter-spacing: 0.15em; }
    .blade-active { padding: 4.5rem; }
    .blade-title { font-size: 3rem; }
    .blade-btn { padding: 1.5rem 3.5rem; font-size: 1.25rem; }
    .blade-badge span { font-size: 0.875rem; padding: 0.375rem 0.75rem; }
}

/* 57" Odyssey Neo G9 (5120px+) */
@media (min-width: 5120px) {
    .industries-blade-container { height: 700px; max-width: 4800px; margin: 0 auto; }
    .blade-vertical-title { font-size: 2.25rem; letter-spacing: 0.15em; }
    .blade-active { padding: 5rem; }
    .blade-title { font-size: 3.4rem; }
    .blade-btn { padding: 1.75rem 4rem; font-size: 1.5rem; }
    .blade-badge span { font-size: 1rem; padding: 0.5rem 1rem; }
    .blade-line { width: 4rem; }
}

/* Vertical monitors */
@media (orientation: portrait) and (min-width: 768px) {
    .industries-blade-container { height: auto; flex-direction: column; }
    .industry-blade { height: 100px; flex: none; border-right: none; border-bottom: 1px solid var(--border-color); }
    .industry-blade.active { height: 400px; }
    .blade-vertical-title { writing-mode: horizontal-tb; transform: none; }
    .blade-inactive { flex-direction: row; justify-content: flex-start; padding: 0 2rem; gap: 1rem; }
    .blade-id { margin-bottom: 0; }
    .blade-icon { margin-top: 0; margin-left: auto; }
}

/* Horizontal ultra-wide (21:9+) */
@media (min-aspect-ratio: 21/9) {
    .industries-blade-container { height: 550px; }
    .blade-active { padding: 3rem; }
}
