/**
 * Elevate Metrics Digital — Full 3D Interactive UI & WebGL Depth System
 */

:root {
    --3d-perspective: 1200px;
    --3d-card-depth: 40px;
}

/* 1. Universal 3D Card Preserve-3D & Depth Hierarchy */
.card,
.service-card,
.portfolio-card,
.stat-card,
.blog-card,
.value-card,
.feature-card,
.process-step,
.stats-box,
.stat-counter-card,
.contact-info-card,
.faq-item,
.service-item,
.portfolio-item,
.blog-post-card,
[data-tilt] {
    transform-style: preserve-3d !important;
    perspective: var(--3d-perspective);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
    position: relative;
}

.card > *,
.service-card > *,
.portfolio-card > *,
.stat-card > *,
.blog-card > *,
.value-card > *,
.stats-box > *,
.faq-item > * {
    transform-style: preserve-3d;
}

/* 3D Floating Layers inside Cards */
.card .service-icon-box,
.service-card .service-icon,
.stat-card .stat-icon,
.stats-box .stat-icon,
.value-card .value-icon {
    transform: translateZ(40px);
    transition: transform 0.3s ease;
}

.card h3,
.card h2,
.service-card h3,
.stat-card .stat-val,
.stats-box .stat-number,
.portfolio-card h3,
.blog-card h3,
.value-card h3 {
    transform: translateZ(30px);
    transition: transform 0.3s ease;
}

.card p,
.service-card p,
.card .service-features-list,
.portfolio-card p,
.blog-card p,
.value-card p,
.stat-card .stat-lbl {
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

.card .btn,
.service-card .btn,
.portfolio-card .btn,
.blog-card .btn {
    transform: translateZ(35px);
    transition: transform 0.3s ease;
}

/* 2. Dynamic 3D Glare Reflection Overlay */
.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
    mix-blend-mode: overlay;
    z-index: 10;
}

[data-theme="dark"] .card-glare {
    background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.18) 0%, rgba(0, 102, 255, 0) 70%);
}

/* 3. 3D Floating Badges & Metric Pills */
.portfolio-badge,
.section-eyebrow,
.metric-pill {
    transform-style: preserve-3d;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.portfolio-badge:hover,
.section-eyebrow:hover {
    transform: translateY(-3px) translateZ(15px) scale(1.03);
    box-shadow: 0 12px 24px -4px rgba(0, 102, 255, 0.35);
}

.metric-pill:hover {
    transform: translateY(-2px) translateZ(20px);
    border-color: rgba(0, 229, 255, 0.4);
}

/* 4. 3D Interactive Buttons with Depth */
.btn {
    transform-style: preserve-3d;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px) translateZ(12px);
    box-shadow: 0 10px 25px -3px rgba(0, 102, 255, 0.45);
}

.btn:active {
    transform: translateY(1px) translateZ(4px);
    box-shadow: 0 4px 10px -2px rgba(0, 102, 255, 0.3);
}

.interactive-3d-canvas-wrap {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8) 0%, rgba(10, 17, 40, 0.95) 100%);
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(0, 102, 255, 0.15);
    margin: 2.5rem 0;
}

.interactive-3d-canvas-wrap canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* 5. 3D Holographic Stat Spheres & Cubes Container */
.stats-3d-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-3d-cube {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(10, 17, 40, 0.95) 100%);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stat-3d-cube:hover {
    transform: translateY(-8px) rotateX(6deg) rotateY(-6deg) translateZ(20px);
    border-color: #00E5FF;
    box-shadow: 0 25px 50px -10px rgba(0, 229, 255, 0.35);
}

.stat-3d-cube .stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    transform: translateZ(35px);
    background: linear-gradient(135deg, #00E5FF 0%, #008EFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-3d-cube .stat-text {
    font-size: 0.95rem;
    color: #94A3B8;
    transform: translateZ(25px);
    font-weight: 600;
}

/* 6. Floating 3D Keyframe Animations */
@keyframes float3D {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateX(4deg) rotateY(-4deg);
    }
}

.floating-3d {
    animation: float3D 6s ease-in-out infinite;
}

/* ========================================================
   7. Full 3D Hero Stage (Theme-Adaptive: Light & Dark)
   ======================================================== */
