/* 
   ===============================================
   AI-Mall™ FINAL CINEMATIC SYSTEM (V2)
   Fixed Heading Visibility & Interaction
   =============================================== 
*/

:root {
    --bg-dark: #020408;
    --primary: #3b82f6;
    --accent-cyan: #22d3ee;
    --text-white: #ffffff;
    --glass: rgba(5, 8, 15, 0.85);
    --glass-blur: blur(35px);
    --radius: 28px;
    --font-heading: 'Times New Roman', serif;
    --font-sub: 'Sora', sans-serif;
    --font-mono: 'Urbanist', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-mono);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* overflow-y: hidden; Removed to allow access if loader hangs */
}

/* ===============================
   HIGH-END ORACLE PRELOADER
   =============================== */
.preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-content-core {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-glow-ring {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 2px solid rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 60px rgba(34, 211, 238, 0.05);
    animation: pulseGlow 3s ease-in-out infinite;
}

.loader-glow-ring::after {
    content: "";
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.2);
    animation: rotateSlow 10s linear infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

@keyframes rotateSlow {
    to {
        transform: rotate(360deg);
    }
}

/* ===============================
   LIQUID FILL PRELOADER
   =============================== */
.loader-glass-center {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    /* Vital for water fill */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.loader-water-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* Dynamic */
    background: linear-gradient(180deg, #22d3ee, #3b82f6);
    transition: height 0.6s cubic-bezier(0.1, 0.4, 0.2, 1);
    opacity: 0.6;
}

/* Wavy top effect for "liquid" feel */
.loader-water-fill::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -50%;
    width: 200%;
    height: 40px;
    background: #22d3ee;
    border-radius: 40%;
    animation: waveMove 4s linear infinite;
}

@keyframes waveMove {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loader-text-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 5px;
    margin-bottom: 0.2rem;
}

.loader-progress-text {
    font-family: var(--font-mono);
    font-size: 3rem;
    color: #fff;
    font-weight: 300;
}

/* ===============================
   CINEMATIC INTRO VIDEO v2
   =============================== */
.intro-video-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 999998;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.intro-video-container.active {
    display: flex;
    opacity: 1;
}

.btn-begin {
    background: transparent;
    color: #fff;
    border: 1px solid var(--accent-cyan);
    padding: 0.8rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 4px;
    border-radius: 100px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
    transition: 0.4s;
    z-index: 50;
    margin-top: 10px;
}

.btn-begin:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.6);
}

.skip-intro {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 3px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    cursor: pointer;
    backdrop-filter: blur(20px);
    transition: 0.4s;
    z-index: 100;
}

/* ===============================
   MOVING GALAXY BACKGROUND
   =============================== */
.panel-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.panel-background::before {
    content: "";
    position: absolute;
    width: 250%;
    height: 250%;
    top: -75%;
    left: -75%;
    background: radial-gradient(white 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.15;
    animation: starsRotate 200s linear infinite;
}

@keyframes starsRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===============================
   NEURAL NETWORK HERO BACKGROUND
   =============================== */
.hero-panel .panel-background::before {
    /* Override stars for hero to be neural faint lines and floating nodes */
    background: none;
    transform: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        linear-gradient(45deg, transparent 49.8%, rgba(34, 211, 238, 0.12) 50%, transparent 50.2%),
        linear-gradient(-45deg, transparent 49.8%, rgba(59, 130, 246, 0.12) 50%, transparent 50.2%),
        radial-gradient(2px 2px at 50px 50px, #ffffff, transparent),
        radial-gradient(3px 3px at 150px 150px, var(--accent-cyan), transparent),
        radial-gradient(2px 2px at 150px 50px, var(--primary), transparent),
        radial-gradient(2.5px 2.5px at 50px 150px, rgba(255, 255, 255, 0.7), transparent);
    background-size: 200px 200px;
    opacity: 0.9;
    animation: moveNetwork 45s linear infinite;
}

.hero-panel .panel-background::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Secondary layer of scattered dust for parallax */
    background-image:
        radial-gradient(1.5px 1.5px at 30px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 120px 30px, rgba(34, 211, 238, 0.6), transparent),
        radial-gradient(2px 2px at 80px 140px, rgba(59, 130, 246, 0.7), transparent);
    background-size: 150px 150px;
    opacity: 0.7;
    animation: moveNetwork 35s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes moveNetwork {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 600px 600px;
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%);
    z-index: 1;
}

/* ===============================
   NAVBAR
   =============================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    /* Reduced from 1.8rem */
    z-index: 10000;
    /* FORCE ABOVE EVERYTHING */
    background: rgba(5, 8, 15, 0.4);
    /* Subtle glass base */
    backdrop-filter: blur(25px);
    /* Premium separation */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s ease;
}

