/* Base Styles */
:root {
    --primary-color: #2dbad4;
    --secondary-color: #333748;
    --dark-color: #16171f;
    --light-color: #5a657a;
    --accent-color: #338c9b;
    --text-color: #c8ccd8;
    --border-color: rgba(45, 186, 212, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background: rgba(22, 23, 31, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    box-shadow: 3px 0 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 85%;
        max-width: 320px;
    }
    
    .sidebar.active {
        transform: translateX(0);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .menu-toggle {
        cursor: pointer;
        padding: 10px;
        z-index: 1100;
        transition: all 0.3s ease;
    }
    
    .menu-toggle:active {
        transform: scale(0.95);
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sidebar.active + .sidebar-overlay {
    display: block;
}

.nav-menu {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--dark-color);
    padding-right: 10px;
    max-height: calc(100vh - 200px);
}

.nav-menu::-webkit-scrollbar {
    width: 6px;
}

.nav-menu::-webkit-scrollbar-track {
    background: var(--dark-color);
    border-radius: 3px;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(45, 186, 212, 0.2);
}

.sidebar-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(45, 186, 212, 0.1);
    padding: 5px;
    box-shadow: 0 0 15px rgba(45, 186, 212, 0.3);
}

.sidebar-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(45, 186, 212, 0.3);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 8px;
}

.sidebar-nav li.active a {
    background: rgba(45, 186, 212, 0.15);
    border-right: 3px solid var(--primary-color);
    color: white;
    font-weight: 500;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.sidebar-nav a:hover {
    background: rgba(45, 186, 212, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.sidebar-nav i {
    margin-right: 12px;
    font-size: 1.2rem;
    min-width: 25px;
    color: var(--primary-color);
    text-align: center;
}

.sidebar-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(45, 186, 212, 0.1), rgba(45, 186, 212, 0.3), rgba(45, 186, 212, 0.1));
    margin: 15px 0;
    position: relative;
}

.sidebar-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(45, 186, 212, 0.5);
}

/* حذف زر إغلاق الشريط الجانبي X */

/* زر سهم الانزلاق للشريط الجانبي (للجوال فقط) */
.sidebar-edge-toggle {
    display: none;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 50px;
    background: rgba(45, 186, 212, 0.7);
    border-radius: 0 25px 25px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .sidebar-edge-toggle {
        display: flex;
    }
    
    .sidebar.active + .sidebar-overlay + .sidebar-edge-toggle {
        left: 85%; /* تحريك الزر مع الشريط الجانبي */
        border-radius: 25px 0 0 25px;
    }
}

.sidebar-edge-toggle:hover {
    background: rgba(45, 186, 212, 0.9);
    width: 35px;
}

.sidebar-edge-toggle i {
    color: white;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* تغيير اتجاه السهم عندما يكون الشريط نشط */
.sidebar.active + .sidebar-overlay + .sidebar-edge-toggle i {
    transform: rotate(180deg);
}

/* زر سهم إغلاق الشريط الجانبي (يظهر فقط عند فتح الشريط في الجوال) */
.sidebar-close-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 50px;
    background: rgba(45, 186, 212, 0.7);
    border-radius: 25px 0 0 25px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.sidebar-close-arrow i {
    color: white;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.sidebar-close-arrow:hover {
    background: rgba(45, 186, 212, 0.9);
    width: 35px;
}

.sidebar-close-arrow:hover i {
    transform: translateX(-3px);
}

.sidebar.active .sidebar-close-arrow {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(10px, -50%);
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .sidebar-edge-toggle {
        display: flex;
    }
}

.sidebar-header img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    list-style: none;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.nav-menu a:hover {
    background: rgba(45, 186, 212, 0.1);
    color: var(--primary-color);
}

.nav-menu a.active {
    background: rgba(45, 186, 212, 0.2);
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 0 0 10px rgba(45, 186, 212, 0.3);
}

.nav-menu a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(45, 186, 212, 0.5);
}

.nav-menu a.active i {
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(45, 186, 212, 0.7);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.dropdown-btn > div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dropdown-btn:hover {
    background: rgba(45, 186, 212, 0.1);
    color: var(--primary-color);
}

.dropdown-btn .fa-chevron-down {
    transition: transform 0.3s ease;
    margin-left: auto;
    padding-left: 8px;
}

.dropdown.active .dropdown-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    padding-left: 1rem;
    border-left: 2px solid var(--primary-color);
    margin: 0.5rem 0 0.5rem 1rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.dropdown.active .dropdown-content {
    display: block;
    max-height: 1000px;
    opacity: 1;
    animation: slideDown 0.3s ease-out forwards;
}

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

/* Header */
header {
    margin-left: 280px;
    padding: 1.5rem;
    background: rgba(22, 23, 31, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    height: 280px; /* Header height */
}

/* مؤثرات خيوط الشحنات */
.energy-threads-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

/* تم إزالة تنسيق خطوط الشحنات الثابتة */

/* أيقونات الميزات المتحركة - محسنة */
.feature-icon {
    position: absolute;
    width: 28px;
    height: 28px;
    background: rgba(45, 186, 212, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 6;
    color: white;
    font-size: 12px;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px rgba(45, 186, 212, 0.4);
    filter: drop-shadow(0 0 5px var(--primary-color));
    transition: opacity 0.3s ease, transform 0.5s ease;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

.feature-icon i {
    font-size: 13px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: icon-pulse 1.2s infinite alternate ease-in-out;
}

@keyframes icon-pulse {
    0% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1.1);
    }
}

/* إضافة تأثير شعاع خفيف خلف الأيقونة */
.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(45, 186, 212, 0.7) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: icon-glow 1.5s infinite alternate ease-in-out;
}

@keyframes icon-glow {
    0% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* مؤثر نبض اسم SpyNote عند وصول الأيقونة */
.logo-text {
    position: relative;
    transition: transform 0.2s ease-out, text-shadow 0.2s ease-out;
}

@keyframes logo-glow {
    0% {
        text-shadow: 0 0 10px var(--primary-color), 0 0 20px rgba(45, 186, 212, 0.7), 0 0 30px rgba(45, 186, 212, 0.4);
    }
    50% {
        text-shadow: 0 0 20px var(--primary-color), 0 0 30px rgba(45, 186, 212, 0.9), 0 0 50px rgba(45, 186, 212, 0.7), 0 0 70px rgba(45, 186, 212, 0.5);
    }
    100% {
        text-shadow: 0 0 10px var(--primary-color), 0 0 20px rgba(45, 186, 212, 0.7), 0 0 30px rgba(45, 186, 212, 0.4);
    }
}

.logo-pulse {
    animation: logo-pulse 0.5s ease-out, logo-glow 0.5s ease-out;
}

@keyframes logo-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* تنسيق إضافي لجعل المؤثرات تبدو أكثر تكاملاً */
.energy-threads-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(22, 23, 31, 0.2) 100%);
    pointer-events: none;
    z-index: 3;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('head-pic.png');
    background-size: cover;
    background-position: center 40%;
    opacity: 1;
    z-index: -1;
}

header .header-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 100%;
    padding-top: 20px;
    position: relative;
}

/* تم إزالة زر إظهار الشريط الجانبي من الهيدر الرئيسي */

header .logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
                              rgba(22, 23, 31, 0.7) 0%,
                              rgba(22, 23, 31, 0.3) 30%,
                              rgba(22, 23, 31, 0.1) 50%,
                              rgba(22, 23, 31, 0.4) 70%,
                              rgba(22, 23, 31, 0.8) 100%);
    z-index: -1;
}

