/* styles.css - Fiomarkets Design System V3 - Redesigned */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
    /* Palette: Modern Dark with Improved Readability */
    --bg-primary: #0b1120;
    --bg-secondary: #131b2f;
    --bg-card: rgba(19, 27, 47, 0.6);
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    
    --accent-primary: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.5);
    --accent-secondary: #6366f1;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;
    
    /* New accent colors for variety */
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --accent-violet: #8b5cf6;
}

/* Base Reset */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
p {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

/* ========================================
   3D GLASS ICON SYSTEM (BUG FIXED)
   ======================================== */

.icon-3d-container {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    /* Added transition to container for smooth hover scaling */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect moved to CONTAINER to prevent transform conflict with animation */
.icon-3d-container:hover {
    transform: scale(1.08);
}

.icon-3d {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    animation: iconRotate 6s ease-in-out infinite;
    /* Prevents flickering/disappearing during 3D transforms */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.icon-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.1),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 1;
    /* Prevents flickering on the glass layer */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.icon-3d::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 17px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 2;
    pointer-events: none;
    /* Prevents flickering on the shine layer */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.icon-3d i {
    position: relative;
    z-index: 3;
    font-size: 1.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* Removed conflicting hover scale from .icon-3d */
.icon-3d-container:hover .icon-3d i {
    transform: scale(1.1);
}

/* Icon Color Variants */
.icon-cyan .icon-3d::before {
    background: linear-gradient(
        135deg,
        rgba(6, 182, 212, 0.25) 0%,
        rgba(6, 182, 212, 0.1) 50%,
        rgba(6, 182, 212, 0.05) 100%
    );
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 
        inset 2px 2px 4px rgba(6, 182, 212, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(6, 182, 212, 0.15),
        0 0 20px rgba(6, 182, 212, 0.1);
}
.icon-cyan .icon-3d i { color: #22d3ee; }

.icon-indigo .icon-3d::before {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.25) 0%,
        rgba(99, 102, 241, 0.1) 50%,
        rgba(99, 102, 241, 0.05) 100%
    );
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        inset 2px 2px 4px rgba(99, 102, 241, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(99, 102, 241, 0.15),
        0 0 20px rgba(99, 102, 241, 0.1);
}
.icon-indigo .icon-3d i { color: #a5b4fc; }

.icon-emerald .icon-3d::before {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.25) 0%,
        rgba(16, 185, 129, 0.1) 50%,
        rgba(16, 185, 129, 0.05) 100%
    );
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 
        inset 2px 2px 4px rgba(16, 185, 129, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(16, 185, 129, 0.15),
        0 0 20px rgba(16, 185, 129, 0.1);
}
.icon-emerald .icon-3d i { color: #34d399; }

.icon-amber .icon-3d::before {
    background: linear-gradient(
        135deg,
        rgba(245, 158, 11, 0.25) 0%,
        rgba(245, 158, 11, 0.1) 50%,
        rgba(245, 158, 11, 0.05) 100%
    );
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 
        inset 2px 2px 4px rgba(245, 158, 11, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(245, 158, 11, 0.15),
        0 0 20px rgba(245, 158, 11, 0.1);
}
.icon-amber .icon-3d i { color: #fbbf24; }

.icon-violet .icon-3d::before {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.25) 0%,
        rgba(139, 92, 246, 0.1) 50%,
        rgba(139, 92, 246, 0.05) 100%
    );
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 
        inset 2px 2px 4px rgba(139, 92, 246, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(139, 92, 246, 0.15),
        0 0 20px rgba(139, 92, 246, 0.1);
}
.icon-violet .icon-3d i { color: #a78bfa; }

.icon-rose .icon-3d::before {
    background: linear-gradient(
        135deg,
        rgba(244, 63, 94, 0.25) 0%,
        rgba(244, 63, 94, 0.1) 50%,
        rgba(244, 63, 94, 0.05) 100%
    );
    border-color: rgba(244, 63, 94, 0.3);
    box-shadow: 
        inset 2px 2px 4px rgba(244, 63, 94, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(244, 63, 94, 0.15),
        0 0 20px rgba(244, 63, 94, 0.1);
}
.icon-rose .icon-3d i { color: #fb7185; }

/* Icon Rotation Animation */
@keyframes iconRotate {
    0%, 100% { transform: rotateY(-8deg) rotateX(5deg); }
    50% { transform: rotateY(8deg) rotateX(-5deg); }
}

/* Stagger animation delays */
.icon-3d-container:nth-child(1) .icon-3d { animation-delay: 0s; }
.icon-3d-container:nth-child(2) .icon-3d { animation-delay: 0.5s; }
.icon-3d-container:nth-child(3) .icon-3d { animation-delay: 1s; }
.icon-3d-container:nth-child(4) .icon-3d { animation-delay: 1.5s; }
.icon-3d-container:nth-child(5) .icon-3d { animation-delay: 2s; }
.icon-3d-container:nth-child(6) .icon-3d { animation-delay: 2.5s; }

/* Large 3D Icons */
.icon-3d-large {
    width: 100px;
    height: 100px;
}

.icon-3d-large .icon-3d {
    border-radius: 24px;
}

.icon-3d-large .icon-3d::before {
    border-radius: 24px;
}

.icon-3d-large .icon-3d::after {
    inset: 4px;
    border-radius: 20px;
}

.icon-3d-large .icon-3d i {
    font-size: 2.25rem;
}

/* ========================================
   BENTO GRID LAYOUT
   ======================================== */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(30, 41, 59, 0.4) 0%,
        rgba(15, 23, 42, 0.6) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(6, 182, 212, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.bento-card:hover::after {
    opacity: 1;
}

.bento-card:hover {
    border-color: rgba(6, 182, 212, 0.2);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(6, 182, 212, 0.05);
}

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

.bento-card-wide {
    grid-column: span 2;
}

.bento-card-tall {
    grid-row: span 2;
}

/* Bento Card Content */
.bento-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.bento-card-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-card-stat {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.bento-card-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Responsive Bento Grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card-lg {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card-lg,
    .bento-card-wide {
        grid-column: span 1;
    }
}

/* ========================================
   EXPANDING CARDS SYSTEM
   ======================================== */

.expanding-cards-container {
    display: flex;
    gap: 1rem;
    height: 500px;
    max-width: 1200px;
    margin: 0 auto;
}

.expanding-card {
    position: relative;
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(
        180deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(15, 23, 42, 0.8) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.expanding-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
    transition: opacity 0.4s;
}

.expanding-card:hover::before {
    opacity: 0.6;
}

.expanding-card.active {
    flex: 2.5;
}

.expanding-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.expanding-card:hover .expanding-card-bg {
    transform: scale(1.05);
}

.expanding-card-content {
    position: absolute;
    inset: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.expanding-card-icon-wrapper {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expanding-card.active .expanding-card-icon-wrapper {
    top: 3rem;
    left: 2rem;
    transform: translateX(0);
}

.expanding-card-text {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.expanding-card.active .expanding-card-text {
    transform: translateY(0);
    opacity: 1;
}

.expanding-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.expanding-card-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.expanding-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.expanding-card-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

/* Card color themes */
.expanding-card-cyan .expanding-card-cta { color: #22d3ee; border-color: rgba(34, 211, 238, 0.3); }
.expanding-card-cyan .expanding-card-cta:hover { background: rgba(34, 211, 238, 0.15); }

.expanding-card-violet .expanding-card-cta { color: #a78bfa; border-color: rgba(167, 139, 250, 0.3); }
.expanding-card-violet .expanding-card-cta:hover { background: rgba(167, 139, 250, 0.15); }

.expanding-card-indigo .expanding-card-cta { color: #a5b4fc; border-color: rgba(165, 180, 252, 0.3); }
.expanding-card-indigo .expanding-card-cta:hover { background: rgba(165, 180, 252, 0.15); }

/* Responsive Expanding Cards */
@media (max-width: 768px) {
    .expanding-cards-container {
        flex-direction: column;
        height: auto;
    }
    
    .expanding-card {
        min-height: 200px;
    }
    
    .expanding-card.active {
        flex: none;
        min-height: 400px;
    }
    
    .expanding-card-icon-wrapper {
        top: 1.5rem !important;
        left: 1.5rem !important;
        transform: translateX(0) !important;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-5px);
}

.glass-header {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

.animate-shimmer {
    animation: shimmer 2s infinite ease-in-out;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(6, 182, 212, 0.05);
}

/* Footer Hover */
.footer-link {
    transition: color 0.2s;
}
.footer-link:hover {
    color: var(--accent-primary);
    padding-left: 5px;
    display: inline-block;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    height: 40px; 
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Account Card Border Styles */
.account-card-bronze {
    border: 1px solid rgba(205, 133, 63, 0.3);
    box-shadow: 0 0 10px rgba(205, 133, 63, 0.1);
    transition: all 0.3s ease;
}

.account-card-bronze:hover {
    box-shadow: 0 0 20px rgba(205, 133, 63, 0.2);
}

.account-card-silver {
    border: 1px solid rgba(199, 210, 220, 0.3);
    box-shadow: 0 0 10px rgba(199, 210, 220, 0.1);
    transition: all 0.3s ease;
}

.account-card-silver:hover {
    box-shadow: 0 0 20px rgba(199, 210, 220, 0.2);
}

.account-card-gold {
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.account-card-gold:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.account-card-platinum {
    border: 1px solid rgba(248, 250, 252, 0.3);
    box-shadow: 0 0 10px rgba(248, 250, 252, 0.1);
    transition: all 0.3s ease;
}

.account-card-platinum:hover {
    box-shadow: 0 0 20px rgba(248, 250, 252, 0.2);
}

.account-card-vip {
    border: 1px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 0 10px rgba(192, 132, 252, 0.1);
    transition: all 0.3s ease;
}

.account-card-vip:hover {
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.2);
}

/* Subtle Signal Animation */
@keyframes subtle-border-glow {
    0% { box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.1); }
    50% { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2); }
    100% { box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.1); }
}

.animated-border-bronze,
.animated-border-silver,
.animated-border-gold,
.animated-border-platinum,
.animated-border-vip {
    animation: subtle-border-glow 4s ease-in-out infinite;
}

/* ========================================
   LANGUAGE SWITCHER STYLES
   ======================================== */

.language-switcher {
    position: relative;
}

.language-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
}

.language-switcher-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.language-switcher-btn .flag {
    font-size: 1rem;
}

.language-switcher-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 160px;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-switcher.show .language-switcher-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-switcher-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    cursor: pointer;
}

.language-switcher-item:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-primary);
}

.language-switcher-item.active {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-primary);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.language-switcher-item .flag {
    font-size: 1.25rem;
    line-height: 1;
}

/* Mobile Language Switcher */
.mobile-language-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

.mobile-language-switcher:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-language-switcher .flag {
    font-size: 1.25rem;
}

.mobile-language-submenu {
    display: none;
    flex-direction: column;
    padding: 8px 0;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-language-submenu.active {
    display: flex;
}

.mobile-language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-language-option:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-primary);
}

.mobile-language-option.active {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-primary);
    font-weight: 500;
}

.mobile-language-option .flag {
    font-size: 1.25rem;
}

.language-switcher-item.disabled,
.mobile-language-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   ENHANCED MOBILE MENU STYLES
   ======================================== */

.mobile-nav-link {
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.mobile-nav-link:active {
    transform: scale(0.98);
}

.mobile-nav-link:hover::before {
    transform: translateX(100%);
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.mobile-accordion-content:not(.hidden) {
    max-height: 500px;
    opacity: 1;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hamburger-line-1,
#hamburger-line-2,
#hamburger-line-3 {
    transition: all 0.3s ease;
}

#mobile-menu-panel::-webkit-scrollbar {
    width: 4px;
}

#mobile-menu-panel::-webkit-scrollbar-track {
    background: transparent;
}

#mobile-menu-panel::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

#mobile-menu-panel::-webkit-scrollbar-thumb:hover {
    background: #06b6d4;
}

.rtl #mobile-menu-panel {
    right: auto;
    left: 0;
    transform: translateX(-100%);
    border-left: none;
    border-right: 1px solid rgba(30, 41, 59, 0.5);
}

.rtl #mobile-menu-panel.translate-x-full {
    transform: translateX(-100%);
}

.rtl #mobile-menu-panel:not(.translate-x-full) {
    transform: translateX(0);
}

.mobile-nav-link {
    opacity: 0;
    transform: translateX(20px);
    animation: slideInRight 0.4s ease forwards;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.2s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-link.active {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
}

.mobile-nav-link.active i {
    color: #06b6d4;
}

@media (hover: none) {
    .mobile-nav-link:hover {
        background: rgba(30, 41, 59, 0.2);
    }
    .mobile-nav-link:active {
        background: rgba(30, 41, 59, 0.6);
    }
}

/* ========================================
   VPS HERO 3D VISUALIZATION STYLES
   ======================================== */

.vps-hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#vps-3d-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#vps-3d-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    opacity: 1;
}

.hologram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: 
        repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 2px,
            rgba(6, 182, 212, 0.03) 3px,
            rgba(6, 182, 212, 0.03) 4px
        );
    mix-blend-mode: screen;
    animation: scanline-move 8s linear infinite;
}

.hero-readability-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to right, #0b1120 0%, #0b1120 45%, transparent 60%);
}

@media (max-width: 1024px) {
    .vps-hero-section {
        min-height: auto;
        padding-bottom: 4rem;
    }

    #vps-3d-container canvas {
        opacity: 0.2; 
    }

    .hero-readability-gradient {
        background: none;
    }
}

@keyframes scanline-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

@keyframes holo-glitch {
    0% { opacity: 0.95; transform: translate(0, 0); filter: hue-rotate(0deg); }
    2% { opacity: 0.9; transform: translate(2px, 0); filter: hue-rotate(10deg); }
    4% { opacity: 0.95; transform: translate(0, 0); filter: hue-rotate(0deg); }
    98% { opacity: 0.95; transform: translate(0, 0); }
    100% { opacity: 0.95; transform: translate(0, 0); }
}

.hologram-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

/* ========================================
   SECTION-SPECIFIC STYLES
   ======================================== */

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
}

/* Ambient Glow */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Feature Card Hover Effect */
.feature-card-hover {
    position: relative;
    overflow: hidden;
}

.feature-card-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(6, 182, 212, 0.03) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card-hover:hover::before {
    opacity: 1;
}

/* Animated Gradient Border */
@keyframes gradient-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gradient-border-animated {
    position: relative;
}

.gradient-border-animated::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(6, 182, 212, 0.5) 60deg,
        transparent 120deg
    );
    animation: gradient-rotate 4s linear infinite;
    z-index: -1;
}

