@import url("https://registry.npmmirror.com/shed-fonts/latest/files/DingTalk%20JinBuTi/Regular/result.css"); 

/* =========================================
   HERO SLIDER STYLES MOVED TO hero-slider.css
   ========================================= */
.bx-tada {
    -webkit-animation: tada 1.5s ease infinite;
    animation: tada 1.5s ease infinite;
}
.yy-dtjbt-text {
  font-family: DingTalk JinBuTi;
}
.yy-b-f {
  -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}


.yunyoo-gradient-text-1 {
    background-image: linear-gradient(75deg, rgb(167 112 239) 0%, rgb(207 139 243) 50%, rgb(253 185 155) 100%);
    -webkit-background-clip: text;
    color: transparent;
}
.yunyoo-gradient-text-2 {
    background-image: linear-gradient(75deg, rgb(25 210 216) 0%, rgb(20 167 220) 50%, rgb(24 135 255) 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.text-theme-blue {
    color: #3b82f6 !important;
}

.text-theme-purple {
    color: #8b5cf6 !important;
}

.text-theme-green {
    color: #22c55e !important;
}

/* Glassmorphism Card Effect */
.yunyoo-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.yunyoo-bg-header {
    background: #ffffff; /* Fallback */
    background: radial-gradient(circle at top right, #f0f9ff 0%, #fff 40%, #fff 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/* =========================================
   Banner & Hero Section
   ========================================= */
.yunyoo-bg-banner {
    padding-top: 120px !important; /* Reduced to move up */
    padding-bottom: 0;
    position: relative;
    background-color: #f8fafc;
    overflow: hidden;
    min-height: 700px;
}

@media (max-width: 991.98px) {
    .yunyoo-bg-banner {
        padding-top: 100px !important; /* Reduced to move up */
        min-height: auto;
    }
}

/* Add subtle animated gradient blobs */
.yunyoo-bg-banner::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    animation: blob-float 20s infinite alternate;
    z-index: -1;
}

.yunyoo-bg-banner::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0) 70%);
    border-radius: 50%;
    animation: blob-float 15s infinite alternate-reverse;
    z-index: -1;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Custom Tiny Slider Navigation */
.yunyoo-bg-banner .tns-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}

.yunyoo-bg-banner .tns-controls button {
    pointer-events: auto; /* Enable clicks on buttons */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #1e293b;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.yunyoo-bg-banner .tns-controls button:hover {
    background: #fff;
    color: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.yunyoo-bg-banner .tns-controls button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.yunyoo-bg-banner .tns-outer {
    position: relative;
}
.yunyoo-bg-banner .tns-nav,
.custom-thumb {
    display: flex !important;
    justify-content: center;
    gap: 12px;
    position: absolute;
    bottom: 20px; /* Moved down */
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
    width: auto;
    margin: 0 auto;
}

/* Modal Adjustments for Navbar Overlap */
.modal {
    z-index: 1055 !important; /* Ensure modal is above navbar */
}

.modal-dialog {
    margin-top: 80px; /* Add margin to avoid navbar overlap */
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    .holo-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        padding: 20px;
        height: auto;
        gap: 15px;
    }
}

@media (max-width: 767.98px) {
    /* Holo Bento Grid Fixes - 2 Columns Grid */
    .holographic-hub-container {
        height: auto !important;
        overflow: hidden !important; /* Prevent overflow from background grid */
    }
    
    .holo-bg-grid {
        display: none !important; /* Hide complex background animation on mobile for performance and to prevent overflow */
    }
    
    .holo-bento-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
        padding: 15px !important;
        gap: 15px !important;
        height: auto !important;
    }
    
    /* Large card (Hong Kong) spans full width */
    .holo-card.holo-card-lg {
        grid-column: span 2 !important;
    }
    
    /* Medium/Small cards take 1 column each */
    .holo-card.holo-card-md,
    .holo-card.holo-card-sm {
        grid-column: span 1 !important;
    }

    .holo-card {
        min-height: auto !important;
        height: auto !important;
        width: 100% !important;
        /* Disable 3D transform on mobile for better performance/compatibility */
        transform: none !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .holo-card:hover {
        transform: translateY(-5px) !important;
    }
    
    /* Fix holo-dashboard overlap */
    .holo-dashboard {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        grid-template-columns: none !important;
    }
    
    .holo-visual-area.expanded {
        padding: 15px !important;
        min-height: auto !important;
        margin: 10px 0 !important;
    }
    
    .dashboard-visual {
        margin-bottom: 10px;
    }
    
    .metric-item {
        margin-bottom: 10px;
    }
}