/* هيدر ثابت للجوال */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(22, 23, 31, 0.95);
    backdrop-filter: blur(15px);
    z-index: 2000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.mobile-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('head-pic.png');
    background-size: cover;
    background-position: center 40%;
    opacity: 0.15;
    z-index: -1;
}

.mobile-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
                            rgba(22, 23, 31, 0.8) 0%,
                            rgba(22, 23, 31, 0.6) 100%);
    z-index: -1;
}

/* تحسين ضبابية وظلال خلف الشعار والاسم في الهيدر الثانوي */
.mobile-header-left {
    position: relative;
    z-index: 5;
}

.mobile-header-left::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle at center, rgba(45, 186, 212, 0.15) 0%, transparent 70%);
    filter: blur(5px);
    z-index: -1;
    pointer-events: none;
}

.mobile-logo {
    filter: drop-shadow(0 0 5px rgba(45, 186, 212, 0.5));
}

.mobile-header-title {
    text-shadow: 0 0 8px rgba(45, 186, 212, 0.6);
}

@media (max-width: 768px) {
    header {
        margin-left: 0;
        padding: 1rem;
        height: 320px; /* زيادة ارتفاع الهيدر للتأكد من ظهور جميع العناصر */
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .header-container {
        width: 100%;
        height: auto;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .logo-container {
        width: 100%;
        padding: 10px 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .logo-text {
        font-size: 2.2em;
        margin-bottom: 12px;
        padding: 0 10px;
    }

    .subtitle {
        font-size: 1.2em;
        margin-bottom: 20px;
        padding: 0 10px;
        text-align: center;
        width: 100%;
        max-width: 90%;
    }

    .header-buttons {
        gap: 15px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 10px;
        flex-wrap: nowrap; /* منع انزلاق الأزرار إلى أسفل */
        padding: 0 10px;
        width: 100%;
        position: relative;
        z-index: 5;
    }

    .header-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
        min-width: 130px;
        text-align: center;
        margin: 5px;
    }

    /* إضافة زر الشريط الجانبي في الهيدر الرئيسي (يظهر فقط في الجوال) */
    .header-sidebar-toggle {
        display: flex; /* يظهر في الجوال */
    }

    /* تفعيل الهيدر الثابت للجوال عند ترك الهيدر الأصلي */
    main {
        scroll-margin-top: 60px;
    }

    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-header-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-logo {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

    .mobile-header-title {
        color: var(--primary-color);
        font-size: 1.4rem;
        font-weight: bold;
        text-shadow: 0 0 5px rgba(45, 186, 212, 0.3);
    }

    .mobile-header-actions {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .mobile-header-actions .menu-toggle {
        margin-right: 10px;
        background: rgba(45, 186, 212, 0.2);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        box-shadow: 0 0 10px rgba(45, 186, 212, 0.3);
        border: 1px solid rgba(45, 186, 212, 0.3);
        transition: all 0.3s ease;
    }

    .mobile-header-actions .menu-toggle:hover {
        background: rgba(45, 186, 212, 0.3);
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(45, 186, 212, 0.4);
    }

    .mobile-header-actions .menu-toggle i {
        font-size: 1.2rem;
        color: var(--primary-color);
        text-shadow: 0 0 5px rgba(45, 186, 212, 0.5);
    }

    .mobile-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
        border-radius: 20px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 90px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .mobile-btn-primary {
        background: var(--primary-color);
        color: var(--dark-color);
        box-shadow: 0 3px 10px rgba(45, 186, 212, 0.4);
    }

    .mobile-btn-primary:hover {
        background: var(--accent-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(45, 186, 212, 0.5);
    }

    .mobile-btn-secondary {
        background: rgba(45, 186, 212, 0.1);
        color: #ffffff;
        border: 1px solid var(--primary-color);
    }

    .mobile-btn-secondary:hover {
        background: rgba(45, 186, 212, 0.2);
        transform: translateY(-2px);
    }

    /* إضافة هامش أعلى للمحتوى الرئيسي بسبب الهيدر الثابت */
    main {
        padding-top: 70px;
        overflow-x: hidden; /* منع التمرير الأفقي */
    }

    /* تحسين ظهور الهيدر المتنقل */
    .mobile-header {
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    }
}


.header-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 5px 15px;
    position: relative;
}

.logo-text {
    font-size: 3.5em;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px rgba(45, 186, 212, 0.7), 0 0 30px rgba(45, 186, 212, 0.4);
    letter-spacing: 3px;
    margin-bottom: 15px;
    width: 100%;
}

.subtitle {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    padding: 12px 0;
    z-index: 5;
    transition: all 0.3s ease;
    max-width: 520px;
    text-shadow: 0 0 15px rgba(45, 186, 212, 0.7), 0 0 30px rgba(45, 186, 212, 0.4);
    width: 100%;
}

.subtitle span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subtitle .tools-text {
    position: relative;
    font-weight: 600;
    font-size: 1.1em;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.6);
    padding: 3px 15px;
    display: inline-block;
}

.subtitle .tools-text {
    text-shadow: 
        0 0 5px rgba(45, 186, 212, 0.8), 
        0 0 10px rgba(45, 186, 212, 0.5),
        0 0 15px rgba(45, 186, 212, 0.3);
    animation: text-glow 2s infinite alternate;
    position: relative;
}

@keyframes text-glow {
    0% {
        text-shadow: 
            0 0 5px rgba(45, 186, 212, 0.8), 
            0 0 10px rgba(45, 186, 212, 0.5),
            0 0 15px rgba(45, 186, 212, 0.3);
    }
    100% {
        text-shadow: 
            0 0 8px rgba(45, 186, 212, 1), 
            0 0 15px rgba(45, 186, 212, 0.8),
            0 0 25px rgba(45, 186, 212, 0.6),
            0 0 35px rgba(45, 186, 212, 0.4);
    }
}

/* تأثير إشعاع خلف النص */
.subtitle .tools-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 186, 212, 0.05); /* إضافة خلفية خفيفة زرقاء */
    border-radius: 10px;
    z-index: -1;
    box-shadow: 0 0 15px rgba(45, 186, 212, 0.3);
    filter: blur(5px);
}

@keyframes energy-flow {
    0% {
        border-image: linear-gradient(90deg, 
            transparent 0%, 
            transparent 10%, 
            var(--primary-color) 30%, 
            var(--primary-color) 40%, 
            transparent 60%, 
            transparent 100%) 1;
    }
    50% {
        border-image: linear-gradient(90deg, 
            var(--primary-color) 0%, 
            transparent 20%, 
            transparent 40%, 
            var(--primary-color) 60%, 
            var(--primary-color) 70%, 
            transparent 90%) 1;
    }
    100% {
        border-image: linear-gradient(90deg, 
            transparent 0%, 
            var(--primary-color) 30%, 
            var(--primary-color) 40%, 
            transparent 60%, 
            transparent 80%, 
            var(--primary-color) 100%) 1;
    }
}

/* Small star particles effect */
.subtitle .tools-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.9) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.7) 1px, transparent 2px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle at 90% 60%, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
        radial-gradient(circle at 15% 75%, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
        radial-gradient(circle at 65% 65%, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 150px 80px;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
    animation: star-twinkle 5s infinite linear;
    filter: blur(0.5px);
}

/* Removed the blue line behind text */

@keyframes star-twinkle {
    0% {
        opacity: 0.2;
        transform: translateY(0);
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.2;
        transform: translateY(-2px);
    }
}

@keyframes meteor-glow {
    0% {
        box-shadow: 
            0 0 15px 4px rgba(255, 255, 255, 0.9),
            0 0 30px 8px rgba(255, 255, 255, 0.5),
            0 0 50px 12px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 0 20px 6px rgba(255, 255, 255, 0.9),
            0 0 40px 12px rgba(255, 255, 255, 0.6),
            0 0 60px 18px rgba(255, 255, 255, 0.4);
    }
}

@keyframes subtle-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
}