.navbar.scrolled {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===============================
   SCROLL PROGRESS INDICATOR
   =============================== */
.scroll-progress-container {
    position: fixed;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 140px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
    border-radius: 10px;
}

.scroll-progress-bar {
    width: 100%;
    height: 0%;
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
    border-radius: 10px;
}

.scroll-progress-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
    transition: 0.1s;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 100;
    /* Ensure high z-index for content */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
}

.logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
    opacity: 1;
}

.nav-links a.active {
    color: #fff;
    font-weight: 800;
    position: relative;
    opacity: 1;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

/* ===============================
   TYPOGRAPHY (ROCK SOLID)
   =============================== */
.panel {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    text-align: center;
    padding: 100px 0;
}


h1,
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    /* Smaller font */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%), url('icons/Dream.jpg');
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    display: inline-block;
    position: relative;
    width: 100%;
    text-align: center;
}

/* Split parts logic */
.split-heading {
    display: flex;
    justify-content: center;
    gap: 0.4ch;
    flex-wrap: wrap;
}

.split-part {
    display: inline-block;
    color: #ffffff !important;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2,
h3 {
    font-family: var(--font-sub);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

p,
.vision-quote {
    color: #ffffff;
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
    text-align: center;
}

.badge {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    padding: 0.6rem 1.6rem;
    border-radius: 100px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.4);
    margin-bottom: 2.5rem;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ===============================
   BUTTONS
   =============================== */
.btn {
    display: inline-block;
    padding: 1.25rem 2.8rem;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-family: var(--font-heading);
    /* Magnetic Bounce Effect Transition */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, color 0.3s;
    font-size: 0.85rem;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: var(--primary);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    /* Force white for ghost buttons */
}

.btn-outline:hover {
    background: #fff;
    color: #000 !important;
}

/* Grid systems */
.a-series-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.tile,
.leader-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    color: #fff;
    /* Ensure text visible */
}

.pillars-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1000px;
    width: 100%;
    margin: 1rem auto;
    text-align: left;
}

.pillar-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: default;
    position: relative;
}

/* ===============================
   PARTNER EDITORIAL LIST (NO CARDS)
   =============================== */
.partner-list {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 4rem auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: start;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    text-align: left;
    opacity: 0;
    /* GSAP trigger */
}

/* Subtle Interactive Slide */
.partner-item:hover {
    padding-left: 2rem;
    padding-right: 2rem;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.03), transparent);
}

/* Hollow Number Typography */
.p-num {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    line-height: 0.8;
}

.partner-item:hover .p-num {
    color: var(--accent-cyan);
    -webkit-text-stroke: 1px var(--accent-cyan);
    transform: scale(1.1) rotate(-5deg);
}

.p-content h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #fff;
    transition: 0.6s;
}

.partner-item:hover .p-content h3 {
    letter-spacing: 1px;
}

.p-content p {
    font-size: 1.1rem;
    opacity: 0.6;
    max-width: 600px;
    line-height: 1.6;
    transition: 0.6s;
}

.partner-item:hover .p-content p {
    opacity: 1;
}

@media (max-width: 768px) {
    .partner-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partner-list {
        margin-top: 2rem;
    }
}

.pillar-row:hover {
    color: #fff;
    opacity: 1 !important;
    /* Force visible */
}

.pillar-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.4;
    /* More visible */
    transition: 0.5s;
    color: #fff;
}

.pillar-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    color: #fff;
    transition: 0.4s;
    letter-spacing: -0.5px;
}

.pillar-content p {
    font-size: 0.85rem;
    opacity: 0.8;
    /* More visible */
    max-width: 600px;
    line-height: 1.4;
    transition: 0.4s;
    color: rgba(255, 255, 255, 0.8);
}

.pillar-row:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--accent-cyan);
}

.pillar-row:hover .pillar-num {
    opacity: 1;
    color: var(--accent-cyan);
    transform: translateX(10px);
}

.pillar-row:hover .pillar-content h3 {
    transform: translateX(10px);
    color: var(--accent-cyan);
}

