/* --- Variables --- */
:root {
    --bg-main: #0B0D10;
    --bg-secondary: #121418;
    --accent-teal: #00B4D8;
    --accent-gold: #FFB703;
    --accent-purple: #7209B7;
    --accent-green: #2EC4B6;
    --accent-red: #E63946;
    --text-main: #FFFFFF;
    --text-muted: #A0AEC0;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-muted);
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    color: var(--text-main);
    letter-spacing: -0.01em;
}

/* Espaciado */
.section-spacer {
    padding: 8rem 0;
}

.mb-6 {
    margin-bottom: 5rem !important;
}

.mb-7 {
    margin-bottom: 7rem !important;
}

/* Utilidades */
.text-teal {
    color: var(--accent-teal) !important;
}

.text-gold {
    color: var(--accent-gold) !important;
}

.text-purple {
    color: var(--accent-purple) !important;
}

.text-green {
    color: var(--accent-green) !important;
}

.text-danger {
    color: var(--accent-red) !important;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.5);
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

.hover-teal:hover {
    color: var(--accent-teal) !important;
}

.hover-white:hover {
    color: white !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

.text-teal-gradient {
    background: linear-gradient(90deg, #00B4D8, #48CAE4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Navbar --- */
.navbar-brand-logo {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0, 180, 216, 0.6));
}

.navbar {
    background: rgba(11, 13, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.navbar .nav-link {
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--accent-teal);
}

/* --- Navigation System (Hybrid) --- */
@media (max-width: 991.98px) {

    /* --- Header Redesign (Grid) --- */
    .header-grid {
        display: grid;
        grid-template-columns: 50px 1fr 50px;
        align-items: center;
        width: 100%;
    }

    .header-brand-center {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* --- Menu Toggle (Hamburger to X) --- */
    .menu-toggle {
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 9999;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: white;
        position: absolute;
        transition: all 0.3s ease;
    }

    .menu-toggle span:first-child {
        top: 0;
    }

    .menu-toggle span:nth-child(2) {
        top: 9px;
    }

    .menu-toggle span:last-child {
        bottom: 0;
    }

    .menu-toggle.active span:first-child {
        transform: rotate(45deg);
        top: 9px;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:last-child {
        transform: rotate(-45deg);
        bottom: 9px;
        top: 9px;
    }

    /* --- Fullscreen Overlay --- */
    .fullscreen-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(11, 13, 16, 0.98);
        backdrop-filter: blur(10px);
        z-index: 9990;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .fullscreen-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .fullscreen-menu-nav {
        text-align: center;
        list-style: none;
        padding: 0;
    }

    .fullscreen-menu-nav li {
        margin: 2rem 0;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.4s ease;
    }

    .fullscreen-menu.active .fullscreen-menu-nav li {
        transform: translateY(0);
        opacity: 1;
    }

    /* Stagger delay for items */
    .fullscreen-menu.active .fullscreen-menu-nav li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .fullscreen-menu.active .fullscreen-menu-nav li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .fullscreen-menu.active .fullscreen-menu-nav li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .fullscreen-menu.active .fullscreen-menu-nav li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .fullscreen-menu.active .fullscreen-menu-nav li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .fullscreen-link {
        font-family: var(--font-head);
        font-size: 2.5rem;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .fullscreen-link:hover {
        color: var(--accent-teal);
    }
}

/* Fix Toggle Visibility & Immersive Menu */
#mainNav {
    z-index: 10000;
    /* Ensure navbar is ALWAYS on top of the fullscreen menu */
}

/* When menu is open, hide brand and whatsapp, and make navbar background transparent */
body.menu-open #mainNav {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

body.menu-open .header-brand-center,
body.menu-open .header-grid .text-end {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Desktop Navbar Tweaks */
@media (min-width: 992px) {
    #mainNav {
        padding: 1.5rem 0;
        transition: all 0.3s ease;
    }

    #mainNav.navbar-scrolled {
        padding: 1rem 0;
        background: rgba(11, 13, 16, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}


/* --- HERO --- */
.hero-section {
    position: relative;
    padding: 240px 0 160px;
    background-color: var(--bg-main);
    overflow: hidden;
    z-index: 1;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
    /* Video más visible */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(11, 13, 16, 0.3) 0%, var(--bg-main) 90%);
    z-index: 0;
}

.section-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-secondary));
    z-index: 2;
}

/* --- Botones --- */
.btn-primary-teal {
    background-color: var(--accent-teal);
    color: #000;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-teal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.4);
    background-color: #fff;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: white;
    background: white;
    color: black;
    transform: translateY(-3px);
}

/* --- ADN Cards --- */
.bg-dark-secondary {
    background-color: var(--bg-secondary);
}

.adn-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.adn-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
}