@keyframes subtle-shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(ellipse at center, 
        rgba(45, 186, 212, 0.12) 0%, 
        rgba(45, 186, 212, 0.08) 30%, 
        rgba(45, 186, 212, 0.05) 60%,
        transparent 100%);
    z-index: -1;
    opacity: 0.7;
    filter: blur(10px);
}

/* Subtle radial glow effect */
.subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.08) 20%, 
        rgba(255, 255, 255, 0.04) 40%,
        transparent 70%);
    z-index: -2;
    opacity: 0.4;
    filter: blur(8px);
    animation: pulse-glow 4s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.2;
        width: 110%;
        height: 110%;
    }
    100% {
        opacity: 0.5;
        width: 130%;
        height: 130%;
    }
}

/* Remove desktop hover box effect */
@media (min-width: 769px) {
    .subtitle .tools-text {
        transition: all 0.3s ease;
    }
}

/* Tablet responsiveness */
@media (max-width: 768px) {
    .subtitle {
        font-size: 1.2em;
        padding: 10px 20px;
        max-width: 400px;
    }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .subtitle {
        font-size: 1em;
        padding: 8px 5px;
        max-width: 95%;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        margin-bottom: 15px; /* زيادة الهامش السفلي */
    }

    .subtitle span {
        gap: 5px;
        width: 100%;
        justify-content: center;
    }

    .subtitle i {
        font-size: 0.9em;
    }

    .subtitle .tools-text {
        font-size: 0.9em;
        font-weight: 500;
        padding: 5px 10px; /* زيادة الحشو قليلاً */
        position: relative;
        overflow: hidden;
        text-align: center;
        width: auto;
        max-width: 100%;
        display: inline-block;
        margin-bottom: 10px; /* إضافة هامش سفلي */
    }
    
    .header-btn {
        min-width: 120px;
        margin: 5px 5px 10px 5px; /* زيادة الهامش السفلي */
        font-size: 0.85rem;
        padding: 10px 15px;
    }
    
    .header-buttons {
        gap: 10px;
        padding: 0 5px 15px 5px; /* إضافة تنسيق للأسفل */
        margin-bottom: 20px; /* تأكيد على الهامش السفلي */
        position: relative;
        z-index: 10;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .subtitle {
        font-size: 0.9em;
        padding: 6px 12px;
        max-width: 95%;
    }

    .subtitle .tools-text {
        letter-spacing: 0;
    }
}

.header-buttons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 25px; /* زيادة الهامش السفلي للأزرار */
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    padding: 0 15px;
    position: relative;
    z-index: 10; /* زيادة z-index لجعلها تظهر فوق العناصر الأخرى */
}

@media (max-width: 768px) {
    /* ترتيب أفقي للأزرار على الشاشات الصغيرة */
    .header-buttons {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: center;
        margin-top: 15px;
        margin-bottom: 30px; /* زيادة الهامش للتأكد من ظهور كامل للأزرار */
        flex-wrap: nowrap;
        position: relative;
        z-index: 10;
        padding-bottom: 10px; /* إضافة مساحة إضافية للأسفل */
    }

    .header-btn {
        width: auto;
        text-align: center;
        min-width: 120px;
        margin-bottom: 5px; /* تأكيد ظهور الأزرار كاملة */
    }
}

.header-btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    min-width: 150px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(45, 186, 212, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 186, 212, 0.7);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(45, 186, 212, 0.3);
}

.btn-secondary:hover {
    background: rgba(45, 186, 212, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 186, 212, 0.5);
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 2.8em;
    }

    .subtitle {
        font-size: 1.2em;
    }

    .header-buttons {
        flex-direction: row;
        gap: 15px;
        margin-top: 10px;
    }

    .header-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Main Content */
main {
    margin-left: 280px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* تنسيق حقول الإدخال */
.form-input, input[type="text"], input[type="password"], input[type="email"], input[type="number"], select, textarea {
    height: 45px;
    background: rgba(22, 23, 31, 0.7);
    border: 1px solid rgba(45, 186, 212, 0.3);
    border-radius: 10px;
    color: #ffffff;
    padding: 10px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 15px;
}

.form-input:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    background: rgba(22, 23, 31, 0.9);
    box-shadow: 0 0 20px rgba(45, 186, 212, 0.2);
    outline: none;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    min-width: 250px;
}

.form-help {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-top: 5px;
}

/* تنسيق الأزرار */
.btn, button[type="submit"] {
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(45, 186, 212, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 186, 212, 0.7);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(45, 186, 212, 0.3);
}

.btn-secondary:hover {
    background: rgba(45, 186, 212, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 186, 212, 0.5);
}

.btn-danger {
    background: #ff4757;
    color: white;
}

.btn-danger:hover {
    background: #ff6b81;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.7);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
    min-width: auto;
}

.section-glass {
    background: rgba(22, 23, 31, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    min-height: 200px;
    scroll-margin-top: 100px;
}

.section-glass h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-glass h2 i {
    font-size: 1.8rem;
    animation: pulse-subtle 2s infinite alternate;
    color: rgba(45, 186, 212, 0.8);
    text-shadow: 0 0 10px rgba(45, 186, 212, 0.4);
    transition: all 0.3s ease;
    background: none !important;
    padding: 0;
    margin-right: 10px;
    box-shadow: none !important;
    border: none !important;
    display: inline;
}

.section-glass:hover h2 i {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(45, 186, 212, 0.7);
}

.section-glass h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.section-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 186, 212, 0.1);
}

/* Payload Builder New Styles */
.payload-builder-section {
    padding: 3rem;
}

.payload-main-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(45, 186, 212, 0.7);
}