/* HORIZONTAL SUITE CAROUSEL */
.horizontal-suite {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    padding-bottom: 2.5rem;
    padding-top: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for clean cinematic look */
}

.horizontal-suite::-webkit-scrollbar {
    display: none;
}

.horizontal-suite.active {
    scroll-snap-type: none;
    /* Disable snap while dragging for fluid motion */
}

.suite-wrapper {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    cursor: grab;
}

.suite-wrapper:active {
    cursor: grabbing;
}

@property --glow-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateGlow {
    to {
        --glow-angle: 360deg;
    }
}

.suite-card {
    width: 200px;
    /* Small, app-icon like size */
    height: 260px;
    background: rgba(255, 255, 255, 0.05);
    /* Glassmorphism base */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    position: relative;
    /* Removed overflow: hidden so border glow can shine */
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0;
}

/* Moving Glow effect overlay using mask-image */
.suite-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    /* thickness of the border */
    background: conic-gradient(from var(--glow-angle), transparent 50%, var(--accent-cyan) 80%, var(--primary) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
    /* Make sure the border is on top of the image */
    animation: rotateGlow 3s linear infinite;
}

.suite-card .card-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    /* Adding slight opacity or mix-blend to let glassmorphism show if desired, optionally: */
    /* opacity: 0.8; */
    transition: 0.8s;
    filter: none;
    /* No blur, no darkening */
    z-index: 1;
}

.suite-info-external {
    text-align: center;
    width: 100%;
}

.suite-info-external h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.suite-info-external p {
    font-size: 0.8rem;
    opacity: 0.6;
    color: #fff;
    line-height: 1.3;
}

.suite-wrapper:hover .suite-card {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(34, 211, 238, 0.2);
}

.suite-wrapper:hover .card-logo {
    transform: scale(1.05);
    /* Slight zoom on image */
}

/* THE GLINT / LIGHT SWEEP EFFECT */
.pillar-card::before,
.tile::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.12),
            transparent);
    transform: skewX(-25deg);
    transition: 0.8s ease;
    z-index: 5;
    pointer-events: none;
}

.pillar-card:hover::before,
.tile:hover::before {
    left: 150%;
}

.pillar-card:hover,
.tile:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-20px) scale(1.04) perspective(1000px) rotateX(2deg);
    box-shadow: 0 40px 100px rgba(59, 130, 246, 0.18), 0 0 20px rgba(255, 255, 255, 0.05);
}

.form-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3.5rem 5rem;
    /* Shorter vertical padding */
    border-radius: 45px;
    max-width: 1050px;
    /* Wider layout */
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(45px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.8rem;
}

.form-group {
    margin-bottom: 0;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    /* Brighter like reference */
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    font-family: var(--font-mono);
    outline: none;
    transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #A8E063;
    /* Use the green from the button for focus */
    background: rgba(255, 255, 255, 0.1);
}

/* Reference Gradient Button (Lime-Green) */
.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1.5rem !important;
    background: linear-gradient(90deg, #A8E063 0%, #56AB2F 100%) !important;
    border: none !important;
    color: #000 !important;
    /* High contrast for the green button */
    font-size: 1.1rem !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(86, 171, 47, 0.3);
}

.btn-submit:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(86, 171, 47, 0.4);
}

.pillar-card:hover,
.tile:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
}

/* ===============================
   UNIVERSAL FOOTER
   =============================== */
.footer-section {
    position: relative;
    padding: 6rem 0 3rem 0;
    overflow: hidden;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    /* Tightly pack elements to remove huge empty gaps */
}

.footer-section .logo {
    cursor: default;
}

.footer-section .logo img {
    height: 60px;
    /* appropriately larger for footer */
    width: auto;
    object-fit: contain;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-mono);
    transition: 0.4s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
}

.legal-lines {
    margin-top: 1rem;
    opacity: 0.5;
    font-size: 0.85rem;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===============================
   SCROLL REVEAL (CSS VIEW TIMELINE)
   =============================== */
@keyframes scrollReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@supports (animation-timeline: view()) {

    .pillar-row,
    .horizontal-suite {
        animation: scrollReveal linear both;
        animation-timeline: view();
        animation-range: entry 5% cover 30%;
    }
}

/* ===============================
   ROADMAP TIMELINE
   =============================== */
.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan) 0%, rgba(34, 211, 238, 0.1) 100%);
    opacity: 0.5;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    opacity: 0;
    /* For GSAP entry */
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 15px var(--accent-cyan);
    transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-cyan);
    box-shadow: 0 0 30px var(--accent-cyan);
    transform: translate(-50%, 0) scale(1.4);
}

