/* ===========================================================
   INDUSTRIES SECTION - SIMPLE CLEAN DESIGN
   - No icons, no images
   - Individual item hover expand
   - Table rows with colorful text on hover
=========================================================== */

.industries-section {
    background: #fff;
    padding: 100px 0;
}

/* ===========================================================
   TRUE FOCUS HEADING
=========================================================== */

.industries-header {
    text-align: center;
    padding: 0 24px 60px;
}

.true-focus-container {
    position: relative;
    display: inline-flex;
    gap: 0.35em;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    user-select: none;
    margin-bottom: 24px;
}

.focus-word {
    position: relative;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    color: #111;
    cursor: default;
    will-change: filter, opacity;
    -webkit-filter: blur(6px);
    filter: blur(6px);
    opacity: 0.4;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.focus-word.active {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
}

/* Focus Frame Corners */
.focus-frame {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    box-sizing: content-box;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                width 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 2px;
}

.top-left {
    top: -14px;
    left: -14px;
    border-top: 3px solid #3b82f6;
    border-left: 3px solid #3b82f6;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.top-right {
    top: -14px;
    right: -14px;
    border-top: 3px solid #06b6d4;
    border-right: 3px solid #06b6d4;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
}

.bottom-left {
    bottom: -14px;
    left: -14px;
    border-bottom: 3px solid #06b6d4;
    border-left: 3px solid #06b6d4;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
}

.bottom-right {
    bottom: -14px;
    right: -14px;
    border-bottom: 3px solid #3b82f6;
    border-right: 3px solid #3b82f6;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.industries-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #666;
    margin: 0 auto;
    max-width: 600px;
}

/* ===========================================================
   INDUSTRIES LIST - 2 Columns
=========================================================== */

.industries-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.industries-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
}

/* ===========================================================
   INDUSTRY ITEM
=========================================================== */

.ind-item {
    border-bottom: 1px solid #e5e7eb;
}

/* Title */
.ind-title {
    padding: 24px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    cursor: default;
    transition: all 0.3s ease;
}

.ind-item:hover .ind-title {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-left: 8px;
}

/* ===========================================================
   EXPANDABLE TABLE - Opens only on individual hover
=========================================================== */

.ind-table {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fff;
}

/* Only THIS item's table opens on hover */
.ind-item:hover .ind-table {
    max-height: 350px;
    padding-bottom: 16px;
}

/* Table Rows - Simple text with bottom line */
.ind-row {
    padding: 12px 16px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.25s ease;
}

.ind-row:last-child {
    border-bottom: none;
}

/* Colorful text on hover */
.ind-row:hover {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-left: 24px;
}

/* ===========================================================
   CTA BUTTON
=========================================================== */

.industries-cta {
    text-align: center;
    margin-top: 60px;
}

.industries-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    background-size: 200% 200%;
    animation: gradientMove 4s ease infinite;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3), 0 4px 15px rgba(6, 182, 212, 0.2);
}

.industries-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4), 0 8px 25px rgba(6, 182, 212, 0.3);
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===========================================================
   RESPONSIVE - Tablet
=========================================================== */

@media (max-width: 1024px) {
    .industries-section {
        padding: 80px 0;
    }
    
    .industries-list {
        gap: 0 40px;
    }
    
    .corner {
        width: 14px;
        height: 14px;
    }
    
    .top-left, .top-right { top: -10px; }
    .bottom-left, .bottom-right { bottom: -10px; }
    .top-left, .bottom-left { left: -10px; }
    .top-right, .bottom-right { right: -10px; }
}

/* ===========================================================
   RESPONSIVE - Mobile
=========================================================== */

@media (max-width: 768px) {
    .industries-section {
        padding: 60px 0;
    }
    
    .industries-header {
        padding: 0 16px 40px;
    }
    
    .focus-word {
        -webkit-filter: blur(4px);
        filter: blur(4px);
    }
    
    .focus-word.active {
        -webkit-filter: blur(0px);
        filter: blur(0px);
    }
    
    .corner {
        width: 12px;
        height: 12px;
        border-width: 2px !important;
    }
    
    .top-left, .top-right { top: -8px; }
    .bottom-left, .bottom-right { bottom: -8px; }
    .top-left, .bottom-left { left: -8px; }
    .top-right, .bottom-right { right: -8px; }
    
    .industries-container {
        padding: 0 16px;
    }
    
    /* Stack on mobile */
    .industries-list {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .ind-title {
        padding: 20px 0;
        font-size: 1rem;
    }
    
    /* Mobile: Click to expand (handled by JS) */
    .ind-item:hover .ind-table {
        max-height: 0;
        padding-bottom: 0;
    }
    
    .ind-item.expanded .ind-table {
        max-height: 350px;
        padding-bottom: 16px;
    }
    
    .ind-item.expanded .ind-title {
        background: linear-gradient(135deg, #3b82f6, #06b6d4);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    
    .ind-row {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .industries-cta {
        margin-top: 40px;
    }
    
    .industries-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===========================================================
   LARGE SCREENS
=========================================================== */

@media (min-width: 1400px) {
    .industries-container {
        max-width: 1200px;
    }
    
    .industries-list {
        gap: 0 80px;
    }
    
    .focus-word {
        font-size: 5rem;
    }
    
    .corner {
        width: 20px;
        height: 20px;
        border-width: 4px !important;
    }
    
    .top-left, .top-right { top: -16px; }
    .bottom-left, .bottom-right { bottom: -16px; }
    .top-left, .bottom-left { left: -16px; }
    .top-right, .bottom-right { right: -16px; }
}

/* ===========================================================
   REDUCED MOTION
=========================================================== */

@media (prefers-reduced-motion: reduce) {
    .focus-word,
    .focus-frame,
    .ind-title,
    .ind-table,
    .ind-row,
    .industries-btn {
        transition: none !important;
    }
    
    .industries-btn {
        animation: none !important;
    }
}