/* =========================================
   Mobile Optimization (Added by Trae)
   ========================================= */

/* Hero Section Typography */
.hero-title {
    font-size: 3.5rem;
    color: #1e293b;
}

.hero-subtitle {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #3b82f6;
    white-space: nowrap;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 2.2;
    color: #1e293b;
}

/* Navbar Logo Default */
.navbar-logo {
    height: 50px;
    width: auto;
}

/* Mobile Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem; /* Reduce size on tablets/small laptops */
    }
    .hero-subtitle {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    /* Navbar Adjustments */
    .navbar-brand {
        margin-right: 0 !important; /* Remove margin to save space */
    }
    
    .navbar-logo {
        height: 36px; /* Smaller logo on mobile */
    }
    
    .navbar-toggler {
        padding: 4px 8px; /* Compact toggler */
        margin-right: 0 !important;
    }

    /* Hero Section Adjustments */
    .yunyoo-bg-banner {
        padding-top: 80px !important; /* Adjusted for 60px navbar */
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 3rem; /* Reverting to larger size for impact */
        margin-top: 1rem !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.1; /* Tighter line height for large text */
        word-wrap: break-word; /* Ensure wrapping */
    }

    .hero-subtitle {
        font-size: 2.2rem; /* Larger subtitle */
        white-space: normal !important; /* Force wrapping to prevent overflow */
        line-height: 1.3;
        margin-bottom: 1.2rem !important;
        word-wrap: break-word;
    }
    
    .hero-desc {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem !important;
    }
    
    /* Adjust buttons in hero */
    .yunyoo-bg-banner .hstack {
        flex-direction: row !important; /* Force horizontal layout */
        flex-wrap: nowrap !important; /* Prevent wrapping */
        gap: 10px !important;
        width: 100%;
    }
    
    .yunyoo-bg-banner .hstack .btn {
        width: auto !important; /* Allow natural width */
        flex: 1; /* Distribute space equally */
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        font-size: 0.9rem; /* Slightly smaller */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
    
    /* Hide visual elements that clutter mobile */
    .hero-visual {
        display: none !important;
    }
    
    .holo-content {
        transform: none !important;
        padding: 15px; /* Reduce padding for more space */
    }

    .holo-header {
        flex-wrap: wrap; /* Allow content to wrap if needed */
        gap: 8px;
    }

    .ping-indicator {
        flex-shrink: 0; /* Prevent indicator from being compressed */
        margin-left: auto; /* Ensure it stays to the right */
    }
}

.yunyoo-bg-banner .tns-nav button,
.custom-thumb button {
    width: 40px;
    height: 6px;
    border-radius: 4px;
    background: rgba(148, 163, 184, 0.5); /* Slate 400 with opacity */
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    margin: 0 4px;
}

.yunyoo-bg-banner .tns-nav button.tns-nav-active,
.custom-thumb button.tns-nav-active {
    background: #3b82f6; /* Blue 500 */
    width: 60px;
    transform: none;
    box-shadow: none;
}

/* Mobile adjustments for nav buttons */
@media (max-width: 767.98px) {
    .yunyoo-bg-banner .tns-nav button,
    .custom-thumb button {
        width: 25px; /* Smaller bars on mobile */
        height: 5px;
    }

    .yunyoo-bg-banner .tns-nav button.tns-nav-active,
    .custom-thumb button.tns-nav-active {
        width: 40px; /* Smaller active bar on mobile */
    }
}

/* Feature Box Styling */
.feature-box-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-box-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-box-card .icon-circle {
    transition: all 0.3s ease;
}

.feature-box-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}



/* Button Gradient Override */
.btn-blue-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-blue-gradient:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}



/* Hero Environment */
.hero-environment-section {
    position: relative;
    overflow: hidden;
}

.hero-environment-section .container {
    position: relative;
    z-index: 2;
}

/* Environment Pills Container */
.environment-pills-container {
    position: relative;
    height: 120px;
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.env-pills-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none; /* Let clicks pass through container */
}

/* Removed duplicate tns-controls button styles */

/* Environment Support - Floating Pills (Imaginative Design) */
.env-bg-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 150%;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(147, 51, 234, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.env-pill {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 20px 10px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pill-float 6s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    user-select: none;
}

.env-pill:hover {
    transform: translateY(-8px) scale(1.05);
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
    z-index: 10;
}

.env-pill-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 244, 246, 0.5);
    border-radius: 50%;
    padding: 5px;
    transition: all 0.3s ease;
}