.payload-main-title i {
    color: var(--primary-color);
    margin-right: 15px;
    animation: pulse-icon 2s infinite alternate;
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.payload-intro {
    background: linear-gradient(135deg, rgba(45, 186, 212, 0.2), rgba(51, 140, 155, 0.1));
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(45, 186, 212, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.payload-intro-icon {
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(45, 186, 212, 0.5);
}

.payload-intro-icon i {
    color: var(--dark-color);
    font-size: 1.5rem;
}

.payload-intro p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.payload-section {
    background: rgba(22, 23, 31, 0.6);
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid rgba(45, 186, 212, 0.15);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.payload-section:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 186, 212, 0.4);
    box-shadow: 0 10px 30px rgba(45, 186, 212, 0.2);
}

.payload-section-header {
    background: rgba(22, 23, 31, 0.9);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(45, 186, 212, 0.2);
    position: relative;
}

.section-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(45, 186, 212, 0.3);
}

.section-icon-wrapper i {
    color: var(--dark-color);
    font-size: 1.2rem;
}

.payload-section-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    flex: 1;
}

.required-badge {
    background: rgba(45, 186, 212, 0.2);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 15px;
    border: 1px solid rgba(45, 186, 212, 0.3);
}

.payload-section-content {
    padding: 25px;
}

/* Identity Section Styles */
.identity-section .payload-section-header {
    background: linear-gradient(90deg, rgba(22, 23, 31, 0.9), rgba(45, 186, 212, 0.1));
}

.identity-layout {
    padding: 20px 15px;
    width: 100%;
}