.hero-3d-section {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 8.5rem;
    padding-bottom: 5.5rem;
    background: radial-gradient(circle at 50% 15%, #FFFFFF 0%, #F8FAFC 55%, #EEF2F6 100%);
    width: 100%;
    max-width: 100%;
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero-3d-section {
    background: radial-gradient(circle at 50% 20%, #0F1D3D 0%, #0A1128 60%, #050B18 100%) !important;
}

.hero-3d-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3.5rem;
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-left-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-eyebrow {
    background: rgba(25, 120, 56, 0.08);
    color: #197838;
    border: 1px solid rgba(25, 120, 56, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    max-width: 100%;
    transition: all 0.3s ease;
}

[data-theme="dark"] .hero-eyebrow {
    background: rgba(25, 120, 56, 0.2) !important;
    color: #34D399 !important;
    border: 1px solid rgba(52, 211, 153, 0.35) !important;
}

.hero-title {
    color: var(--text-main);
    margin: 1.25rem 0;
    letter-spacing: -0.03em;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-title {
    color: #FFFFFF !important;
}

.hero-desc {
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 620px;
    word-break: break-word;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-desc {
    color: #CBD5E1 !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    width: 100%;
}

.btn-hero-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: none;
}

[data-theme="dark"] .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #00E5FF !important;
    color: #00E5FF !important;
}

.hero-tech-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-tech-title {
    color: #94A3B8 !important;
}

.hero-3d-stage-wrap {
    position: relative;
    width: 100%;
    min-height: 480px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

#hero-3d-stage {
    width: 100%;
    height: 480px;
    display: block;
    cursor: grab;
}

#hero-3d-stage:active {
    cursor: grabbing;
}

/* Floating Growth HUD Cards */
.hero-hud-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 15px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 142, 254, 0.25);
    border-radius: 16px;
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.08), 0 0 20px rgba(0, 142, 254, 0.12);
    z-index: 10;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .hero-hud-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(0, 142, 254, 0.35);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 142, 254, 0.2);
}

.hero-hud-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px -5px rgba(0, 142, 254, 0.25);
}

.hud-top-left {
    top: 20px;
    left: 15px;
    animation: hudFloat1 4.5s ease-in-out infinite;
}

.hud-top-right {
    top: 20px;
    right: 15px;
    animation: hudFloat3 4.8s ease-in-out infinite;
    animation-delay: 1.2s;
}

.hud-bottom-left {
    bottom: 25px;
    left: 15px;
    animation: hudFloat2 5s ease-in-out infinite;
    animation-delay: 0.6s;
}

.hud-bottom-right {
    bottom: 25px;
    right: 15px;
    animation: hudFloat3 4.8s ease-in-out infinite;
    animation-delay: 1.5s;
}

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

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

@keyframes hudFloat3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.hud-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hud-blue {
    background: rgba(0, 142, 254, 0.12);
    color: #008EFE;
    border: 1px solid rgba(0, 142, 254, 0.25);
}

.hud-gold {
    background: rgba(254, 173, 1, 0.12);
    color: #FEAD01;
    border: 1px solid rgba(254, 173, 1, 0.25);
}

.hud-green {
    background: rgba(25, 120, 56, 0.12);
    color: #197838;
    border: 1px solid rgba(25, 120, 56, 0.25);
}

.hud-info {
    display: flex;
    flex-direction: column;
}

.hud-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #64748B);
    margin-bottom: 2px;
}

.hud-value {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-main, #0F172A);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hud-tag {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
}

.hud-tag-green {
    background: rgba(25, 120, 56, 0.15);
    color: #197838;
}

.hud-tag-blue {
    background: rgba(0, 142, 254, 0.15);
    color: #008EFE;
}

.hud-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    display: inline-block;
    animation: livePulse 2s infinite;
}

@media (max-width: 992px) {
    .hero-hud-card {
        padding: 8px 12px;
    }
    .hud-icon-box {
        width: 32px;
        height: 32px;
    }
    .hud-value {
        font-size: 0.82rem;
    }
}

@media (max-width: 576px) {
    .hud-bottom-right {
        display: none;
    }
}

/* 3D Floating Language Pills in Hero Content */
.tech-pills-3d-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    perspective: 1000px;
    max-width: 100%;
}

@keyframes pillFloat3D {
    0%, 100% {
        transform: translateY(0px) translateZ(0px);
    }
    50% {
        transform: translateY(-6px) translateZ(15px);
    }
}

.tech-pill-3d {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    animation: pillFloat3D 4s ease-in-out infinite;
    max-width: 100%;
    word-break: break-word;
}