.timeline-content {
    width: 85%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    position: relative;
    backdrop-filter: blur(10px);
    transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: var(--accent-cyan);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent-cyan);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 211, 238, 0.15);
}

/* ===============================
   LEGAL MODALS
   =============================== */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
}

.legal-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.legal-modal {
    background: var(--bg-dark);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    transform: translateY(30px) scale(0.95);
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    text-align: left;
}

.legal-modal-overlay.active .legal-modal {
    transform: translateY(0) scale(1);
}

.legal-modal::-webkit-scrollbar {
    width: 6px;
}

.legal-modal::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--accent-cyan);
    transform: rotate(90deg);
}

.legal-modal h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.legal-content h4 {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    margin: 1.5rem 0 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    h1,
    .section-title {
        font-size: 3.5rem;
        letter-spacing: -2px;
    }

    .nav-links {
        display: none;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .a-series-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap-timeline::before {
        left: 0;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 30px;
        padding-right: 0;
    }

    .timeline-dot {
        left: 0;
        transform: translate(-50%, 0);
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
        transform: translate(-50%, 0);
    }

    .timeline-item:hover .timeline-dot {
        transform: translate(-50%, 0) scale(1.3);
    }

    .timeline-content {
        width: 100%;
        padding: 1.5rem;
    }
}

/* ===============================
   AISA LIVE SECTION 
   =============================== */
.aisa-live-panel {
    background: radial-gradient(circle at center, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.aisa-live-panel::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: floatOrb 10s ease-in-out infinite alternate;
}

@keyframes floatOrb {
    from {
        transform: translate(-50%, -55%);
    }

    to {
        transform: translate(-45%, -45%);
    }
}

.aisa-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    text-align: left;
}

.aisa-live-badge {
    background: linear-gradient(90deg, #22d3ee, #3b82f6);
    color: #000;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.aisa-live-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.aisa-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.aisa-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 2.2rem;
    border-radius: 32px;
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
}

.aisa-feature-card:hover {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.5);
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(34, 211, 238, 0.1);
}

.aisa-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(34, 211, 238, 0.05) 100%);
    opacity: 0;
    transition: 0.5s;
}

.aisa-feature-card:hover::before {
    opacity: 1;
}

.aisa-feature-card h4 {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.aisa-feature-card p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0;
}

.aisa-feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
}

@media (max-width: 992px) {
    .aisa-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .aisa-features-grid {
        text-align: left;
    }
}

/* ===============================
   AISA CHAT SYSTEM
   =============================== */
.bot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
}

.bot-trigger {
    width: 65px;
    height: 65px;
    background: rgba(10, 15, 25, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 50%;
    padding: 12px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-trigger:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.4);
}

.bot-trigger img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Chat Window */
.chat-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.9);
    width: 900px;
    max-width: 95vw;
    height: 650px;
    max-height: 85vh;
    background: #0a0f19;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(40px);
    z-index: 1000000;
}

.chat-window.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

/* Modal Overlay for Background */
.chat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 999999;
}

.chat-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Header */
.chat-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chat-bot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.chat-header-info h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

.chat-header-info span {
    font-size: 0.7rem;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-chat {
    margin-left: auto;
    background: rgba(255,255,255,0.05);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.close-chat:hover { background: rgba(255,255,255,0.15); }

/* Messages Area */
.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    animation: msgIn 0.3s ease-out;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message.bot {
    background: rgba(255, 255, 255, 0.05);
    color: #eee;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message.user {
    background: var(--accent-cyan);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    font-weight: 600;
}

/* Suggestions */
.chat-suggestions {
    padding: 0.5rem 1.5rem 1rem;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.3s;
}

.chip:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(34, 211, 238, 0.05);
}

/* Input Area */
.chat-input-area {
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input-area input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 15px;
    color: #fff;
    font-size: 0.9rem;
    transition: 0.3s;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

.send-btn {
    width: 45px;
    height: 45px;
    background: var(--accent-cyan);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 211, 238, 0.3);
}

.send-btn svg {
    width: 20px;
    height: 20px;
}

.footer-credit {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.2);
    text-align: center;
    padding-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 40px);
        height: 70vh;
        bottom: 80px;
    }
}

