/* MrProfit Trading Academy - Custom Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --brand-primary: #0b132b;
    --brand-secondary: #1c2541;
    --brand-accent: #00b4d8;
    --brand-accent-hover: #0096c7;
    --brand-teal: #06d6a0;
    --brand-gold: #ffb703;
    --brand-dark: #070c18;
    --brand-surface: #111a33;
    --brand-surface-light: #f8fafc;
    --brand-border: #e2e8f0;
    --brand-border-dark: #2a375a;
    --brand-text-muted: #64748b;
    --brand-danger: #ef476f;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --sidebar-width: 270px;
}

body {
    font-family: var(--font-sans);
    color: #1e293b;
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navbar Styling */
.navbar-custom {
    background: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-custom .navbar-brand .logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #00b4d8, #06d6a0);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0b132b;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.navbar-custom .nav-link {
    color: #cbd5e1 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    transition: color 0.2s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #00b4d8 !important;
}

/* Custom Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #ffffff;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.65rem 1.4rem;
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.25);
    transition: all 0.25s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #0096c7, #023e8a);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.35);
}

.btn-outline-custom {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.65rem 1.4rem;
    transition: all 0.25s ease;
}

.btn-outline-custom:hover {
    border-color: #00b4d8;
    color: #00b4d8;
    background: rgba(0, 180, 216, 0.08);
}

/* Hero Section */
.hero-wrapper {
    background: radial-gradient(circle at 80% 20%, #1c2e5c 0%, #0b132b 60%, #070c18 100%);
    position: relative;
    padding: 6rem 0 5rem;
    color: #ffffff;
    overflow: hidden;
}

.hero-wrapper::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;
    pointer-events: none;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50px;
    color: #00b4d8;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #00b4d8, #06d6a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Course Cards */
.course-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(11, 19, 43, 0.08);
    border-color: #cbd5e1;
}