.gradient-border-animated::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: var(--bg-primary);
    z-index: -1;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for children */
.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }

/* Add to styles.css - New Section for Trading Engine */

/* ========================================
   TRADING ENGINE SECTION - DISTINCT THEME (UPDATED)
   ======================================== */

.trading-engine-section {
    /* Brightened background: Slate to Deep Teal */
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #134e4a 100%);
    position: relative;
}

.trading-engine-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(20, 184, 166, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 100%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Trading Engine Cards Container */
.te-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .te-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Trading Engine Card */
.te-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.te-card-inner {
    position: relative;
    padding: 2.5rem;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Backgrounds - Brightened */
.te-card-cyan .te-card-inner {
    background: linear-gradient(160deg, rgba(20, 184, 166, 0.18) 0%, rgba(6, 95, 70, 0.25) 50%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(20, 184, 166, 0.25);
}

.te-card-cyan:hover .te-card-inner {
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(20, 184, 166, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.te-card-violet .te-card-inner {
    background: linear-gradient(160deg, rgba(139, 92, 246, 0.18) 0%, rgba(91, 33, 182, 0.25) 50%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.te-card-violet:hover .te-card-inner {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.te-card-amber .te-card-inner {
    background: linear-gradient(160deg, rgba(245, 158, 11, 0.18) 0%, rgba(180, 83, 9, 0.25) 50%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.te-card-amber:hover .te-card-inner {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(245, 158, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Desktop Hover Expansion */
@media (min-width: 1025px) {
    .te-card {
        flex: 1;
        min-width: 0;
    }
    
    .te-card:hover {
        flex: 1.3;
    }
    
    .te-card:hover .te-card-inner {
        transform: scale(1.02);
    }
}

/* 3D Icon Container */
.te-icon-3d-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1.5rem;
}

.te-icon-3d-canvas {
    width: 100%;
    height: 100%;
}

/* Icon Glow Effect */
.te-icon-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.5s ease;
}

.te-card-cyan .te-icon-glow {
    background: radial-gradient(circle, rgba(20, 184, 166, 0.7) 0%, transparent 70%);
}

.te-card-violet .te-icon-glow {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.7) 0%, transparent 70%);
}

.te-card-amber .te-icon-glow {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.7) 0%, transparent 70%);
}

.te-card:hover .te-icon-glow {
    opacity: 0.7;
    transform: scale(1.2);
}

/* Card Content */
.te-card-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.te-card-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.te-card-cyan .te-card-label { color: rgba(20, 184, 166, 0.9); }
.te-card-violet .te-card-label { color: rgba(139, 92, 246, 0.9); }
.te-card-amber .te-card-label { color: rgba(245, 158, 11, 0.9); }

.te-card-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.te-card-cyan:hover .te-card-title { color: #5eead4; }
.te-card-violet:hover .te-card-title { color: #c4b5fd; }
.te-card-amber:hover .te-card-title { color: #fcd34d; }

.te-card-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Card Divider */
.te-card-divider {
    height: 1px;
    margin-bottom: 1.5rem;
    opacity: 0.4;
}

.te-card-cyan .te-card-divider { background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.6), transparent); }
.te-card-violet .te-card-divider { background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent); }
.te-card-amber .te-card-divider { background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.6), transparent); }

/* Card CTA */
.te-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.875rem 1.5rem;
    border-radius: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.te-card-cyan .te-card-cta {
    color: #5eead4;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.te-card-cyan:hover .te-card-cta {
    background: rgba(20, 184, 166, 0.25);
    border-color: rgba(20, 184, 166, 0.5);
}

.te-card-violet .te-card-cta {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.te-card-violet:hover .te-card-cta {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
}

.te-card-amber .te-card-cta {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.te-card-amber:hover .te-card-cta {
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.5);
}

.te-card-cta i {
    transition: transform 0.3s ease;
}

.te-card:hover .te-card-cta i {
    transform: translateX(4px);
}

/* Decorative Elements */
.te-card-decor {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
}

.te-card-decor-1 {
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid currentColor;
}

.te-card-decor-2 {
    bottom: 20%;
    left: -30px;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 1px solid currentColor;
    transform: rotate(45deg);
}

.te-card-cyan .te-card-decor { color: #14b8a6; }
.te-card-violet .te-card-decor { color: #8b5cf6; }
.te-card-amber .te-card-decor { color: #f59e0b; }

/* Section Header Styles */
.te-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(139, 92, 246, 0.2) 50%, rgba(245, 158, 11, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.te-section-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6, #8b5cf6, #f59e0b);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Noise texture for this section */
.te-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* ========================================
   WORLD-CLASS PLATFORM - RICH GLASS CARDS
   ======================================== */

.world-class-platform-section {
    background: linear-gradient(180deg, #020617 0%, #0a0f1a 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

/* Dot Grid Pattern Texture */
.world-class-platform-section .wcp-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* Ambient Glows */
.world-class-platform-section .wcp-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.wcp-glow-1 {
    top: 0%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: rgba(6, 182, 212, 0.15);
}

.wcp-glow-2 {
    bottom: 0%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.12);
}

.wcp-glow-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: rgba(16, 185, 129, 0.08);
}

.world-class-platform-section .container {
    position: relative;
    z-index: 10;
}

/* ========================================
   GLASS CARD BASE
   ======================================== */

.world-class-platform-section .bento-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* VISIBLE NOISE TEXTURE - NOW USING PNG */
.world-class-platform-section .bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    /* UPDATE THIS PATH to where you saved the noise.png file */
    background-image: url('/assets/images/noise.png'); 
    background-repeat: repeat;
    opacity: 0.25; /* Controls texture visibility */
    pointer-events: none;
    mix-blend-mode: overlay; /* Blends texture stylishly with the gradient */
    z-index: 0;
}

/* Top Highlight Edge */
.world-class-platform-section .bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    z-index: 1;
}

/* Hover Glow Container */
.world-class-platform-section .bento-card .card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.world-class-platform-section .bento-card:hover .card-glow {
    opacity: 1;
}

.world-class-platform-section .bento-card > * {
    position: relative;
    z-index: 2;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.world-class-platform-section .bento-card-title {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: color 0.3s ease;
}

.world-class-platform-section .bento-card-desc {
    color: #cbd5e1; /* slate-400 */
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* ========================================
   CYAN CARD - RICH GRADIENT
   ======================================== */

.world-class-platform-section .bento-card-cyan {
    background: linear-gradient(
        145deg,
        rgba(34, 211, 238, 0.45) 0%,
        rgba(6, 182, 212, 0.25) 50%,
        rgba(14, 116, 144, 0.20) 100%
    );
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.world-class-platform-section .bento-card-cyan .card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.2) 0%, transparent 70%);
}

.world-class-platform-section .bento-card-cyan .bento-card-title {
    color: #a5f3fc; /* cyan-200 */
}

.world-class-platform-section .bento-card-cyan:hover {
    border-color: rgba(34, 211, 238, 0.6);
    transform: translateY(-6px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(34, 211, 238, 0.15);
}

.world-class-platform-section .bento-card-cyan:hover .bento-card-title {
    color: #22d3ee; /* cyan-400 */
}

/* ========================================
   EMERALD CARD - RICH GRADIENT
   ======================================== */

.world-class-platform-section .bento-card-emerald {
    background: linear-gradient(
        145deg,
        rgba(52, 211, 153, 0.45) 0%,
        rgba(16, 185, 129, 0.25) 50%,
        rgba(5, 150, 105, 0.20) 100%
    );
    border-color: rgba(52, 211, 153, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.world-class-platform-section .bento-card-emerald .card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(52, 211, 153, 0.2) 0%, transparent 70%);
}

.world-class-platform-section .bento-card-emerald .bento-card-title {
    color: #a7f3d0; /* emerald-200 */
}

.world-class-platform-section .bento-card-emerald:hover {
    border-color: rgba(52, 211, 153, 0.6);
    transform: translateY(-6px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(52, 211, 153, 0.15);
}

.world-class-platform-section .bento-card-emerald:hover .bento-card-title {
    color: #34d399; /* emerald-400 */
}

/* ========================================
   AMBER CARD - RICH GRADIENT
   ======================================== */

.world-class-platform-section .bento-card-amber {
    background: linear-gradient(
        145deg,
        rgba(251, 191, 36, 0.45) 0%,
        rgba(245, 158, 11, 0.25) 50%,
        rgba(217, 119, 6, 0.20) 100%
    );
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.world-class-platform-section .bento-card-amber .card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
}

.world-class-platform-section .bento-card-amber .bento-card-title {
    color: #fde68a; /* amber-200 */
}

.world-class-platform-section .bento-card-amber:hover {
    border-color: rgba(251, 191, 36, 0.6);
    transform: translateY(-6px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(251, 191, 36, 0.15);
}

.world-class-platform-section .bento-card-amber:hover .bento-card-title {
    color: #fbbf24; /* amber-400 */
}

/* ========================================
   INDIGO CARD - RICH GRADIENT
   ======================================== */

.world-class-platform-section .bento-card-indigo {
    background: linear-gradient(
        145deg,
        rgba(129, 140, 248, 0.45) 0%,
        rgba(99, 102, 241, 0.25) 50%,
        rgba(79, 70, 229, 0.20) 100%
    );
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.world-class-platform-section .bento-card-indigo .card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(129, 140, 248, 0.2) 0%, transparent 70%);
}

.world-class-platform-section .bento-card-indigo .bento-card-title {
    color: #c7d2fe; /* indigo-200 */
}

.world-class-platform-section .bento-card-indigo:hover {
    border-color: rgba(129, 140, 248, 0.6);
    transform: translateY(-6px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(129, 140, 248, 0.15);
}

.world-class-platform-section .bento-card-indigo:hover .bento-card-title {
    color: #a5b4fc; /* indigo-300 */
}

/* ========================================
   VIOLET CARD - RICH GRADIENT
   ======================================== */

.world-class-platform-section .bento-card-violet {
    background: linear-gradient(
        145deg,
        rgba(167, 139, 250, 0.45) 0%,
        rgba(139, 92, 246, 0.25) 50%,
        rgba(124, 58, 237, 0.20) 100%
    );
    border-color: rgba(167, 139, 250, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.world-class-platform-section .bento-card-violet .card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
}

.world-class-platform-section .bento-card-violet .bento-card-title {
    color: #ddd6fe; /* violet-200 */
}

.world-class-platform-section .bento-card-violet:hover {
    border-color: rgba(167, 139, 250, 0.6);
    transform: translateY(-6px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(167, 139, 250, 0.15);
}

.world-class-platform-section .bento-card-violet:hover .bento-card-title {
    color: #c4b5fd; /* violet-300 */
}

/* ========================================
   ROSE CARD - RICH GRADIENT
   ======================================== */

.world-class-platform-section .bento-card-rose {
    background: linear-gradient(
        145deg,
        rgba(253, 164, 175, 0.45) 0%,
        rgba(244, 63, 94, 0.25) 50%,
        rgba(225, 29, 72, 0.20) 100%
    );
    border-color: rgba(253, 164, 175, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.world-class-platform-section .bento-card-rose .card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(253, 164, 175, 0.2) 0%, transparent 70%);
}

.world-class-platform-section .bento-card-rose .bento-card-title {
    color: #fecdd3; /* rose-200 */
}

.world-class-platform-section .bento-card-rose:hover {
    border-color: rgba(253, 164, 175, 0.6);
    transform: translateY(-6px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(253, 164, 175, 0.15);
}

.world-class-platform-section .bento-card-rose:hover .bento-card-title {
    color: #fda4af; /* rose-300 */
}

/* ========================================
   STAT PILLS & TAGS
   ======================================== */

.world-class-platform-section .stat-pill {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.world-class-platform-section .forex-tag {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.world-class-platform-section .forex-tag-highlight {
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #22d3ee;
}

/* ========================================
   SECTION HEADER
   ======================================== */

.wcp-header {
    position: relative;
}

.wcp-header h2 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.wcp-header h2 span {
    background: linear-gradient(135deg, #ffffff 0%, #5eead4 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wcp-header p {
    color: #94a3b8;
}

.wcp-header .section-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wcp-header .section-badge span {
    background: linear-gradient(135deg, #14b8a6, #8b5cf6);
}

/* ========================================
   ICON STYLES
   ======================================== */

.world-class-platform-section .icon-3d::before {
    background: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.75) 0%,
        rgba(15, 23, 42, 0.9) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.05),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Tinted Icon Borders */
.world-class-platform-section .icon-cyan .icon-3d::before {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.4) 0%, rgba(14, 116, 144, 0.7) 100%);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.world-class-platform-section .icon-emerald .icon-3d::before {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4) 0%, rgba(4, 120, 87, 0.7) 100%);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.world-class-platform-section .icon-amber .icon-3d::before {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.4) 0%, rgba(180, 83, 9, 0.7) 100%);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.world-class-platform-section .icon-indigo .icon-3d::before {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(67, 56, 202, 0.7) 100%);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.world-class-platform-section .icon-violet .icon-3d::before {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(91, 33, 182, 0.7) 100%);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.world-class-platform-section .icon-rose .icon-3d::before {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.4) 0%, rgba(159, 18, 57, 0.7) 100%);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

.world-class-platform-section .icon-3d i {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}