.tech-pill-3d:hover {
    animation-play-state: paused;
    transform: translateY(-6px) translateZ(24px) scale(1.12);
    border-color: var(--primary) !important;
    box-shadow: 0 12px 24px -4px rgba(0, 142, 254, 0.3) !important;
}

[data-theme="dark"] .tech-pill-3d {
    color: #FFFFFF !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(0, 229, 255, 0.35) !important;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .tech-pill-3d:hover {
    border-color: #00E5FF !important;
    box-shadow: 0 14px 28px -4px rgba(0, 229, 255, 0.5) !important;
}

.tech-pill-3d:nth-child(2n) {
    animation-delay: 0.5s;
    animation-duration: 4.5s;
}

.tech-pill-3d:nth-child(3n) {
    animation-delay: 1.1s;
    animation-duration: 5.2s;
}

.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
    max-width: 100%;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .hero-trust-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-trust-item span {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-trust-item span {
    color: #E2E8F0 !important;
}

/* 3D Perspective Cyber Grid Background */
.hero-cyber-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 142, 254, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 142, 254, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    mask-image: radial-gradient(circle at 60% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 60% 40%, black 30%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

[data-theme="dark"] .hero-cyber-grid-bg {
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px) !important;
}

/* ========================================================
   8. RESPONSIVE MEDIA QUERIES (CASCADE PRIORITY AT BOTTOM)
   ======================================================== */
@media (max-width: 992px) {
    .hero-3d-section {
        padding-top: 6.5rem !important;
        padding-bottom: 3.5rem !important;
        min-height: auto !important;
    }
    .hero-3d-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2.5rem !important;
        width: 100% !important;
    }
    .hero-left-content {
        width: 100% !important;
        text-align: center !important;
    }
    .hero-3d-grid .hero-actions {
        justify-content: center !important;
    }
    .hero-desc {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .tech-pills-3d-cloud {
        justify-content: center !important;
    }
    .hero-trust-bar {
        justify-content: center !important;
    }
    .hero-3d-stage-wrap {
        min-height: 320px !important;
        height: 320px !important;
    }
    #hero-3d-stage {
        height: 320px !important;
    }
}

@media (max-width: 768px) {
    .hero-3d-section {
        padding-top: 5.75rem !important;
        padding-bottom: 2.5rem !important;
    }
    .hero-eyebrow {
        font-size: 0.76rem !important;
        padding: 0.35rem 0.75rem !important;
        white-space: normal !important;
        text-align: center !important;
        max-width: 100% !important;
        line-height: 1.35 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-title {
        font-size: clamp(1.85rem, 7.5vw, 2.4rem) !important;
        line-height: 1.22 !important;
        letter-spacing: -0.02em !important;
        margin: 1rem 0 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .hero-desc {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }
    .hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }
    .hero-actions .btn {
        width: 100% !important;
        font-size: 0.92rem !important;
        padding: 0.85rem 1rem !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
    }
    .tech-pills-3d-cloud {
        gap: 0.45rem !important;
        justify-content: center !important;
    }
    .tech-pill-3d {
        font-size: 0.76rem !important;
        padding: 0.3rem 0.7rem !important;
    }
    .hero-trust-bar {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.6rem !important;
        margin-top: 1.5rem !important;
        padding-top: 1.25rem !important;
    }
    .hero-3d-stage-wrap {
        min-height: 260px !important;
        height: 260px !important;
    }
    #hero-3d-stage {
        height: 260px !important;
    }
}

@media (max-width: 480px) {
    .hero-3d-section {
        padding-top: 5.25rem !important;
        padding-bottom: 2rem !important;
    }
    .hero-title {
        font-size: 1.7rem !important;
        line-height: 1.25 !important;
    }
    .hero-eyebrow {
        font-size: 0.7rem !important;
        padding: 0.28rem 0.55rem !important;
    }
    .tech-pill-3d {
        font-size: 0.72rem !important;
        padding: 0.25rem 0.55rem !important;
    }
    .hero-trust-item span {
        font-size: 0.8rem !important;
    }
}

/* ========================================================
   9. ABOUT & VALUES BENTO CARDS (MODERN REDESIGN)
   ======================================================== */
.about-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.about-highlight-item strong {
    color: var(--text-main);
    display: inline;
    margin-right: 4px;
}

.about-highlight-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.modern-bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

