/* Global Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0f19;
	/* Add a very faint background texture with low opacity */
    background-image: linear-gradient(rgba(11, 15, 25, 0.75), rgba(11, 15, 25, 0.75)), 
                      url('../img/bg/global-texture.jpg?v=1.01'); /* Keep this image super dark/subtle */
    background-size: cover;
    background-attachment: fixed;
    color: #f3f4f6;
    line-height: 1.6;
    padding: 60px 20px 20px;
}

#top-rim {
	width: 100%;
	height: 2px;
	position: fixed;
	top: 0; left: 0;
	right: 0; z-index: 150;
	background: #25aae1;
	background: -webkit-linear-gradient(left, #25aae1 , #e5e525 , #f1912a); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(right, #25aae1 , #e5e525 , #f1912a); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(right, #25aae1 , #e5e525 , #f1912a); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to right, #25aae1 , #e5e525 , #f1912a); /* Standard syntax */
}

/* Main Container */
.ecosystem-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header Styling */
.eco-header {
    text-align: center;
    margin-bottom: 30px;
}

.eco-badge {
    background-color: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.eco-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 15px;
    /* color: #ffffff; */
	/* Creates a high-end metallic/cyan-to-indigo text gradient */
    background: linear-gradient(135deg, #fcf286 0%, #8fe1ff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eco-header h1 a {
	text-decoration: none;
}

.eco-header p {
    color: #9ca3af;
    font-size: 1.1rem;
    margin-top: 5px;
}

/* Flexbox Grid for Sub-Brands */
.sub-brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Card Universal Styling */
.card {
    background-color: #111827;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- 1. LIGHTSTAIRS ENTERTAINMENT (HERO) - Cinematic Teal/Forest --- */
.card-lse {
    width: 100%;
    background-image: 
        linear-gradient(135deg, rgba(10, 22, 27, 1.0) 0%, rgba(18, 38, 45, 1.0) 100%),
        url('../img/bg/quote-bg-02.jpg?v=1.01');
    border: 1px solid rgba(48, 160, 150, 0.35);
}
.card-lse:hover {
    transform: translateY(-5px);
    border-color: rgba(48, 160, 150, 0.85);
    box-shadow: 0 12px 35px -10px rgba(48, 160, 150, 0.3);
}
.card-lse .btn-primary {
    background-color: #2dd4bf;
    color: #0b0f19;
}
.card-lse .btn-primary:hover {
    background-color: #14b8a6;
}

/* Sub-Brand Cards (2 columns on desktop) */
.sub-brands-grid .card {
    width: calc(50% - 15px);
}

/* --- 2. LIGHTSTAIRS ONE - Violet / Indigo --- */
.card-one {
    background-image: 
        linear-gradient(135deg, rgba(18, 16, 42, 1.0) 0%, rgba(32, 28, 80, 1.0) 100%),
        url('../img/bg/quote-bg-02.jpg?v=1.01');
    border: 1px solid rgba(129, 140, 248, 0.35);
}
.card-one:hover {
    transform: translateY(-5px);
    border-color: rgba(129, 140, 248, 0.85);
    box-shadow: 0 12px 35px -10px rgba(129, 140, 248, 0.3);
}
.card-one .btn-primary {
    background-color: #6366f1;
    color: #ffffff;
}
.card-one .btn-primary:hover {
    background-color: #4f46e5;
}

/* --- 3. INNOVLEDIA - Blue & Cyan Glow --- */
.card-innovledia {
    background-image: 
        linear-gradient(135deg, rgba(8, 20, 40, 1.0) 0%, rgba(14, 45, 85, 1.0) 100%),
        url('../img/bg/quote-bg-02.jpg?v=1.01');
    border: 1px solid rgba(56, 189, 248, 0.35);
}
.card-innovledia:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.85);
    box-shadow: 0 12px 35px -10px rgba(56, 189, 248, 0.3);
}
.card-innovledia .btn-primary {
    background-color: #0ea5e9;
    color: #ffffff;
}
.card-innovledia .btn-primary:hover {
    background-color: #0284c7;
}

/* --- 4. ENUGINE INTERACTIVE - Tech Purple --- */
.card-enugine {
    background-image: 
        linear-gradient(135deg, rgba(20, 10, 38, 1.0) 0%, rgba(42, 18, 75, 1.0) 100%),
        url('../img/bg/quote-bg-02.jpg?v=1.01');
    border: 1px solid rgba(168, 85, 247, 0.35);
}
.card-enugine:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.85);
    box-shadow: 0 12px 35px -10px rgba(168, 85, 247, 0.3);
}
.card-enugine .btn-primary {
    background-color: #a855f7;
    color: #ffffff;
}
.card-enugine .btn-primary:hover {
    background-color: #9333ea;
}

/* --- 5. PAXELLONE PICTURES - Cinematic Gold/Amber --- */
.card-paxellone {
    background-image: 
        linear-gradient(135deg, rgba(18, 14, 8, 1.0) 0%, rgba(40, 28, 10, 1.0) 100%),
        url('../img/bg/quote-bg-02.jpg?v=1.01');
    border: 1px solid rgba(234, 179, 8, 0.35);
}
.card-paxellone:hover {
    transform: translateY(-5px);
    border-color: rgba(234, 179, 8, 0.85);
    box-shadow: 0 12px 35px -10px rgba(234, 179, 8, 0.3);
}
.card-paxellone .btn-primary {
    background-color: #eab308;
    color: #0b0f19;
}
.card-paxellone .btn-primary:hover {
    background-color: #ca8a04;
}

/* Logo Containers (Square / Rounded) */
.card-logo-container {
    width: 90px;
    height: 90px;
    background-color: rgba(17, 24, 39, 0.75);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: 700;
    color: #818cf8;
	cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-logo-img-lse {
	background: transparent url('../img/logos/lse-wd-bg-sq.jpg?v=1.01') center center no-repeat;
	background-size: contain;
}

.card-logo-img-ls-one {
	background: transparent url('../img/logos/ls-one-wd-bg-sq.jpg?v=1.01') center center no-repeat;
	background-size: contain;
}

.card-logo-img-invl {
	background: transparent url('../img/logos/invl-wd-bg-sq.jpg?v=1.01') center center no-repeat;
	background-size: contain;
}

.card-logo-img-enug {
	background: transparent url('../img/logos/enug-wd-bg-sq.jpg?v=1.01') center center no-repeat;
	background-size: contain;
}

.card-logo-img-pxln {
	background: transparent url('../img/logos/pxln-wd-bg-sq.jpg?v=1.01') center center no-repeat;
	background-size: contain;
}

/* Card Content Details */
.card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: #9ca3af;
}

.card h2, .card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Action Buttons Base */
.card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: inline-block;
    text-align: center;
}

.btn-secondary {
    background-color: rgba(31, 41, 55, 0.8);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(55, 65, 81, 0.9);
}

/* Footer Styling */
.eco-footer {
    text-align: center;
    padding: 20px 0 0;
    color: #6b7280;
    font-size: 0.85rem;
    border-top: 1px solid #1f2937;
    margin-top: 20px;
}

.eco-footer a {
	color: #6b7280;
	text-decoration: none;
}

/* Responsive Breakdown for Mobile */
@media (max-width: 768px) {
    .sub-brands-grid .card {
        width: 100%;
    }
    
    .eco-header h1 {
        font-size: 2rem;
    }
}