.identity-fields {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.identity-section .payload-section-content {
    width: 100%;
    padding: 15px 20px;
}

.upload-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-container {
    width: 100px;
    height: 100px;
    background: rgba(22, 23, 31, 0.7);
    border: 2px dashed rgba(45, 186, 212, 0.5);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.upload-container:hover {
    border-color: var(--primary-color);
    background: rgba(45, 186, 212, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(45, 186, 212, 0.2);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    animation: glow-subtle 2s infinite alternate;
}

@keyframes glow-subtle {
    0% {
        text-shadow: 0 0 5px rgba(45, 186, 212, 0.5);
    }
    100% {
        text-shadow: 0 0 15px rgba(45, 186, 212, 0.8);
    }
}

.upload-hint {
    color: var(--text-color);
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 10px;
}

.identity-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.identity-input {
    height: 45px;
    background: rgba(22, 23, 31, 0.7);
    border: 1px solid rgba(45, 186, 212, 0.3);
    border-radius: 10px;
    color: #ffffff;
    padding: 10px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.identity-input:focus {
    border-color: var(--primary-color);
    background: rgba(22, 23, 31, 0.9);
    box-shadow: 0 0 20px rgba(45, 186, 212, 0.2);
}

.label-icon {
    color: var(--primary-color);
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Connection Section Styles */
.connection-section .payload-section-header {
    background: linear-gradient(90deg, rgba(22, 23, 31, 0.9), rgba(51, 140, 155, 0.15));
}

.connection-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.connection-input {
    height: 50px;
    background: rgba(22, 23, 31, 0.7);
    border: 1px solid rgba(45, 186, 212, 0.2);
    border-radius: 10px;
    color: #ffffff;
    padding: 10px 15px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.connection-input:focus {
    border-color: var(--primary-color);
    background: rgba(22, 23, 31, 0.9);
    box-shadow: 0 0 20px rgba(45, 186, 212, 0.3);
}

/* Advanced Section Styles */
.advanced-section .payload-section-header {
    background: linear-gradient(90deg, rgba(22, 23, 31, 0.9), rgba(51, 140, 155, 0.15));
}

.advanced-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
}

.sdk-group {
    padding-right: 15px;
    flex: 0 0 auto;
}

.visibility-container {
    padding-left: 15px;
    border-left: 1px dashed rgba(45, 186, 212, 0.3);
    flex: 1;
    min-width: 280px;
}

.visibility-label {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.number-input-container {
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(45, 186, 212, 0.3);
    background: rgba(22, 23, 31, 0.7);
}

.number-btn {
    width: 50px;
    background: rgba(45, 186, 212, 0.2);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.number-btn:hover {
    background: rgba(45, 186, 212, 0.4);
}

.number-input {
    height: 100%;
    font-size: 1.1rem;
    color: #ffffff;
    text-align: center;
}

/* SDK Number Input Compact Style */
.sdk-input-compact {
    max-width: 200px;
    height: 45px;
}

.sdk-group {
    max-width: 200px;
}

/* Radio Button Improvements */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.improved-visibility {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-container {
    flex: 1;
    min-width: 200px;
}

.radio-label {
    background: rgba(22, 23, 31, 0.7);
    border: 1px solid rgba(45, 186, 212, 0.2);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.radio-container input[type="radio"]:checked + .radio-label {
    background: rgba(45, 186, 212, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(45, 186, 212, 0.2);
}

.radio-icon {
    width: 45px;
    height: 45px;
    background: rgba(22, 23, 31, 0.6);
    color: var(--primary-color);
    border: 1px solid rgba(45, 186, 212, 0.3);
    transition: all 0.3s ease;
}

.radio-container input[type="radio"]:checked + .radio-label .radio-icon {
    background: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 0 15px rgba(45, 186, 212, 0.4);
}

.radio-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.radio-desc {
    display: block;
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-top: 5px;
}

/* Permissions Section Styles */
.permissions-section-container .payload-section-header {
    background: linear-gradient(90deg, rgba(22, 23, 31, 0.9), rgba(45, 186, 212, 0.15));
    justify-content: space-between;
}

.select-all-container-vertical {
    display: flex;
    gap: 15px;
}

.select-all-btn {
    padding: 8px 15px;
    background: linear-gradient(to right, rgba(45, 186, 212, 0.3), rgba(45, 186, 212, 0.5));
    border: 1px solid rgba(45, 186, 212, 0.5);
    border-radius: 30px;
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.select-all-btn:hover {
    background: linear-gradient(to right, rgba(45, 186, 212, 0.6), rgba(45, 186, 212, 0.8));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 186, 212, 0.3);
}

.permissions-content {
    padding: 25px;
}

.permissions-subsection {
    margin-bottom: 30px;
    background: rgba(22, 23, 31, 0.5);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(45, 186, 212, 0.1);
}

.permissions-subsection:last-child {
    margin-bottom: 0;
}

.permissions-category {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(45, 186, 212, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.permissions-category i {
    font-size: 1.1rem;
}

.toggle-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 15px;
}

.toggle-container {
    background: rgba(22, 23, 31, 0.6);
    border: 1px solid rgba(45, 186, 212, 0.15);
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.toggle-container:hover {
    background: rgba(45, 186, 212, 0.1);
    transform: translateY(-3px);
    border-color: rgba(45, 186, 212, 0.3);
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
    margin-right: 15px;
    min-width: 44px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(22, 23, 31, 0.9);
    border: 1px solid rgba(45, 186, 212, 0.3);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 2px;
    background-color: #ccc;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(21px);
    background-color: white;
}

.slider.round {
    border-radius: 22px;
}

.slider.round:before {
    border-radius: 50%;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #e0e0e0;
}

.toggle-icon {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

/* Expanded Toggle Styles (for accessibility options) */
.expanded-toggle {
    grid-column: span 2;
    padding: 15px 20px;
}

.toggle-content {
    display: flex;
    flex-direction: column;
}

.toggle-description {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-top: 5px;
    margin-left: 26px;
}

/* Submit Button Styles */
.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 30px;
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(45, 186, 212, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 186, 212, 0.6);
}

.submit-btn i {
    font-size: 1.3rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Result Container Styles */
.result-container {
    background: linear-gradient(135deg, rgba(22, 23, 31, 0.8), rgba(45, 186, 212, 0.15));
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(45, 186, 212, 0.3);
    margin-top: 40px;
    animation: fade-in 0.5s ease-out;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.result-icon {
    background: var(--primary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(45, 186, 212, 0.6);
}

.result-icon i {
    color: var(--dark-color);
    font-size: 3rem;
}

.result-title {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.result-message {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-link {
    background: var(--primary-color);
    color: var(--dark-color);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(45, 186, 212, 0.4);
    transition: all 0.3s ease;
}

.download-link:hover {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(45, 186, 212, 0.6);
}

.download-link i {
    font-size: 1.2rem;
}

/* Responsive Styles for Payload Builder */
@media (max-width: 992px) {
    .identity-layout {
        grid-template-columns: 1fr;
    }
    
    .upload-container {
        margin-bottom: 20px;
    }
    
    .connection-layout {
        grid-template-columns: 1fr;
    }
    
    .advanced-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .visibility-container {
        padding-left: 0;
        border-left: none;
        padding-top: 20px;
        border-top: 1px dashed rgba(45, 186, 212, 0.3);
    }
    
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .expanded-toggle {
        grid-column: span 1;
    }
    
    .toggle-group {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .payload-builder-section {
        padding: 2rem 1.5rem;
    }
    
    .payload-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
    
    .required-badge {
        margin-left: 0;
    }
    
    .select-all-container-vertical {
        width: 100%;
        margin-top: 10px;
    }
    
    .select-all-btn {
        flex: 1;
        font-size: 0.9rem;
        padding: 8px 10px;
    }
    
    .toggle-group {
        grid-template-columns: 1fr;
    }
    
    .expanded-toggle {
        padding: 12px 15px;
    }
    
    .submit-btn {
        width: 100%;
        min-width: unset;
        padding: 15px 20px;
    }
}

/* Features Grid */
.feature-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-subsection {
    background: rgba(22, 23, 31, 0.95);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-subsection:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(45, 186, 212, 0.1);
}

.feature-subsection h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-subsection h3 i {
    color: rgba(45, 186, 212, 0.7);
    text-shadow: 0 0 8px rgba(45, 186, 212, 0.3);
    transition: all 0.3s ease;
}

.feature-subsection:hover h3 i {
    color: var(--primary-color);
    text-shadow: 0 0 12px rgba(45, 186, 212, 0.6);
}

.feature-subsection p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.feature-item {
    background: rgba(22, 23, 31, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

/* Android Versions */
.android-versions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.version-box {
    background: rgba(22, 23, 31, 0.95);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.version-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.version-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.version-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.version-box p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Image Grid */
.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 280px;
    background: rgba(22, 23, 31, 0.95);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-container::before {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary-color);
    background: rgba(22, 23, 31, 0.8);
    padding: 8px;
    border-radius: 50%;
    z-index: 2;
}

.image-container:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 186, 212, 0.2);
}

.grid-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 10px;
}

.image-caption {
    padding: 10px;
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Documentation Styles */
.docs-subsection {
    margin: 2.5rem 0;
    scroll-margin-top: 100px;
}

.docs-subsection h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    padding-bottom: 10px;
}

.docs-subsection h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.docs-content {
    margin-top: 1.5rem;
    line-height: 1.7;
}

.docs-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.media-container {
    margin: 2rem 0;
}

/* Callouts and Notes Styles */
.docs-callout {
    background: rgba(45, 186, 212, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.docs-callout h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.docs-callout ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.docs-callout ul li {
    margin-bottom: 0.5rem;
}

.docs-note {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.docs-callout.warning {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
}

.docs-callout.warning h4 {
    color: #ffc107;
}

/* Configuration Section Styles */
.config-sections, .usage-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.config-section, .usage-tab {
    background: rgba(22, 23, 31, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.config-section:hover, .usage-tab:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.config-section h4, .usage-tab h4, .troubleshooting-item h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.config-section p, .usage-tab p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.config-section ul, .usage-tab ol {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.config-section ul li, .usage-tab ol li {
    margin-bottom: 0.5rem;
}

/* Troubleshooting Styles */
.troubleshooting-section {
    margin: 2rem 0;
}

.troubleshooting-item {
    background: rgba(22, 23, 31, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.troubleshooting-item h5 {
    font-size: 1.1rem;
    color: #ff9800;
    margin-bottom: 1rem;
}

.troubleshooting-item .solution {
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.troubleshooting-item .solution strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.video-placeholder {
    background: rgba(45, 186, 212, 0.1);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px dashed var(--primary-color);
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
    animation: modal-fade-in 0.3s forwards;
}

@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(22, 23, 31, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    transform: scale(0.95);
    animation: modal-content-in 0.3s forwards;
    border: 1px solid rgba(45, 186, 212, 0.2);
}

@keyframes modal-content-in {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* نمط خاص للصور الطولية */
.vertical-screenshot-modal .modal-content {
    width: auto;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vertical-screenshot-modal .modal-content img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(45, 186, 212, 0.3);
}

.modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.modal-content img {
    max-width: calc(100% - 120px);
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.modal-content img.modal-image {
    box-shadow: 0 0 25px rgba(45, 186, 212, 0.4);
    animation: image-glow 3s infinite alternate;
}

@keyframes image-glow {
    0% { box-shadow: 0 0 15px rgba(45, 186, 212, 0.3); }
    100% { box-shadow: 0 0 30px rgba(45, 186, 212, 0.5); }
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45, 186, 212, 0.2);
    border: none;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.modal-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(45, 186, 212, 0.5);
}

.modal-nav i {
    font-size: 1.2rem;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(22, 23, 31, 0.8);
    border-radius: 12px;
    position: relative;
    margin-top: 15px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--dark-color);
    border: 1px solid rgba(45, 186, 212, 0.1);
}

.modal-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.modal-thumbnails::-webkit-scrollbar-track {
    background: rgba(22, 23, 31, 0.8);
    border-radius: 3px;
}

.modal-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.modal-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modal-thumbnail:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.modal-thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(45, 186, 212, 0.5);
    transform: scale(1.05);
}

.close-modal {
    position: absolute;
    top: -45px;
    right: -45px;
    background: var(--primary-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 20;
}

.close-modal:hover {
    background: #ff4757;
    transform: rotate(90deg) scale(1.1);
}

.image-caption {
    padding: 10px 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 10px;
    border-top: 1px solid rgba(45, 186, 212, 0.2);
    width: 100%;
    font-weight: 500;
}

/* Class for text center */
.text-center {
    text-align: center;
}

/* Footer */
footer {
    margin-left: 280px;
    padding: 2rem;
    text-align: center;
    background: rgba(22, 23, 31, 0.95);
    border-top: 1px solid var(--border-color);
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    color: var(--text-color);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(45, 186, 212, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}


/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: none;
        width: 260px;
    }

    .sidebar.active {
        transform: translateX(0);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }

    .sidebar-nav a {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .sidebar-nav i {
        margin-right: 10px;
        font-size: 1.1rem;
    }

    header, main, footer {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        padding: 0.5rem;
        transition: transform 0.3s ease;
    }

    .menu-toggle:hover {
        transform: scale(1.1);
    }

    .feature-content {
        grid-template-columns: 1fr;
    }

    .content-box {
        padding: 1rem;
        overflow-x: hidden;
    }

    .section-glass {
        padding: 1rem;
    }
}

/* Added Content for Sections (Placeholder) */
.content-box {
    background: rgba(22, 23, 31, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

/* Custom Video Section Styles */
.video-section-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 900px) {
    .video-section-wrapper {
        grid-template-columns: 1fr;
    }
}

.video-section-text {
    order: 1;
}

.video-player-container {
    order: 2;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(45, 186, 212, 0.3);
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(-5deg);
}

.video-player-container:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 0 30px rgba(45, 186, 212, 0.5);
}

.custom-video-player {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: block;
    position: relative;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 186, 212, 0.3) 0%, rgba(22, 23, 31, 0.3) 100%);
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(45, 186, 212, 0.5);
    border-radius: 16px;
}

.video-player-container:hover .video-overlay {
    opacity: 0.2;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(22, 23, 31, 0.85);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 20;
}

.video-player-container:hover .video-controls {
    transform: translateY(0);
}

.video-controls-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.video-control-btn {
    background: transparent;
    color: var(--text-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.video-control-btn:hover {
    color: var(--primary-color);
    background: rgba(45, 186, 212, 0.2);
}

.video-progress {
    flex: 1;
    height: 6px;
    background: rgba(90, 101, 122, 0.5);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin: 0 15px;
}

.video-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    width: 0%;
}

.video-progress-handle {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(45, 186, 212, 0.7);
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-progress:hover .video-progress-handle {
    opacity: 1;
}

.video-time {
    color: var(--text-color);
    font-size: 0.85rem;
    min-width: 80px;
    text-align: center;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(45, 186, 212, 0.8);
    color: white;
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn i {
    font-size: 2rem;
    margin-left: 6px;
}

.play-btn:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 25px rgba(45, 186, 212, 0.7);
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(45, 186, 212, 0.5);
    animation: scaleIn 0.3s forwards;
}

.video-modal-content.fullscreen {
    max-width: 100%;
    max-height: 100vh;
    width: 100%;
    height: 100vh;
    border-radius: 0;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.video-modal-player {
    width: 100%;
    height: 100%;
    max-width: 100%;
    background: #000;
    position: relative;
    object-fit: contain;
}

.video-modal-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(22, 23, 31, 0.9);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.video-modal-content:hover .video-modal-controls {
    transform: translateY(0);
}

.modal-video-progress {
    flex: 1;
    height: 8px;
    background: rgba(90, 101, 122, 0.5);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    margin: 0 20px;
}

.modal-video-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    width: 0%;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(45, 186, 212, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 21;
    transition: all 0.2s ease;
}

.video-modal-close:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.video-fullscreen-btn {
    margin-left: 10px;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.feature-highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(45, 186, 212, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-highlight-item:hover {
    transform: translateX(5px);
    background: rgba(45, 186, 212, 0.2);
}

.feature-highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-card {
    background: rgba(45, 186, 212, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}


.section-title {
    margin-bottom: 1rem;
    font-weight: bold;
}

#section1 {
    background-color: rgba(255,165,0,0.2); /* Orange */
}
#section1 .section-content {
    content: "Section 1 Content";
}

#section2 {
    background-color: rgba(0,128,0,0.2); /* Green */
}
#section2 .section-content {
    content: "Section 2 Content";
}

#section3 {
    background-color: rgba(255,0,0,0.2); /* Red */
}
#section3 .section-content {
    content: "Section 3 Content";
}

/* Versions Timeline Styles */
.versions-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.version-item:not(:has(.version-details)) {
    padding: 1rem;
    min-height: auto;
    text-align: center;
}

.version-item:has(.version-details) {
    grid-column: 1 / -1;
}

.versions-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.version-item {
    background: rgba(22, 23, 31, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.version-item .version-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.version-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(45, 186, 212, 0.2);
}

/* History & Team Section Styles */
.history-team-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.journey-timeline {
    background: rgba(22, 23, 31, 0.8);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(45, 186, 212, 0.1), transparent 70%);
    z-index: 0;
}

.timeline-header, .team-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-header h3, .team-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(45, 186, 212, 0.3);
}

.timeline-icon, .team-icon {
    width: 50px;
    height: 50px;
    background: rgba(45, 186, 212, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(45, 186, 212, 0.3);
}

.timeline-icon i, .team-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.timeline {
    position: relative;
    padding-left: 40px;
    margin-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(45, 186, 212, 0.3));
    border-radius: 5px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(22, 23, 31, 0.9);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(45, 186, 212, 0.2);
}

.timeline-item.active {
    border-color: var(--primary-color);
    background: rgba(45, 186, 212, 0.1);
    box-shadow: 0 5px 15px rgba(45, 186, 212, 0.2);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -49px;
    top: 50%;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--primary-color);
    z-index: 1;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -34px;
    top: 50%;
    width: 34px;
    height: 2px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.timeline-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-item p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.timeline-item .timeline-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    border-width: 1px;
}

.timeline-item:hover .timeline-icon {
    opacity: 1;
    transform: scale(1.1);
}

.team-about {
    background: rgba(22, 23, 31, 0.8);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.team-about::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(45, 186, 212, 0.1), transparent 70%);
    z-index: 0;
}

.team-description {
    position: relative;
    z-index: 1;
}

.team-description p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #e0e0e0;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-member {
    background: rgba(22, 23, 31, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(45, 186, 212, 0.2);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: rgba(45, 186, 212, 0.1);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.member-avatar i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.team-member p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin: 0;
}

.disclaimer {
    background: rgba(22, 23, 31, 0.8);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 1rem;
    background: linear-gradient(to right, rgba(22, 23, 31, 0.9), rgba(22, 23, 31, 0.95));
}

.disclaimer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ff6f00, transparent);
    border-radius: 3px 3px 0 0;
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff9800;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
}

.disclaimer-icon i {
    font-size: 1.8rem;
    color: #ff9800;
}

.disclaimer-text {
    flex: 1;
}

.disclaimer-text h3 {
    color: #ff9800;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.disclaimer-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.05rem;
    color: #e0e0e0;
    padding: 0.5rem;
    border-radius: 5px;
}

.disclaimer-text p:first-of-type {
    background: rgba(255, 165, 0, 0.05);
    border-right: 3px solid #ff9800;
    direction: rtl;
    text-align: right;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
}

.english-disclaimer {
    background: rgba(255, 165, 0, 0.07) !important;
    border-left: 3px solid #ff9800 !important;
    font-weight: 500;
    padding: 12px 15px !important;
    border-radius: 5px;
    text-align: left !important;
    line-height: 1.7;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

@media (max-width: 768px) {
    .disclaimer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .disclaimer-text p:first-of-type {
        text-align: center;
    }
    
    .timeline-item::before, .timeline-item::after {
        display: none;
    }
    
    .timeline {
        padding-left: 0;
        margin-left: 0;
    }
    
    .timeline::before {
        display: none;
    }
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.feature-list li i {
    color: var(--primary-color);
    width: 20px;
}

.version-item:hover .feature-list li i {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.version-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--primary-color);
    animation: glow 2s infinite;
}

.version-item::after {
    content: '';
    position: absolute;
    left: -35px;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--accent-color); }
}

/* Contact Section Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.contact-item {
    background: rgba(22, 23, 31, 0.8);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(45, 186, 212, 0.1), transparent 70%);
    z-index: 0;
}

.contact-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(45, 186, 212, 0.2);
}

.contact-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    display: inline-block;
    background: rgba(45, 186, 212, 0.1);
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(45, 186, 212, 0.3);
}

.contact-item:hover i {
    transform: scale(1.1);
    color: #ffffff;
    background: var(--primary-color);
    box-shadow: 0 0 30px rgba(45, 186, 212, 0.5);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(45, 186, 212, 0.1);
    border: 1px solid rgba(45, 186, 212, 0.2);
}

.contact-item a:hover {
    color: #ffffff;
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 186, 212, 0.3);
}

/* Contact Form Section */
.contact-form-container {
    margin-top: 3rem;
    background: rgba(22, 23, 31, 0.8);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(45, 186, 212, 0.1), transparent 70%);
    z-index: 0;
}

.contact-form-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-form-title h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-form-title p {
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        padding: 2rem 1.5rem;
    }
    
    .contact-item i {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
        line-height: 70px;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

/* Special navigation item styling */
.nav-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(45, 186, 212, 0.1), rgba(45, 186, 212, 0.7), rgba(45, 186, 212, 0.1));
    margin: 20px 0;
    position: relative;
}

.nav-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(45, 186, 212, 0.7);
}

.nav-special-item a.special-link {
    background: rgba(45, 186, 212, 0.15);
    border: 1px solid rgba(45, 186, 212, 0.3);
    border-radius: 10px;
    margin: 5px 0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-special-item a.special-link span {
    margin-right: auto;
    margin-left: 10px;
}

.nav-special-item a.special-link:hover {
    background: rgba(45, 186, 212, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-special-item a.special-link:hover .special-icon {
    transform: translateX(3px);
}

.special-icon {
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.sidebar-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 20px;
}

/* تنسيقات جديدة لأيقونات الميزات */
.features-intro {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(45, 186, 212, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(45, 186, 212, 0.1);
    animation: pulse-subtle 3s infinite alternate;
}

.features-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(45, 186, 212, 0.5);
}

.features-subtitle {
    color: #c8ccd8;
    font-size: 1.1rem;
}

.feature-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    padding: 20px;
    margin-bottom: 40px;
}

.feature-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 15px;
    background: rgba(22, 23, 31, 0.7);
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(45, 186, 212, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 140px;
}

.feature-icon-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 186, 212, 0.1) 0%, transparent 100%);
    z-index: 0;
}

.feature-icon-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 186, 212, 0.1) 0%, transparent 70%);
    opacity: 0;
    z-index: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
}

.feature-icon-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(45, 186, 212, 0.3);
    border-color: var(--primary-color);
    background: rgba(22, 23, 31, 0.9);
    z-index: 10;
}

.feature-icon-item:hover::after {
    opacity: 1;
    transform: scale(1);
    animation: pulse-glow 2s infinite alternate;
}

.icon-container {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    z-index: 2;
}

.feature-icon-item i {
    font-size: 28px;
    color: var(--primary-color);
    z-index: 2;
    transition: all 0.5s ease;
}

.feature-icon-item:hover i {
    transform: scale(1.2);
    color: #fff;
    text-shadow: 0 0 15px var(--primary-color), 0 0 30px rgba(45, 186, 212, 0.7);
    animation: icon-pulse 1.5s infinite alternate;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 186, 212, 0.3) 0%, transparent 70%);
    filter: blur(5px);
    opacity: 0.5;
    z-index: 1;
    transition: all 0.5s ease;
}

.feature-icon-item:hover .icon-glow {
    opacity: 1;
    filter: blur(10px);
    background: radial-gradient(circle, rgba(45, 186, 212, 0.7) 0%, transparent 70%);
    animation: glow-pulse 2s infinite alternate;
}

.feature-icon-item p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.feature-icon-item:hover p {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(45, 186, 212, 0.5);
}

@keyframes icon-pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.3);
    }
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        filter: blur(15px);
    }
}

@keyframes pulse-subtle {
    0% {
        box-shadow: 0 0 10px rgba(45, 186, 212, 0.1);
    }
    100% {
        box-shadow: 0 0 20px rgba(45, 186, 212, 0.3);
    }
}

/* لقائمة تفاصيل الميزات */
.feature-details {
    margin-top: 15px;
    background: rgba(45, 186, 212, 0.05);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(45, 186, 212, 0.1);
}

.feature-list-detailed {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.feature-list-detailed li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(22, 23, 31, 0.7);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-list-detailed li:hover {
    transform: translateX(5px);
    background: rgba(45, 186, 212, 0.1);
}

.feature-list-detailed li i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Added Interface Gallery Styles */
.interface-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.interface-card {
    background: rgba(22, 23, 31, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.interface-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(45, 186, 212, 0.2);
}

.interface-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 250px;
    border-bottom: 1px solid var(--border-color);
}

.interface-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.interface-card:hover .interface-image img {
    transform: scale(1.05);
}

.interface-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.interface-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.interface-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.interface-features li {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(45, 186, 212, 0.05);
}

.interface-features li:hover {
    background: rgba(45, 186, 212, 0.1);
    transform: translateX(5px);
}

.interface-features li i {
    color: var(--primary-color);
    width: 20px;
    min-width: 20px;
    text-align: center;
}

/* Screenshots Section - Enhanced Version */
.screenshots-section {
    padding: 2rem 0;
    position: relative;
}

.screenshots-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.screenshots-title i {
    font-size: 1.8rem;
    animation: pulse-subtle 2s infinite alternate;
    color: rgba(45, 186, 212, 0.7);
    text-shadow: 0 0 10px rgba(45, 186, 212, 0.4);
    transition: all 0.3s ease;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    display: inline;
}

.screenshots-section:hover .screenshots-title i {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(45, 186, 212, 0.7);
}

.screenshots-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(45, 186, 212, 0.5);
}

.screenshots-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #c8ccd8;
    font-size: 1.1rem;
    background: rgba(45, 186, 212, 0.05);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(45, 186, 212, 0.1);
}

.screenshots-tip {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.95rem;
    background: rgba(45, 186, 212, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--primary-color);
    animation: pulse-subtle 2s infinite alternate;
}

.screenshots-tip i {
    margin-right: 8px;
}

.enhanced-screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .enhanced-screenshots-gallery {
        grid-template-columns: 1fr;
    }
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    background: rgba(22, 23, 31, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.screenshot-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(45, 186, 212, 0.3);
    border-color: var(--primary-color);
}

.screenshot-image-container {
    position: relative;
    overflow: hidden;
    height: 400px; /* زيادة الارتفاع للصور الطولية */
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.enhanced-screenshot-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* يحافظ على نسبة العرض إلى الارتفاع الأصلية */
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.screenshot-item:hover .enhanced-screenshot-img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 23, 31, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-image-container:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay span {
    background: rgba(45, 186, 212, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.screenshot-image-container:hover .screenshot-overlay span {
    transform: translateY(0);
}

.screenshot-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.screenshot-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.screenshot-details p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Existing Screenshot Styles (keeping for backward compatibility) */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 1rem;
}

.screenshot-card {
    background: rgba(22, 23, 31, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(45, 186, 212, 0.3);
    border-color: var(--primary-color);
}

.screenshot-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.screenshot-card:hover .screenshot-img {
    transform: scale(1.05);
}

.screenshot-caption {
    padding: 15px;
    text-align: center;
    color: var(--text-color);
    font-weight: 500;
}

/* Pricing Section */
.pricing-section {
    padding: 2rem 0;
}

.pricing-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.pricing-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 1rem;
}

.pricing-plan {
    background: rgba(22, 23, 31, 0.95);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
    min-height: 650px; /* ضبط ارتفاع موحد */
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(45, 186, 212, 0.3);
    border-color: var(--primary-color);
}

.featured-plan {
    border: 2px solid var(--primary-color);
    transform: scale(1.03);
    z-index: 10;
}

.featured-plan:hover {
    transform: scale(1.03) translateY(-10px);
}

.plan-type {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(45, 186, 212, 0.5);
}

.premium-plan .plan-type {
    color: #2dbad4;
    text-shadow: 0 0 10px rgba(45, 186, 212, 0.7);
}

.ultimate-plan .plan-type {
    background: linear-gradient(90deg, #ff8a00, #da1b60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.pricing-header {
    padding: 25px 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(22, 23, 31, 0.8);
    position: relative;
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at top right, rgba(45, 186, 212, 0.2), transparent 70%);
    z-index: -1;
}

.pricing-header h3.pricing-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.pricing-duration {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.9;
}

.pricing-price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 0 2px 10px rgba(45, 186, 212, 0.4);
    position: relative;
    display: inline-block;
}

.pricing-price::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-color);
}

.pricing-features {
    padding: 25px 20px;
    list-style: none;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr; /* تقسيم الميزات إلى عمودين */
    column-gap: 10px;
    row-gap: 5px;
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--dark-color);
}

.pricing-features::-webkit-scrollbar {
    width: 6px;
}

.pricing-features::-webkit-scrollbar-track{
    background: rgba(22, 23, 31, 0.8);
    border-radius: 3px;
}

.pricing-features::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    padding: 6px 8px; /* تقليل الحشو لترتيب أكثر كثافة */
    color: var(--text-color);
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    font-size: 0.9rem; /* تقليل حجم الخط */
}