.bento-card-blue::before { background: linear-gradient(90deg, #008EFE, #00E5FF); }
.bento-card-green::before { background: linear-gradient(90deg, #197838, #10B981); }
.bento-card-gold::before { background: linear-gradient(90deg, #FEAD01, #F59E0B); }

.modern-bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px -8px rgba(0, 142, 254, 0.15);
    border-color: rgba(0, 142, 254, 0.3);
}

.bento-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.bento-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.modern-bento-card:hover .bento-icon-box {
    transform: scale(1.08) rotate(4deg);
}

.bento-icon-blue {
    background: rgba(0, 142, 254, 0.1);
    color: #008EFE;
    border: 1px solid rgba(0, 142, 254, 0.2);
}

.bento-icon-green {
    background: rgba(25, 120, 56, 0.1);
    color: #197838;
    border: 1px solid rgba(25, 120, 56, 0.2);
}

.bento-icon-gold {
    background: rgba(254, 173, 1, 0.12);
    color: #FEAD01;
    border: 1px solid rgba(254, 173, 1, 0.22);
}

.bento-eyebrow {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bento-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.bento-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.bento-desc {
    font-size: 0.94rem;
    line-height: 1.68;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.bento-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.bento-tag {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 30px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .modern-bento-card {
        padding: 1.5rem 1.25rem;
    }
}

/* ==========================================================================
   SME GROWTH VIDEO CAROUSEL SHOWCASE (HERO RIGHT)
   ========================================================================== */
.hero-video-stage-wrap {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    perspective: 1000px;
}

.sme-video-deck-header {
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 15;
}

.sme-story-bars {
    display: flex;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.sme-story-bar {
    flex: 1;
    height: 4px;
    background: rgba(0, 142, 254, 0.15);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
}

[data-theme="dark"] .sme-story-bar {
    background: rgba(255, 255, 255, 0.12);
}

.sme-story-bar:hover {
    background: rgba(0, 142, 254, 0.35);
}

.sme-story-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #008EFE, #197838);
    border-radius: inherit;
    transition: width 0.05s linear;
}

.sme-pill-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sme-tab-btn {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

[data-theme="dark"] .sme-tab-btn {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.sme-tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.sme-tab-btn.active {
    background: #008EFE;
    color: #FFFFFF !important;
    border-color: #008EFE;
    box-shadow: 0 4px 14px rgba(0, 142, 254, 0.35);
}

.sme-video-frame {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: 24px;
    overflow: hidden;
    background: #0B132B;
    border: 1px solid rgba(0, 142, 254, 0.3);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.2), 0 0 35px rgba(0, 142, 254, 0.15);
    transform-style: preserve-3d;
    transition: box-shadow 0.3s ease;
}

.sme-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.sme-video-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
    pointer-events: none;
}

.sme-video-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

.sme-slide-video,
.sme-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sme-video-slide.active .sme-slide-img {
    transform: scale(1.08) translate(-0.5%, -0.5%);
}

.sme-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 11, 28, 0.2) 0%, rgba(5, 11, 28, 0.4) 45%, rgba(5, 11, 28, 0.92) 100%);
    pointer-events: none;
}

.sme-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.5rem 1.25rem;
    z-index: 5;
    color: #FFFFFF;
}

.sme-caption-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.sme-caption-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFFFFF !important;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.sme-caption-metrics {
    display: flex;
    gap: 12px;
}

.sme-metric-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 6px 12px;
    flex: 1;
}

.sme-metric-box .metric-val {
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.1;
}

.sme-metric-box .metric-lbl {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    margin-top: 2px;
}

.sme-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(10, 17, 40, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.sme-carousel-btn:hover {
    background: #008EFE;
    border-color: #008EFE;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 142, 254, 0.4);
}

.sme-prev-btn {
    left: 12px;
}

.sme-next-btn {
    right: 12px;
}

@media (max-width: 992px) {
    .hero-video-stage-wrap {
        min-height: 420px;
        margin-top: 2.5rem;
    }
    .sme-video-frame {
        height: 380px;
    }
    .sme-caption-title {
        font-size: 1.05rem;
    }
}

@media (max-width: 576px) {
    .sme-video-frame {
        height: 340px;
        border-radius: 18px;
    }
    .sme-pill-nav {
        display: none;
    }
    .sme-carousel-btn {
        width: 32px;
        height: 32px;
    }
}