/* ===========================
   INDEX PAGE - MAIN STYLES
   =========================== */

/* Import Roboto Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* ===== BASE STYLES ===== */
html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    perspective: 1000px;
}

.main-content {
    flex: 1;
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUSINESS SPECTRUM SECTION ===== */
.business-spectrum {
    background: white;
    padding: clamp(30px, 4vw, 20px) 0;
    position: relative;
    transform-style: preserve-3d;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(25px, 4vw, 35px);
    position: relative;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(60px, 10vw, 80px);
    height: 4px;
    background: linear-gradient(90deg, rgb(255, 140, 0), #FFD700);
    border-radius: 2px;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 20px;
    font-family: 'Roboto', sans-serif;
}

.spectrum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(30px, 5vw, 40px);
    margin-bottom: clamp(25px, 4vw, 35px);
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.spectrum-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, 5vw, 40px);
    margin-bottom: 0;
    position: relative;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.spectrum-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.spectrum-card:hover {
    transform: translateZ(80px) translateY(-10px) scale(1.05);
    box-shadow: 0 40px 80px rgba(0,0,0,0.35);
    z-index: 999;
}

.spectrum-card:active {
    transform: translateZ(40px) translateY(-5px) scale(1.02);
}

.card-image {
    height: clamp(150px, 20vw, 200px);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: clamp(20px, 4vw, 30px);
}

.business-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgb(255, 140, 0), #FFD700);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
}

.business-tag.healthcare {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.business-tag.podcast {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
}

.spectrum-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
}

.spectrum-card p {
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
    font-family: 'Roboto', sans-serif;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .spectrum-grid {
        gap: 40px;
        margin-bottom: 35px;
    }
    
    .spectrum-grid-bottom {
        gap: 40px;
        max-width: 900px;
    }
    
    .card-image {
        height: 220px;
    }
}

/* Tablet Landscape (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .business-spectrum {
        padding: clamp(25px, 4vw, 35px) 0;
    }
    
    .spectrum-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 900px;
        margin: 0 auto 30px;
    }
    
    .spectrum-grid .spectrum-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }
    
    .spectrum-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .card-image {
        height: clamp(180px, 18vw, 220px);
    }
}

/* Mobile Tablet (600px - 768px) */
@media (min-width: 600px) and (max-width: 768px) {
    .business-spectrum {
        padding: clamp(25px, 4vw, 30px) 0;
    }
    
    .section-header {
        margin-bottom: clamp(20px, 3vw, 25px);
    }
    
    .spectrum-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        gap: 25px;
        margin: 0 auto 25px;
    }
    
    .spectrum-grid .spectrum-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 340px;
        margin: 0 auto;
    }
    
    .spectrum-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        gap: 25px;
        margin: 0 auto;
    }
    
    .card-image {
        height: 200px;
    }
}

/* Mobile (below 600px) */
@media (max-width: 599px) {
    .business-spectrum {
        padding: clamp(20px, 4vw, 25px) 0;
    }
    
    .section-header {
        margin-bottom: clamp(20px, 3vw, 25px);
    }
    
    .spectrum-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin: 0 auto 25px;
    }
    
    .spectrum-grid .spectrum-card:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }
    
    .spectrum-grid-bottom {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .card-image {
        height: 200px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .spectrum-grid,
    .spectrum-grid-bottom {
        gap: 20px;
        padding: 0 10px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Very Small Mobile (320px and below) */
@media (max-width: 320px) {
    .spectrum-card {
        margin: 0 5px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .card-content {
        padding: 15px;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */

/* Hide scrollbars */
body::-webkit-scrollbar,
html::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

body,
html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
    .spectrum-card:hover {
        transform: translateZ(0);
    }
}