.env-pill:hover .env-pill-icon {
    background: rgba(37, 99, 235, 0.1);
    transform: rotate(10deg);
}

.env-pill-icon img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.env-pill:hover .env-pill-icon img {
    filter: grayscale(0%);
    opacity: 1;
}

.env-pill-text {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.3s ease;
}

.env-pill:hover .env-pill-text {
    color: #1e293b;
}

@keyframes pill-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Holographic Data Hub Styles - White Theme */
.holographic-hub-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: #ffffff;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.02);
}

/* Animated Grid Background */
.holo-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(226, 232, 240, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-100px);
    animation: grid-move 20s linear infinite;
    z-index: 0;
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-100px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-100px); }
}

/* Bento Grid Layout */
.holo-bento-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 20px;
    padding: 40px;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards Common */
.holo-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
}

.holo-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
}

.holo-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    z-index: 3;
}

/* Card Sizes */
.holo-card-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.holo-card-md {
    grid-column: span 1;
    grid-row: span 1;
}

.holo-card-sm {
    grid-column: span 1;
    grid-row: span 1;
}

/* Card Content */
.holo-content {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.center-align {
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Header Elements */
.holo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ping-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

.ping-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pingPulse 1.5s infinite;
}

.ping-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: #059669;
    font-family: monospace;
}

@keyframes pingPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Body Elements */
.region-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.region-icon.icon-blue { background: linear-gradient(135deg, #06b6d4, #0891b2); box-shadow: 0 10px 20px rgba(6, 182, 212, 0.2); }
.region-icon.icon-green { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2); }

.holo-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.holo-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.holo-body p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Progress Bar */
.holo-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-row span {
    width: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
}

.progress-bar-mini {
    flex-grow: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-mini .fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 3px;
}

/* Circular Chart */
.circular-chart {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.circular-chart-svg {
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke: #10b981;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% { stroke-dasharray: 0 100; }
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.counter-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Holographic Dashboard Area */
.holo-visual-area.expanded {
    flex-grow: 1;
    position: relative;
    padding: 20px;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 12px;
    margin: 10px 0 20px 0;
    min-height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
}

/* HUD Corners */
.hud-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: rgba(59, 130, 246, 0.5);
    border-style: solid;
    border-width: 0;
}
.hud-corner.top-left { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.hud-corner.top-right { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.hud-corner.bottom-left { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.hud-corner.bottom-right { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

/* Dashboard Layout */
.holo-dashboard {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    width: 100%;
    height: 100%;
}

/* Radar Visual */
.dashboard-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.radar-container {
    width: 90px;
    height: 90px;
    position: relative;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.1);
}
.radar-circle {
    position: absolute;
    inset: 15px;
    border: 1px dashed rgba(59, 130, 246, 0.3);
    border-radius: 50%;
}
.radar-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 10px #3b82f6;
}
.radar-scan {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(59, 130, 246, 0.2) 60deg, transparent 60deg);
    animation: radarSpin 3s linear infinite;
}
.radar-blip {
    position: absolute;
    width: 4px; height: 4px;
    background: #ef4444;
    border-radius: 50%;
    opacity: 0;
    animation: blipPulse 2s infinite;
}
.radar-blip.b1 { top: 25%; left: 60%; animation-delay: 0.5s; }
.radar-blip.b2 { top: 70%; left: 30%; animation-delay: 1.2s; }
.radar-blip.b3 { top: 60%; left: 75%; animation-delay: 1.8s; }

.visual-caption {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #64748b;
}

/* Metrics Grid */
.dashboard-metrics {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.metric-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}
.metric-bar-bg {
    height: 6px;
    background: rgba(203, 213, 225, 0.4);
    border-radius: 3px;
    overflow: hidden;
}
.metric-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 3px;
    transition: width 0.5s ease-out;
}
.metric-row {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}
.metric-mini {
    display: flex;
    flex-direction: column;
}
.metric-value-lg {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.2;
}

@keyframes radarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes blipPulse {
    0% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(1); }
}

/* Action Boxes Holo Style */
.action-box-holo {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), inset 0 0 20px rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.action-box-holo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.8) !important;
    border-color: #fff !important;
}

/* Theme Colors & Typography */
.action-box-holo h4 {
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}
.action-box-holo p {
    color: #64748b; /* Slate 500 - Clear readable gray */
    font-weight: 500;
}

