:root {
    --primary-cyan: #00e5ff;
    --primary-orange: #ff6600; /* Keeping as secondary/accent */
    --dark-bg: #0a0a10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-color: #ffffff;
    --text-white: #ffffff;
    --accent-color: #00d2ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-cairo: 'Cairo', sans-serif;
    --font-oswald: 'Oswald', sans-serif;
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.82);
    --glow-cyan: 0 0 15px rgba(0, 229, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    font-family: var(--font-cairo);
    color: var(--text-white);
    overflow-x: hidden;
    direction: rtl;
    cursor: none; /* Custom cursor */
}

/* Custom POS Cursor */
#custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    color: var(--primary-cyan); /* Theme color */
    font-size: 24px;
    filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.5));
    transition: transform 0.1s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#custom-cursor-dot {
    width: 3px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
}

/* Backgrounds Handling */
.global-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transition: opacity 1s ease;
    opacity: 0;
    will-change: opacity; /* Optimization */
}

.video-active #bg-video {
    opacity: 1;
}

.data-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -3;
    overflow: hidden;
}

.data-bg::after {
    content: '101011001 01101 11010 00110 11101 01010 11001 00010 11101 01010';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    font-family: monospace;
    font-size: 14px;
    color: var(--primary-cyan);
    opacity: 0.1;
    white-space: pre-wrap;
    word-break: break-all;
    animation: digital-fall 20s linear infinite;
    z-index: -4;
}

.data-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, transparent 30%, var(--dark-bg) 70%),
                url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.15;
    animation: space-rotate 120s linear infinite;
    z-index: -5;
}

@keyframes digital-fall {
    from { transform: translateY(0); }
    to { transform: translateY(50%); }
}

@keyframes space-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.floating-data {
    position: absolute;
    /* Desktop default: distributed by JS 'left' style */
    color: var(--primary-cyan);
    font-family: var(--font-cairo);
    font-size: 1.15rem;
    opacity: 0.7;
    pointer-events: none;
    z-index: 2;
    animation: float-random 7s linear infinite;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.4);
    font-weight: 700;
    will-change: transform, opacity; 
    white-space: nowrap; 
}

@keyframes float-random {
    0% { transform: translateY(110vh) translateX(-10px); opacity: 0; }
    20% { opacity: 0.6; transform: translateY(80vh) translateX(10px); }
    50% { opacity: 0.6; transform: translateY(50vh) translateX(-10px); }
    80% { opacity: 0.6; transform: translateY(20vh) translateX(10px); }
    100% { transform: translateY(-10vh) translateX(-5px); opacity: 0; }
}

@media (max-width: 768px) {
    .floating-data {
        width: 100%;       /* Force full width on mobile */
        left: 0 !important;/* Override JS random position */
        text-align: center;/* Center text specifically */
        font-size: 1rem;   /* Slightly smaller on mobile */
    }
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3), rgba(0,0,0,0.9));
    z-index: -10; /* Move to back */
    pointer-events: none;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
}

.stat-number {
    font-family: var(--font-oswald);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.version-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.version-card:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--primary-cyan);
    transform: scale(1.02);
}

.version-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.badge-online { background: rgba(0, 229, 255, 0.2); color: var(--primary-cyan); }
.badge-offline { background: rgba(16, 185, 129, 0.2); color: #10b981; }

.highlight-bg {
    background-color: var(--primary-cyan);
    color: #000;
    padding: 0 10px;
    border-radius: 4px;
}

.highlight-text {
    color: var(--primary-cyan);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(0,0,0,0.8); /* Solid-ish bg instead of blur */
    /* backdrop-filter removed for performance */
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-family: var(--font-cairo);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text .be { color: var(--primary-cyan); }
.logo-text .group { color: white; }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-cyan);
    transition: width 0.3s;
}