.pricing-feature:hover {
    background: rgba(45, 186, 212, 0.1);
    border-color: rgba(45, 186, 212, 0.2);
    transform: translateX(5px);
}

.special-feature {
    grid-column: 1 / -1; /* جعل الميزات الخاصة تمتد على كامل العرض */
}

.pricing-feature i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.special-feature {
    background: rgba(45, 186, 212, 0.08);
    border-left: 3px solid var(--primary-color);
}

.special-feature i {
    color: #ff8a00;
}

.pricing-cta {
    padding: 20px 15px;
    text-align: center;
    background: rgba(22, 23, 31, 0.9);
    border-top: 1px solid var(--border-color);
    margin-top: auto; /* يضمن وجود زر الشراء في أسفل الخطة */
}

.pricing-button {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary-color);
    color: var(--dark-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(45, 186, 212, 0.3);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 80%;
}

.pricing-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 186, 212, 0.5);
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.featured-plan .pricing-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.featured-plan .pricing-button:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* تنسيق أيقونات وسائل الدفع المشفرة */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    position: relative;
}

.crypto-label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--primary-color);
    gap: 8px;
}

.crypto-label i {
    font-size: 1rem;
    color: var(--primary-color);
    margin-right: 0;
}

.payment-methods i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(45, 186, 212, 0.1);
    padding: 8px;
    border-radius: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.payment-methods i:hover {
    transform: translateY(-3px);
    color: white;
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(45, 186, 212, 0.4);
}

