:root {
    --primary-color: #002b5c;
    --secondary-color: #00bcd4;
    --accent-color: #25d366;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-muted: #6c757d;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-color);
    color: white;
    overflow-x: hidden;
}

/* Background Animation */
.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 30% 30%, rgba(0, 188, 212, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(0, 43, 92, 0.2) 0%, transparent 40%);
    z-index: -1;
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 26, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--secondary-color);
}

/* Hero Carousel */
.main-carousel {
    margin-top: 60px;
}

.carousel-item {
    height: 520px;
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.carousel-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 20px 0;
}

.hero-title span {
    background: linear-gradient(90deg, #fff, var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin-top: -100px;
    position: relative;
    z-index: 20;
    padding-bottom: 80px;
}

.bento-item {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.1);
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.item-large { grid-column: span 2; grid-row: span 2; }
.item-tall { grid-row: span 2; }
.item-full { grid-column: span 4; }

/* Modules List */
.module-pill {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    margin: 5px;
}

.module-pill i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 0.7rem;
}

/* Modals */
.modal-content {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 0 50px rgba(0, 188, 212, 0.2);
}

.modal-header {
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 30px;
}

.modal-body {
    border-radius: 0 0 24px 24px;
    overflow: hidden;
}

.floating-container {
    position: relative;
    overflow: hidden;
}

.floating-img-hover {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60%;
    height: auto;
    opacity: 0.3;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 15px var(--secondary-color));
    pointer-events: none;
    transform: rotate(-15deg);
}

.bento-item:hover .floating-img-hover {
    opacity: 0.8;
    transform: rotate(0deg) scale(1.1) translate(-10px, -10px);
}

.centered-img-hover {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-3deg);
    width: 70%;
    height: auto;
    opacity: 0.15;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 20px var(--secondary-color));
    pointer-events: none;
}

.bento-item:hover .centered-img-hover {
    opacity: 0.6;
    transform: translate(-50%, -50%) rotate(0deg) scale(1.05);
}

/* Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
    background: #000;
}

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }
    .hero-title { font-size: 3rem; }
    .carousel-item { height: 500px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-badge { font-size: 0.7rem; }
    .item-large, .item-tall, .item-full { grid-column: span 2; }
    
    .navbar-brand img { height: 35px !important; }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .item-large, .item-tall, .item-full { grid-column: span 1; }
    
    .hero-title { font-size: 2.2rem; }
    .main-carousel { margin-top: 60px; }
    .carousel-item { height: 450px; }
    
    .bento-item { padding: 20px; }
    .bento-icon { font-size: 2rem; }
    
    .promo-iframe-wrapper iframe { height: 350px !important; }
}