.nav-link:hover { color: var(--primary-cyan); }
.nav-link:hover::after { width: 100%; }

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.headline {
    font-family: var(--font-cairo);
    font-size: 4rem;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.headline .line.filled {
    color: var(--primary-cyan);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.sub-headline {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-top: 1rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.cta-btn {
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn.primary {
    background-color: var(--primary-cyan);
    color: #000;
    border: 2px solid var(--primary-cyan);
}

.cta-btn.primary:hover {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    transform: translateY(-3px);
}

.cta-btn.secondary {
    border: 2px solid white;
    color: white;
}

.cta-btn.secondary:hover {
    background-color: white;
    color: black;
}

/* Features Section */
.features-section {
    padding: 40px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 15px; 
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    /* backdrop-filter removed for performance */
    padding: 20px; 
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-icon {
    font-size: 1.8rem; 
    margin-bottom: 10px;
    color: var(--primary-cyan);
}

.glass-card h3 {
    font-size: 1.2rem; 
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.85rem; 
    margin-bottom: 10px;
    line-height: 1.4;
    opacity: 0.9;
}

.feature-card ul {
    margin-top: 10px;
    padding-right: 20px;
}

.feature-card li {
    font-size: 0.8rem; 
    margin-bottom: 4px;
    list-style-type: none;
    position: relative;
}

.feature-card li::before {
    content: '•';
    color: var(--primary-cyan);
    position: absolute;
    right: -15px;
    font-weight: bold;
}

.glass-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-10px);
    box-shadow: var(--card-shadow), var(--glow-cyan);
}

.highlight-border {
    border: 1px solid var(--primary-cyan) !important;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
    position: relative;
}

.highlight-border::before {
    content: '🔥 ميزة قوية';
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-cyan);
    color: #000;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
}

.glass-card ul {
    list-style: none;
    padding: 0;
}

.glass-card ul li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.glass-card ul li::before {
    content: '✓';
    color: var(--primary-cyan);
}

/* System Flow */
.system-flow-section {
    padding: 80px 5%;
    background: rgba(255,255,255,0.02);
    text-align: center;
}

.flow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.flow-node {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--primary-cyan);
    padding: 30px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.flow-node i { font-size: 2rem; color: var(--primary-cyan); }

.flow-node.core-node {
    width: 200px;
    height: 200px;
    border-width: 3px;
    background: rgba(0, 229, 255, 0.1);
}

.flow-line {
    color: var(--text-gray);
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Marquee */
.clients-section {
    padding: 60px 0;
    overflow: hidden;
}
.clients-title { text-align: center; margin-bottom: 40px; font-size: 2rem; }

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.marquee-content span {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.85); /* Premium white */
    margin: 0 40px;
    text-transform: uppercase;
}

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

.marquee-container {
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* Contact */
.contact-section {
    padding: 100px 5%;
}

.contact-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,0,0,0.8));
    border-radius: 20px;
    padding: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-text { flex: 1; min-width: 300px; }
.contact-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contact-form { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 20px; }

.tech-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px;
    color: white;
    font-family: var(--font-cairo);
    border-radius: 5px;
    font-size: 1rem;
    direction: rtl;
}