.action-box-holo.theme-blue {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(239, 246, 255, 0.4) 100%) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}
.action-box-holo.theme-blue .icon-glow {
    background: linear-gradient(135deg, #2563eb, #60a5fa); /* Stronger Blue */
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.action-box-holo.theme-blue h4 {
    color: #1e40af; /* Dark Blue Text */
}
.action-box-holo.theme-blue:hover h4 {
    color: #2563eb; /* Bright Blue on Hover */
}

.action-box-holo.theme-cyan {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(236, 254, 255, 0.4) 100%) !important;
    border-color: rgba(8, 145, 178, 0.3) !important;
}
.action-box-holo.theme-orange {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 247, 237, 0.4) 100%) !important;
    border-color: rgba(249, 115, 22, 0.3) !important;
}
.action-box-holo.theme-green {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(240, 253, 244, 0.4) 100%) !important;
    border-color: rgba(22, 163, 74, 0.3) !important;
}
.action-box-holo.theme-blue h4, .action-box-holo.theme-blue h6 { color: #1e40af; }
.action-box-holo.theme-cyan h4, .action-box-holo.theme-cyan h6 { color: #0e7490; }
.action-box-holo.theme-orange h4, .action-box-holo.theme-orange h6 { color: #c2410c; }
.action-box-holo.theme-green h4, .action-box-holo.theme-green h6 { color: #15803d; }
.action-box-holo.theme-cyan .icon-glow {
    background: linear-gradient(135deg, #0891b2, #22d3ee); /* Stronger Cyan */
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}
.action-box-holo.theme-cyan h4 {
    color: #155e75; /* Dark Cyan Text */
}
.action-box-holo.theme-cyan:hover h4 {
    color: #0891b2; /* Bright Cyan on Hover */
}

.action-box-holo .icon-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    transition: transform 0.3s ease;
}
.action-box-holo:hover .icon-lg {
    transform: scale(1.1) rotate(5deg);
}

/* Holo Button */
.btn-holo {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(203, 213, 225, 0.8);
    color: #475569;
    font-weight: 700;
    border-radius: 8px;
    padding: 6px 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.action-box-holo.theme-blue .btn-holo:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}
.action-box-holo.theme-cyan .btn-holo:hover {
    background: #06b6d4;
    border-color: #06b6d4;
    color: white;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

/* Decorative Circle */
.holo-deco-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}
.action-box-holo.theme-blue .holo-deco-circle {
    background: radial-gradient(circle, #3b82f6, transparent);
}
.action-box-holo.theme-cyan .holo-deco-circle {
    background: radial-gradient(circle, #06b6d4, transparent);
}
.action-box-holo:hover .holo-deco-circle {
    transform: scale(1.5);
    opacity: 0.15;
}

/* Utility Classes for Holo Cards */
.bg-orange-subtle { background-color: rgba(255, 237, 213, 0.5) !important; }
.text-orange { color: #f97316 !important; }

.bg-green-subtle { background-color: rgba(220, 252, 231, 0.5) !important; }
.text-green { color: #22c55e !important; }

.bg-blue-subtle { background-color: rgba(219, 234, 254, 0.5) !important; }
.text-blue { color: #3b82f6 !important; }

.bg-cyan-subtle { background-color: rgba(207, 250, 254, 0.5) !important; }
.text-cyan { color: #06b6d4 !important; }

/* =========================================
   Product Card V2 Styles (Restored)
   ========================================= */

.product-card-v2 {
    border: none !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: #fff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.product-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Featured Card Styles */
.product-card-v2.featured {
    background: #0f172a; /* Slate 900 */
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25) !important;
}

/* Override text colors for featured card */
.product-card-v2.featured h5,
.product-card-v2.featured .text-dark {
    color: #fff !important;
}

.product-card-v2.featured p,
.product-card-v2.featured .text-secondary,
.product-card-v2.featured .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.product-card-v2.featured .pricing-wrap .price,
.product-card-v2.featured .pricing-wrap .currency {
    color: #fff !important;
}

.product-card-v2.featured .pricing-wrap .period {
    color: rgba(255, 255, 255, 0.5) !important;
}

.product-card-v2.featured .separator-line {
    background: rgba(255, 255, 255, 0.1) !important;
}

.product-card-v2.featured .card-bg-decor {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.product-card-v2.featured .card-bg-decor::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3);
    letter-spacing: 0.5px;
}

/* Icon Box */
.product-card-v2 .icon-lg {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

.product-card-v2:hover .icon-lg {
    transform: scale(1.1) rotate(5deg);
}

/* Pricing Typography */
.pricing-wrap {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.pricing-wrap .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 2px;
}

.pricing-wrap .price {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
}

.pricing-wrap .period {
    font-size: 0.95rem;
    margin-left: 4px;
    font-weight: 500;
}

/* Separator Line */
.separator-line {
    height: 1px;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Features List */
.product-features li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.product-features li i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* Hover Lift Utility */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Button Customization */
.btn-white {
    background: #fff;
    color: #0f172a;
    border: 2px solid #fff;
}

.btn-white:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #f1f5f9;
}

.btn-primary-soft {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
    border: 1px solid transparent;
}

.btn-primary-soft:hover {
    color: #fff;
    background-color: #2563eb;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

/* Mobile specific styles */
@media (max-width: 1199.98px) {
    /* Ensure header background covers the padding area */
    header.navbar-light {
        background-color: #fff;
        position: relative;
        z-index: 1030;
        top: 0;
        width: 100%;
    }

    .navbar {
        min-height: 60px; /* Further compact */
    }

    .navbar .container {
        justify-content: center;
        position: relative;
    }

    /* Absolute position the toggler to the left */
    .navbar-toggler {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0 !important;
        z-index: 10;
    }

    /* Keep brand in flow to maintain header height, center it via flex container */
    .navbar-brand {
        margin: 0 !important;
        position: static;
        transform: none;
    }
    
    /* Absolute position the right-side menu to the right */
    .navbar .nav.ms-xl-auto {
        position: absolute;
        right: 10px; /* Adjusted to prevent overflow on edge screens */
        top: 50%;
        transform: translateY(-50%);
        margin: 0 !important;
        z-index: 10;
        padding-right: 10px; /* Extra buffer */
    }
}

@media (max-width: 767.98px) {
    /* Navbar Adjustments */
    .navbar-brand {
        margin-right: 0 !important;
    }
    
    .navbar-logo {
        height: 32px;
    }
    
    /* Adjust buttons in hero - Horizontal Layout */
    .yunyoo-bg-banner .hstack {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        width: 100%;
    }
    
    .yunyoo-bg-banner .hstack .btn {
        width: auto !important;
        flex: 1;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
    
    /* Holo Bento Grid Fixes - 2 Columns Grid */
    .holo-bento-grid {
        padding: 15px !important;
        gap: 15px !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        height: auto !important;
    }
    
    .holo-card {
        min-height: auto !important;
        height: auto !important;
        width: 100% !important;
    }

    /* Large card (Hong Kong) spans full width */
    .holo-card.holo-card-lg {
        grid-column: span 2 !important;
    }
    
    /* Medium/Small cards take 1 column each (default) */
    .holo-card.holo-card-md,
    .holo-card.holo-card-sm {
        grid-column: span 1 !important;
    }
    
    .holo-visual-area.expanded {
        flex-direction: column !important;
        padding: 15px !important;
        height: auto !important;
    }
    
    .holo-dashboard {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        grid-template-columns: none !important;
    }
    
    .dashboard-visual {
        flex-direction: row !important;
        gap: 20px !important;
        justify-content: center !important;
    }
    
    /* Action Box Fixes for Slide Features (2 columns on mobile) */
    .col-6 .action-box-holo {
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px !important;
        gap: 8px !important;
    }
    
    /* Target direct children if d-flex is used */
    .col-6 .action-box-holo > div.d-flex {
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
    }
    
    .col-6 .action-box-holo .icon-circle {
        margin-bottom: 8px !important;
    }
    
    .col-6 .action-box-holo .ms-3 {
        margin-left: 0 !important;
        margin-top: 5px !important;
    }
    
    .col-6 .action-box-holo h6 {
        font-size: 0.85rem !important;
        margin-bottom: 2px !important;
    }
    
    .col-6 .action-box-holo small {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
        display: block;
    }
    
    /* Fix tns-nav mobile position & style */
    .tns-nav {
        bottom: 10px;
    }
    
    .yunyoo-bg-banner .tns-nav button,
    .custom-thumb button {
        width: 20px;
        height: 4px;
        margin: 0 3px;
        border-radius: 2px;
    }

    .yunyoo-bg-banner .tns-nav button.tns-nav-active,
    .custom-thumb button.tns-nav-active {
        width: 40px;
    }
}
