/* redesign.css — Styles for the Vibrant Bento Box Redesign */

/* redesign.css — Styles for the Vibrant Bento Box Redesign */

/* ─── Hero Mega Upgrade ──────────────────── */
.hero {
    background-color: #0b1120; /* Deep Cyber Blue */
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 150, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200, 0, 255, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, #0b1120 0%, #111a30 100%);
    color: #ffffff; /* Override body text color */
}

/* Add a grid overlay inside Hero for that "Tech Matrix" feel */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.hero-title, .mega-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.hero .hero-title, .hero .mega-title {
    color: #ffffff;
}
.hero-sub, .mega-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.7);
}
.hero .label-tag {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ─── Navbar Dark Hero State ──────────────── */
.navbar:not(.scrolled) .logo {
    color: #ffffff !important;
}
.navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}
.navbar:not(.scrolled) .nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}
.navbar:not(.scrolled) .btn-primary {
    /* Optional: keep button readable if needed */
}

/* ─── Marquee Ticker ──────────────────────── */
.marquee-section {
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    display: flex;
    margin-bottom: 80px;
}
.marquee-section::before, .marquee-section::after {
    content: ''; position: absolute; top:0; bottom:0; width: 150px; z-index: 2;
}
.marquee-section::before { left:0; background: linear-gradient(to right, var(--bg-0), transparent); }
.marquee-section::after { right:0; background: linear-gradient(to left, var(--bg-0), transparent); }

.marquee-content {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
    padding-left: 80px;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.m-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-1);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.m-logo:hover {
    opacity: 1;
    color: var(--primary);
    transform: scale(1.05);
}
.m-logo i {
    font-size: 2.2rem;
    color: inherit;
}

/* ─── Bento Box ───────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    grid-gap: 24px;
    margin-top: 40px;
}
@media (max-width: 992px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .bento-grid { grid-template-columns: 1fr; }
}

.bento-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--r-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--tr);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.bento-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #fff;
}

.bento-item.span-2 { grid-column: span 2; }
.bento-item.row-2 { grid-row: span 2; }

.bento-item h3 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}
.bento-item p {
    font-size: 1.1rem;
    color: var(--text-1);
    font-weight: 500;
}
.bento-bg-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}
.bento-item > * { position: relative; z-index: 2; }

/* ─── Holo Cards ──────────────────────────── */
.holo-card {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--r-xl);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.8);
    z-index: 1;
    transition: var(--tr);
    overflow: hidden;
    height: 100%;
}
.holo-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-orange));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.holo-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(255,255,255,0.95);
    border-radius: inherit;
    z-index: -1;
}
.holo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.holo-card:hover::before {
    opacity: 1;
}
.holo-icon {
    width: 70px; height: 70px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