.tech-input:focus {
    border-color: var(--primary-cyan);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.full-width { width: 100%; }

/* Footer */
.main-footer {
    padding: 40px 5%;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover { color: var(--primary-cyan); }

/* Floating Buttons */
.static-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.static-whatsapp-btn:hover {
    transform: translateY(-5px);
}

/* Audience Section */
.audience-section {
    padding: 80px 5%;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.audience-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(0,0,0,0.4));
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
}

.audience-card i {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    margin-bottom: 20px;
}

.audience-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.audience-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* USP Section */
.usp-section {
    padding: 80px 5%;
    background: rgba(0,0,0,0.3);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .headline { font-size: 3rem; }
}

@media (max-width: 768px) {
    .headline { font-size: 2.2rem; }
    .sub-headline { font-size: 1.1rem; }
    
    .nav-links { 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 16, 0.98);
        background: radial-gradient(circle at top right, #0a0a10 0%, #000 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links .nav-link {
        font-size: 1.8rem;
        font-weight: 900;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.5s ease 0.1s;
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Staggered animation for menu items */
    .nav-links.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.3s; }

    .nav-link::after {
        height: 3px;
        bottom: -10px;
        background: var(--primary-cyan);
        box-shadow: 0 0 10px var(--primary-cyan);
    }

    .hero-section { padding-top: 80px; }
    .hero-actions { flex-direction: column; gap: 15px; width: 90%; }
    .cta-btn { width: 100%; justify-content: center; padding: 12px 20px; }
    
    .demo-info { width: 90%; text-align: center; }

    .menu-icon {
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 1001;
        cursor: pointer;
    }
    
    .menu-icon .bar {
        width: 25px;
        height: 2px;
        background: white;
        transition: 0.3s;
    }

    .menu-icon.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .menu-icon.active .bar:nth-child(2) { opacity: 0; }
    .menu-icon.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .features-grid, .audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .glass-card, .audience-card {
        padding: 15px;
    }
    
    .card-icon, .audience-card i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .glass-card h3, .audience-card h3 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .feature-desc, .audience-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .feature-card ul {
        display: none; /* Hide detailed lists on mobile grid to save space, or keep if critical */
    }
    
    /* Show bullets only for large cards or specifically requested, 
       but for dense grid usually hidden or simplified. 
       User asked for side-by-side, so space is premium. 
       Let's keep them but make text tiny. */
    .feature-card ul {
        display: block;
        padding-right: 15px;
        margin-top: 5px;
    }
    
    .feature-card li {
        font-size: 0.65rem;
        margin-bottom: 2px;
    }
    
    .feature-card li::before {
        right: -12px;
    }

    .stat-number { font-size: 2.5rem; }
    
    .contact-container { 
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }
    
    .contact-text { text-align: center; }
    .contact-info-list { align-items: center; }
    
    .section-title { font-size: 1.8rem; }

    /* System Flow Fixes - Horizontal Condensed */
    .flow-container { 
        flex-direction: row; /* Keep horizontal */
        gap: 5px; /* Minimal gap */
        flex-wrap: nowrap;
        justify-content: space-evenly;
    }
    
    .flow-line { 
        transform: rotate(0deg); 
        margin: 0; 
        font-size: 0.8rem; /* Smaller arrows */
        min-width: 10px;
    }
    
    .flow-line.vertical { display: none; } 
    
    .flow-node {
        width: 85px;  /* Much smaller circles */
        height: 85px;
        padding: 10px;
        border-radius: 15px; /* Square-ish for better text fit? or keep circle */
        border-radius: 50%;
    }
    
    .flow-node.core-node {
        width: 100px;
        height: 100px;
        border-width: 2px;
    }
    
    .flow-node i { font-size: 1.2rem; margin-bottom: 5px; }
    .flow-node span { font-size: 0.65rem; line-height: 1.2; }
    .flow-node small { display: none; } /* Hide subtext on mobile */
    
    /* Tech Stack Fixes */
    .clients-title { font-size: 1.5rem; }
    .marquee-content span { font-size: 1.2rem; margin: 0 15px; }
    
    /* Versions Section Fixes */
    .versions-section { padding: 40px 5% !important; }
    .version-card { padding: 20px; text-align: center; }
    .version-card h3 { font-size: 1.4rem; }
    .version-card ul { text-align: right; }
    
    /* General Spacing */
    .usp-section, .clients-section, .contact-section { padding: 40px 5% !important; }
}

/* Footer Styles */
.main-footer {
    background: #050505;
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.8;
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.footer-contact p {
    color: var(--text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-color);
    font-size: 14px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .glass-nav {
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .glass-nav .nav-link {
        flex: 0 0 auto;
        padding: 10px 20px;
        white-space: nowrap;
    }
}

/* Documentation Tabs Styling */
.glass-nav {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-nav .nav-link {
    color: var(--text-muted);
    transition: all 0.3s ease;
    border-radius: 12px;
    border: 1px solid transparent;
    text-align: right;
}

.glass-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(-5px);
}

.glass-nav .nav-link.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.glass-nav .nav-link i {
    width: 25px;
    text-align: center;
}

.glass-content {
    background: rgba(20, 20, 31, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 100%;
}

.feature-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.icon-square {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Documentation Page Specific */
.doc-container {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 80vh;
}

/* Vertical Tabs Glassmorphism */
.glass-nav {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
}

.glass-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    border-radius: 12px !important;
    margin-bottom: 5px;
    border: 1px solid transparent !important;
    transition: all 0.3s ease !important;
    text-align: right !important;
    font-weight: 600;
}

.glass-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}

.glass-nav .nav-link.active {
    background: var(--primary-cyan) !important;
    color: #000 !important;
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.3) !important;
}

.glass-content {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.feature-card.bg-opacity-10 {
    background-color: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    transition: all 0.3s ease;
}

.feature-card.bg-opacity-10:hover {
    border-color: var(--primary-cyan) !important;
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .glass-nav {
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px !important;
    }
    .glass-nav .nav-link {
        flex: 0 0 auto;
        margin-bottom: 0;
        margin-right: 10px;
    }
}

/* Force White Text Documentation */
.glass-nav .nav-link:not(.active),
.glass-content,
.glass-content h3,
.glass-content p,
.glass-content strong,
.glass-content li,
.glass-content .text-muted,
.glass-content .small {
    color: #ffffff !important;
    opacity: 1 !important;
}

.glass-content .text-muted {
    opacity: 0.9 !important; /* Slightly distinct but still very white */
}

.glass-nav .nav-link.active {
    color: #000000 !important;
    font-weight: 800;
}

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

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Extra premium touch: Gradient text animation */
.highlight-text {
    background: linear-gradient(90deg, #00e5ff, #00d2ff, #00e5ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    font-weight: 900;
}

@keyframes shine {
    to { background-position: 200% center; }
}