.border-start-teal {
    border-left: 4px solid var(--accent-teal);
}

.border-start-gold {
    border-left: 4px solid var(--accent-gold);
}

.border-start-purple {
    border-left: 4px solid var(--accent-purple);
}

/* --- Sticky Scroll --- */
.bg-main {
    background-color: var(--bg-main);
}

.sticky-wrapper {
    position: sticky;
    top: 20vh;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    background-color: #000;
}

.visual-card.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.visual-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Gradientes */
.bg-gradient-gold {
    background: linear-gradient(135deg, #3E2C00, #FFB703);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #10002b, #7B2CBF);
}

.bg-gradient-green {
    background: linear-gradient(135deg, #001219, #2D6A4F);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #03045e, #00B4D8);
}

.bg-gradient-red {
    background: linear-gradient(135deg, #370000, #E63946);
}

.scroll-step {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* --- Cards Garantía --- */
.bg-gradient-dark {
    background: linear-gradient(160deg, #1a1d24, #0f1115);
    border-radius: 24px;
}

.border-gold {
    border: 1px solid rgba(255, 183, 3, 0.2);
}

.border-teal {
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.card-bg-icon {
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 15rem;
    opacity: 0.03;
    color: white;
    pointer-events: none;
    transform: rotate(-15deg);
}

/* --- CONTACT SECTION --- */
.btn-whatsapp-large {
    background-color: #25D366;
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp-large:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: white;
}

.form-card-dark {
    background-color: #0f1115;
}

.bg-darker-input {
    background-color: #1a1d24 !important;
    border-color: #333 !important;
    color: white !important;
    font-size: 1rem;
    padding: 15px;
}

.bg-darker-input:focus {
    border-color: var(--accent-teal) !important;
    box-shadow: none;
}

.bg-darker-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* --- CONVERSION BOOSTER PACK --- */

/* 1. The Arsenal (Marquee) */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 3rem 0;
    max-width: 100%;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main), transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.tech-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 3rem;
    opacity: 0.4;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.tech-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.tech-logo-item img,
.tech-logo-item i {
    font-size: 3rem;
    height: 50px;
    width: auto;
    color: white;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 2. Performance Diff (Comparison) */
.diff-card {
    background: #0f1115;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.diff-card.poor {
    border-top: 4px solid var(--accent-red);
}

.diff-card.cloud-native {
    border-top: 4px solid var(--accent-green);
    background: linear-gradient(160deg, #121418, #002220);
    box-shadow: 0 0 30px rgba(46, 196, 182, 0.1);
}

.diff-metric-value {
    font-family: var(--font-head);
    font-weight: 700;
}

/* 3. Squad Profile (RPG Cards) */
.squad-card {
    background: #121418;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.squad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 180, 216, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.squad-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 180, 216, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.squad-card:hover::before {
    transform: translateX(100%);
}

.squad-avatar {
    width: 80px;
    height: 80px;
    background: #0B0D10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.squad-card-gradient {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.squad-card-gradient h3,
.squad-card-gradient p,
.squad-card-gradient i {
    color: white !important;
}

.squad-card-gradient .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Gradient Variants */
/* Solid Color Variants */
/* Solid Color Variants - High Specificity (0-2-0) to strictly override Glassmorphism */
.squad-card.squad-teal {
    background: #0077B6 !important;
    /* Solid Teal-Blue */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.squad-card.squad-purple {
    background: #5A189A !important;
    /* Solid Deep Purple */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.squad-card.squad-gold {
    background: #B58500 !important;
    /* Solid Dark Gold/Bronze */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.squad-card.squad-red {
    background: #D00000 !important;
    /* Solid Red */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.squad-card.squad-green {
    background: #1B4332 !important;
    /* Solid Dark Green */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.squad-card.squad-primary {
    background: #023E8A !important;
    /* Solid Royal Blue */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Note: Hover background change removed to prioritize the 'Metallic Shine' effect from .squad-card::before */

.squad-skills-list {
    margin-top: 1.5rem;
    padding-left: 0;
    list-style: none;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 12px;
}

.squad-skills-list li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
}

.squad-skills-list li:last-child {
    margin-bottom: 0;
}



/* 4. The Protocol (Timeline) */
.timeline-step {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 3rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-step:last-child {
    border-left: 2px solid transparent;
}

.timeline-marker {
    position: absolute;
    left: -11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--bg-main);
    border: 2px solid var(--accent-teal);
    border-radius: 50%;
    z-index: 2;
}

/* --- Clients & Chiclets --- */
.client-chiclet {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
    height: 100%;
}

.client-chiclet:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.chiclet-preview {
    width: 100%;
    height: 180px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- New Utilities (Assistant Page) --- */
.opacity-10 {
    opacity: 0.1 !important;
}

.scale-hover {
    transition: transform 0.3s ease;
}

.scale-hover:hover {
    transform: scale(1.05);
}

.glow-effect:hover {
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.6);
}

.hero-bg-video {
    transition: opacity 1s ease;
}

.chiclet-content {
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.chiclet-thumb {
    width: 40px;
    height: 40px;
    background: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.chiclet-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
    font-family: var(--font-head);
}

.chiclet-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Specialist Button --- */
.btn-specialist {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-specialist:hover {
    background-color: rgba(37, 211, 102, 0.1);
    /* WhatsApp Green Tint */
    border-color: #25D366;
    color: white;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn-specialist i {
    font-size: 1.2rem;
    color: #25D366;
}

/* Always green icon */
.footer-mx-badge {
    transition: all 0.3s ease;
    cursor: default;
}

.footer-mx-badge:hover {
    border-color: var(--accent-teal) !important;
}

.footer-mx-badge:hover span {
    color: var(--accent-teal) !important;
}

/* --- LUXURY UI POLISH --- */

/* 1. Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    background-color: var(--accent-teal);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out, background-color 0.3s ease;
    display: none;
    /* Hidden by default */
}

@media (pointer: fine) {
    .custom-cursor {
        display: block;
    }

    a,
    button {
        cursor: none !important;
    }
}

.custom-cursor.link-hover {
    transform: scale(3.5);
    background-color: var(--accent-teal);
    mix-blend-mode: exclusion;
    opacity: 0.5;
}

/* 2. Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    animation: preloader-pulse 2s infinite ease-in-out;
}

@keyframes preloader-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 3. Advanced Glassmorphism Overrides */
.methodology-card,
.squad-card,
.client-chiclet {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 4. Smooth Scroll Utility */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* --- VORTEX DESIGN SYSTEM (Liquid Engineering) --- */
:root {
    --bg-deep: #0B0D10;
    --accent-cyan: #00B4D8;
    --liquid-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #F5F5F7;
    --text-muted: #86868b;
    --highlight-orange: #FF5A1F;
}

.bg-deep {
    background-color: var(--bg-deep);
}

.text-cyan {
    color: var(--accent-cyan);
}

.text-orange {
    color: var(--highlight-orange);
}

.liquid-glass-card {
    background: rgba(11, 13, 16, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
}

.liquid-glass-card:hover {
    transform: scale(1.02);
    border-color: var(--accent-cyan);
}

h1.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 5vw, 6rem);
    letter-spacing: -0.03em;
    color: #F5F5F7;
    background: linear-gradient(180deg, #FFFFFF 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-metallic {
    background: linear-gradient(180deg, #FFFFFF 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Personality Selector */
.personality-selector {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.personality-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
}

.personality-dot.active {
    transform: scale(1.2);
    box-shadow: 0 0 15px currentColor;
    border-color: currentColor;
}

/* Personality Cards (V2) */
.personality-card {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.personality-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.personality-card.active {
    background: rgba(0, 180, 216, 0.15);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.2);
}

.personality-card.active .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.personality-card i {
    transition: all 0.3s ease;
}

.personality-card.active i {
    transform: scale(1.2);
    color: #fff !important;
    text-shadow: 0 0 15px currentColor;
}

/* Deep Dive Diagram */
.fusion-diagram {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusion-node {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--bg-deep);
    border: 1px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.fusion-core {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    border: 2px solid var(--accent-cyan);
    z-index: 3;
    animation: pulse-cyan 3s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 216, 0.1);
}

.fusion-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    width: 150px;
    top: 50%;
    left: 50%;
    transform-origin: 0 50%;
    z-index: 1;
}

@keyframes pulse-cyan {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 180, 216, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}