.payment-methods i::after {
    content: attr(title);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    font-size: 0.7rem;
    color: var(--text-color);
    background: rgba(22, 23, 31, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.payment-methods i:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.fab.fa-bitcoin {
    color: #f7931a;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
}

.fab.fa-bitcoin:hover {
    background: linear-gradient(135deg, #f7931a, #eb8c17);
    color: white;
    border-color: transparent;
}

.fab.fa-ethereum {
    color: #627eea;
    background: rgba(98, 126, 234, 0.1);
    border: 1px solid rgba(98, 126, 234, 0.3);
}

.fab.fa-ethereum:hover {
    background: linear-gradient(135deg, #627eea, #506be5);
    color: white;
    border-color: transparent;
}

.fas.fa-gem {
    color: #2ca5e0;
    background: rgba(44, 165, 224, 0.1);
    border: 1px solid rgba(44, 165, 224, 0.3);
}

.fas.fa-gem:hover {
    background: linear-gradient(135deg, #2ca5e0, #1d90cf);
    color: white;
    border-color: transparent;
}

.fab.fa-btc {
    color: #8dc351;
    background: rgba(141, 195, 81, 0.1);
    border: 1px solid rgba(141, 195, 81, 0.3);
}

.fab.fa-btc:hover {
    background: linear-gradient(135deg, #8dc351, #76ab3c);
    color: white;
    border-color: transparent;
}

.crypto-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-color);
    margin-top: 20px;
    padding: 8px 15px;
    background: rgba(45, 186, 212, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(45, 186, 212, 0.1);
}

.crypto-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.crypto-note a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .payment-methods {
        gap: 10px;
    }

    .payment-methods i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 900px) {
    .pricing-container {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .pricing-plan {
        max-width: 100%;
    }

    .featured-plan {
        transform: scale(1);
        order: -1;
    }

    .featured-plan:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .pricing-features {
        max-height: 300px;
    }

    .pricing-button {
        width: 100%;
        padding: 12px 20px;
    }
}