.course-thumbnail {
    position: relative;
    height: 190px;
    background: linear-gradient(135deg, #0b132b, #1c2541);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
}

.course-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-level-beginner { background: #06d6a0; color: #0b132b; }
.badge-level-intermediate { background: #00b4d8; color: #ffffff; }
.badge-level-advanced { background: #ffb703; color: #0b132b; }

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* FIXED SIDEBAR ON SCROLLING */
.dashboard-sidebar {
    width: var(--sidebar-width);
    background: #0b132b;
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1040;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar for sidebar */
.dashboard-sidebar::-webkit-scrollbar {
    width: 5px;
}
.dashboard-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.dashboard-sidebar-header {
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    background: #0b132b;
    z-index: 10;
}

.dashboard-nav-group-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    padding: 1.25rem 1.25rem 0.5rem;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.dashboard-nav-link i {
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
}

.dashboard-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

.dashboard-nav-link.active {
    color: #00b4d8;
    background: linear-gradient(90deg, rgba(0, 180, 216, 0.12), transparent);
    border-left-color: #00b4d8;
    font-weight: 600;
}

/* Dashboard main area offset by sidebar width so sidebar stays fixed */
.dashboard-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f8fafc;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.dashboard-topbar {
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.75rem;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.dashboard-content {
    padding: 2rem 1.75rem;
    flex-grow: 1;
}

/* Metric / Stat Cards */
.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    border-color: #cbd5e1;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-icon.primary { background: rgba(0, 180, 216, 0.12); color: #00b4d8; }
.stat-icon.success { background: rgba(6, 214, 160, 0.12); color: #06d6a0; }
.stat-icon.warning { background: rgba(255, 183, 3, 0.12); color: #ffb703; }
.stat-icon.danger { background: rgba(239, 71, 111, 0.12); color: #ef476f; }
.stat-icon.dark { background: rgba(11, 19, 43, 0.1); color: #0b132b; }

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Lesson Video Player & Content */
.video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #0b132b;
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Custom Table Design */
.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.custom-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.custom-table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.custom-table tr:hover td {
    background-color: #f8fafc;
}

/* Regulatory Disclaimer Banner */
.disclaimer-banner {
    background: #f1f5f9;
    border-left: 4px solid #64748b;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

/* Footer Styling */
.footer-custom {
    background: #070c18;
    color: #94a3b8;
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-custom a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-custom a:hover {
    color: #00b4d8;
}

/* Responsive Sidebar Toggle */
@media (max-width: 991.98px) {
    .dashboard-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -270px;
        height: 100vh;
    }

    .dashboard-sidebar.show {
        left: 0;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .dashboard-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1030;
        display: none;
    }

    .dashboard-backdrop.show {
        display: block;
    }

    .hero-title {
        font-size: 2.3rem;
    }
}

/* ==========================================================================
   ADVANCED ANIMATION SYSTEM & VISUAL EFFECTS
   ========================================================================== */

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(8px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 180, 216, 0.2);
    }
    50% {
        box-shadow: 0 0 35px rgba(6, 214, 160, 0.4);
    }
}

@keyframes radarSweep {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(6, 214, 160, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(6, 214, 160, 0);
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes cardEnter {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes shimmerGlow {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Live Market Ticker Bar */
.market-ticker-bar {
    background: #060b18;
    color: #94a3b8;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.45rem 0;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    position: relative;
    z-index: 1030;
}

.market-ticker-track {
    display: inline-flex;
    gap: 2.5rem;
    animation: marqueeScroll 35s linear infinite;
}

.market-ticker-track:hover {
    animation-play-state: paused;
}

.market-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.market-ticker-item .symbol {
    color: #ffffff;
    font-weight: 700;
}

.market-ticker-item .price {
    color: #cbd5e1;
}

.market-ticker-item .change-up {
    color: #06d6a0;
    font-weight: 600;
}

.market-ticker-item .change-down {
    color: #ef476f;
    font-weight: 600;
}

/* Animated Entrance Helpers */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }
.animate-delay-3 { animation-delay: 0.45s; }

/* Floating Elements */
.animate-float {
    animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: floatReverse 5s ease-in-out infinite;
}

/* Live Pulse Radar Indicator */
.live-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #06d6a0;
    border-radius: 50%;
    display: inline-block;
    animation: radarSweep 1.8s infinite;
}

/* Interactive Card Glow & 3D Tilt on Hover */
.course-card, .stat-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(11, 19, 43, 0.12), 0 0 20px rgba(0, 180, 216, 0.1);
    border-color: rgba(0, 180, 216, 0.4);
}

/* Glassmorphism Auth Container with Ambient Glow */
.auth-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 3rem 1rem;
    background: radial-gradient(circle at 50% 20%, #172554 0%, #0b132b 50%, #070c18 100%);
    overflow: hidden;
}

/* Ambient Glowing Background Orbs */
.auth-page-container::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.18) 0%, transparent 70%);
    top: 10%;
    left: 15%;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    animation: floatSlow 8s ease-in-out infinite alternate;
}

.auth-page-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.14) 0%, transparent 70%);
    bottom: 10%;
    right: 15%;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    animation: floatReverse 7s ease-in-out infinite alternate;
}

.auth-glass-card {
    background: rgba(17, 26, 51, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 180, 216, 0.08);
    position: relative;
    z-index: 5;
    animation: cardEnter 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-glass-card .form-control {
    background: rgba(11, 19, 43, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: all 0.25s ease;
}

.auth-glass-card .form-control:focus {
    background: rgba(11, 19, 43, 0.95);
    border-color: #00b4d8;
    box-shadow: 0 0 16px rgba(0, 180, 216, 0.35);
    color: #ffffff;
}

.auth-glass-card .input-group-text {
    background: rgba(11, 19, 43, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

/* Candlestick visual bars */
.candlestick-chart-mock {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    padding: 10px 0;
}

.candle-bar {
    width: 14px;
    position: relative;
    border-radius: 2px;
    transition: height 0.3s ease;
}

.candle-bar.up {
    background: #06d6a0;
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.3);
}

.candle-bar.up::before, .candle-bar.up::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #06d6a0;
    left: 6px;
}
.candle-bar.up::before { top: -8px; height: 8px; }
.candle-bar.up::after { bottom: -8px; height: 8px; }

.candle-bar.down {
    background: #ef476f;
    box-shadow: 0 0 10px rgba(239, 71, 111, 0.3);
}

.candle-bar.down::before, .candle-bar.down::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #ef476f;
    left: 6px;
}
.candle-bar.down::before { top: -8px; height: 8px; }
.candle-bar.down::after { bottom: -8px; height: 8px; }

/* ==========================================================================
   SCROLL-TIME ANIMATION SYSTEM (HIGH-EFFICIENCY & STYLISH)
   ========================================================================== */

/* Top Scroll Progress Indicator Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #00b4d8 0%, #06d6a0 50%, #ffb703 100%);
    box-shadow: 0 0 14px rgba(0, 180, 216, 0.75), 0 0 6px rgba(6, 214, 160, 0.8);
    z-index: 1060;
    transition: width 0.08s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    will-change: width;
}

/* Floating Back-To-Top Circular Pill */
.back-to-top-btn {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 19, 43, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 180, 216, 0.4);
    color: #00b4d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 20px, 0) scale(0.85);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 15px rgba(0, 180, 216, 0.2);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #ffffff;
    transform: translate3d(0, -4px, 0) scale(1.08);
    box-shadow: 0 14px 28px rgba(0, 180, 216, 0.45);
    border-color: #00b4d8;
}

/* Base Scroll Reveal Classes - Hardware Accelerated */
.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.985);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Blur-to-Sharp Focus Reveal */
.scroll-reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, filter, transform;
    backface-visibility: hidden;
}

.scroll-reveal-blur.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
}

/* Horizontal Slides */
.scroll-reveal-left {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Scale & 3D Tilt Pop */
.scroll-reveal-scale {
    opacity: 0;
    transform: scale3d(0.92, 0.92, 1) translate3d(0, 20px, 0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
}

.scroll-reveal-flip {
    opacity: 0;
    transform: perspective(1000px) rotateX(12deg) translate3d(0, 25px, 0);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.scroll-reveal-flip.revealed {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translate3d(0, 0, 0);
}

/* Staggered Delay Utilities */
.delay-1 { transition-delay: 0.08s !important; }
.delay-2 { transition-delay: 0.16s !important; }
.delay-3 { transition-delay: 0.24s !important; }
.delay-4 { transition-delay: 0.32s !important; }
.delay-5 { transition-delay: 0.40s !important; }
.delay-6 { transition-delay: 0.48s !important; }

/* Interactive View Details Elements & Hover Shimmers */
.detail-card-glow {
    border: 1px solid rgba(0, 180, 216, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0, 180, 216, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

.syllabus-item {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 3px solid transparent;
}

.syllabus-item:hover {
    transform: translate3d(6px, 0, 0);
    background-color: #f1f5f9 !important;
    border-left-color: #00b4d8;
}

/* Button Shimmer / Ripple Glow Effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 25%;
    height: 200%;
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(30deg);
    transition: none;
    animation: shimmerGlow 3.5s infinite;
}

/* Floating Ambient Glow Orbs for Luxury Depth */
.glow-orb-primary {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.glow-orb-teal {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.12) 0%, transparent 70%);
    filter: blur(45px);
    pointer-events: none;
    z-index: 0;
}

/* Sleek Feature Cards Hover */
.feature-card-hover {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.feature-card-hover:hover {
    transform: translate3d(0, -6px, 0);
    border-color: rgba(0, 180, 216, 0.4) !important;
    box-shadow: 0 16px 30px rgba(11, 19, 43, 0.06), 0 0 15px rgba(0, 180, 216, 0.1);
}

.feature-card-hover .stat-icon {
    transition: transform 0.3s ease;
}

.feature-card-hover:hover .stat-icon {
    transform: scale(1.1) rotate(4deg);
}

/* Step Roadmap Cards & Badges */
.step-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translate3d(0, -8px, 0);
    border-color: rgba(0, 180, 216, 0.5) !important;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 180, 216, 0.2);
}

.step-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(6, 214, 160, 0.2));
    border: 1px solid rgba(0, 180, 216, 0.35);
    font-size: 1.5rem;
    font-weight: 800;
    color: #00b4d8;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .step-number-badge {
    transform: scale(1.12) rotate(4deg);
    border-color: #06d6a0;
    color: #06d6a0;
    box-shadow: 0 6px 20px rgba(6, 214, 160, 0.35);
}

/* Course Card Modern Hover */
.course-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
    border: 1px solid #e2e8f0;
}

.course-card:hover {
    transform: translate3d(0, -8px, 0);
    border-color: rgba(0, 180, 216, 0.4) !important;
    box-shadow: 0 20px 35px rgba(11, 19, 43, 0.08), 0 0 20px rgba(0, 180, 216, 0.15);
}

.course-card .course-thumbnail i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-thumbnail i {
    transform: scale(1.15) rotate(3deg);
}

/* Subtle Candlestick Entry Pulse */
.candlestick-chart-mock .candle-bar {
    transform-origin: bottom;
    animation: candleGrow 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes candleGrow {
    0% {
        transform: scaleY(0.1);
        opacity: 0.3;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}




