/* --- MyCCL LANDING PAGE STYLES --- */

:root {
    --neon-green: #00f260;
    --neon-glow: 0 0 10px rgba(0, 242, 96, 0.5), 0 0 20px rgba(0, 242, 96, 0.3);
    --dark-bg: #0b0d11;
    --darker-bg: #050608;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg) !important;
    color: var(--text-primary) !important;
    overflow-x: hidden;
    padding-left: 0 !important;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: var(--font-heading);
    color: #ffffff !important;
    letter-spacing: 0.5px;
}

p, span, li {
    color: var(--text-secondary);
}

.text-neon {
    color: var(--neon-green) !important;
    text-shadow: 0 0 10px rgba(0, 242, 96, 0.3);
}

.text-gray {
    color: var(--text-secondary) !important;
}

.ls-2 {
    letter-spacing: 2px;
}

/* --- BUTTONS --- */
.btn-neon {
    background-color: var(--neon-green);
    color: #000 !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background-color: #fff;
    opacity: 0.2;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.6);
    color: #000 !important;
}

.btn-neon:hover::before {
    width: 100%;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff !important;
}

.btn-outline-neon {
    color: var(--neon-green) !important;
    border-color: var(--neon-green);
}

.btn-outline-neon:hover {
    background-color: var(--neon-green);
    color: #000 !important;
    box-shadow: var(--neon-glow);
}

.shadow-neon {
    box-shadow: 0 4px 15px rgba(0, 242, 96, 0.4);
}

/* --- GLASSMORPHISM --- */
.glass-nav {
    background: rgba(11, 13, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    z-index: 1040;
}

.glass-nav.scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
    background: rgba(5, 6, 8, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand .brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--neon-green) !important;
    text-shadow: 0 0 10px rgba(0, 242, 96, 0.4);
    transform: translateY(-1px);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 242, 96, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(5, 10, 24, 0.8), rgba(5, 10, 24, 0.8)), url('../../hero-bg.jpg') no-repeat center center;
    background-size: cover;
}

.hero-logo-big {
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 242, 96, 0.4)) drop-shadow(0 0 40px rgba(255, 59, 48, 0.2));
}

.animate-entrance {
    animation: spectacularEntrance 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes spectacularEntrance {
    0% {
        opacity: 0;
        transform: scale(1.5);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 1s ease 1s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.background-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 242, 96, 0.15) 0%, rgba(5, 117, 230, 0.1) 40%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: translateX(-50%) scale(0.9); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.hero-dashboard-preview {
    perspective: 1000px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotateX(10deg);
    transition: transform 0.5s ease;
    animation: floatPanel 6s ease-in-out infinite;
}

@keyframes floatPanel {
    0% { transform: rotateX(10deg) translateY(0px); }
    50% { transform: rotateX(10deg) translateY(-20px); }
    100% { transform: rotateX(10deg) translateY(0px); }
}

.hero-dashboard-preview:hover .glass-panel {
    transform: rotateX(0deg) scale(1.02);
    animation-play-state: paused;
}

/* --- STEPS SECTION --- */
.step-card {
    position: relative;
    overflow: hidden;
}

.step-icon {
    font-size: 3rem;
    color: var(--neon-green);
    position: relative;
    display: inline-block;
}

.step-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: #000;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- SERVICES & BROKERS --- */
.bg-darker {
    background-color: var(--darker-bg);
}

.broker-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}

.broker-logo.filter-white {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: 0.3s;
}

.broker-card:hover .broker-logo {
    opacity: 1;
}

/* --- PRICING --- */
.background-glow-2 {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(5, 117, 230, 0.1) 0%, transparent 60%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.border-neon {
    border: 1px solid rgba(0, 242, 96, 0.3);
    box-shadow: 0 0 30px rgba(0, 242, 96, 0.1) inset;
}

/* --- FOOTER --- */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--neon-green);
    color: #000 !important;
    transform: scale(1.1);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .hero-dashboard-preview .glass-panel {
        transform: rotateX(0);
    }
    
    .navbar-collapse {
        background: rgba(5, 6, 8, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        border: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
}

/* --- EXTRA MOBILE RESPONSIVE (<768px) --- */
@media (max-width: 768px) {
    /* 1. Nav Links Visibility & Alignment */
    .navbar-nav .nav-link {
        color: #ffffff !important;
        text-align: center;
        padding: 10px 0;
        font-size: 1.1rem;
    }

    /* 2. Hero Section Alignment */
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* Center Hero Buttons container */
    .hero-section .d-flex.justify-content-center {
        flex-direction: column;
        gap: 15px !important;
    }

    .hero-section .btn {
        width: 100%;
        margin: 0;
    }

    /* 3. Navbar Buttons (Login/Register) */
    .navbar-collapse .nav-item {
        width: 100%;
        text-align: center;
        margin-left: 0 !important; /* Reset ms-lg-3 */
    }

    .navbar-collapse .btn {
        width: 100%;
        display: block;
        margin: 10px 0;
    }
}
