/* Base Styles & Variables - Light Theme Default & High Contrast Dark */
:root,
html[data-theme="light"] {
    --bg-color: #f8fafc;
    --surface-bg: #ffffff;
    --card-bg: #ffffff;
    --text-color: #0f172a;
    --text-muted: #475569;
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #f1f5f9;
    --secondary-hover: #e2e8f0;
    
    --glass-bg: #ffffff;
    --glass-border: #e2e8f0;
    --glass-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    --gradient-text: linear-gradient(135deg, #1d4ed8, #4338ca);
    --nav-bg: rgba(255, 255, 255, 0.94);
    --shape-opacity: 0.18;
}

[data-theme="dark"] {
    --bg-color: #090d16;
    --surface-bg: #151e32;
    --card-bg: #162032;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: rgba(255, 255, 255, 0.06);
    --secondary-hover: rgba(255, 255, 255, 0.12);
    
    --glass-bg: #151e2e;
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.5);
    
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-text: linear-gradient(to right, #60a5fa, #a78bfa);
    --nav-bg: rgba(15, 23, 42, 0.94);
    --shape-opacity: 0.45;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Background Shapes for modern feel */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: var(--shape-opacity, 0.18);
    transition: opacity 0.3s ease;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: #3b82f6;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #8b5cf6;
    bottom: 20%;
    left: -100px;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--surface-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Header */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #60a5fa;
}

.nav-link.active {
    color: #60a5fa;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.version-info {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Browser Mockup */
.hero-image-wrapper {
    position: relative;
    padding: 1rem;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-mockup {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-content {
    height: 300px;
    background: #0f172a;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.floating-panel {
    background: var(--gradient-1);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.floating-panel h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-panel ul {
    list-style: none;
}

.floating-panel li {
    margin-bottom: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

/* Features */
.features {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

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

.feature-card {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-wrapper.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.icon-wrapper.green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.icon-wrapper.purple { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }
.icon-wrapper.orange { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.developer-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text {
        align-items: center;
    }
    
    .hero p {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        transform: none;
    }
    
    .hero-image-wrapper:hover {
        transform: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Mobile header fix: prevent logo text from wrapping and breaking the fixed nav height ---------- */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .logo span {
        display: none;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .nav-content {
        height: 70px;
    }

    .nav-links {
        top: 70px;
    }
}

/* ==========================================================================
   امتدادات التطوير الجديد — تواصل / ملفات / أدوات / تنقل متجاوب
   (تعتمد بالكامل على نفس متغيرات ونظام التصميم الأصلي بالأعلى)
   ========================================================================== */

:root {
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1ea855;
    --facebook-color: #1877F2;
    --facebook-hover: #145dbf;
    --danger-color: #ef4444;
    --file-excel: #22c55e;
    --file-pdf: #ef4444;
    --file-word: #3b82f6;
    --file-other: #94a3b8;
}

html {
    scroll-behavior: smooth;
}

/* ---------- Header / Nav (responsive) ---------- */
.logo {
    text-decoration: none;
    cursor: pointer;
}

.nav-content {
    gap: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
    gap: 0.45rem;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
}

.menu-toggle:hover {
    background: var(--secondary-hover);
}

@media (max-width: 1120px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--glass-border);
        padding: 1rem 2rem;
        gap: 0.25rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    .nav-links.nav-open {
        max-height: 500px;
        opacity: 1;
        padding: 1rem 2rem;
    }

    .nav-links .nav-link {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .menu-toggle {
        display: flex;
    }

    .nav-actions .nav-cta span {
        display: none;
    }

    .nav-actions .nav-cta {
        padding: 0.6rem 0.8rem;
    }
}

/* ---------- Trust bar under hero ---------- */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin: 0 auto 1.5rem;
    max-width: 800px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.trust-item i {
    color: #60a5fa;
}

/* ---------- Quick links section (homepage) ---------- */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.quick-link-card {
    padding: 1.75rem;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--glass-border);
}

.quick-link-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.5);
}

.quick-link-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.quick-link-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.quick-link-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.quick-link-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ---------- Interior page hero (contact / files / tools) ---------- */
.page-hero {
    padding: 140px 0 3rem;
    text-align: center;
}

.page-hero .icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    font-size: 1.6rem;
}

.page-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.page-section {
    padding-bottom: 5rem;
}

/* ---------- Contact page ---------- */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--glass-border);
}

.contact-card .icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.icon-wrapper.whatsapp { background: rgba(37, 211, 102, 0.15); color: var(--whatsapp-color); }
.icon-wrapper.facebook { background: rgba(24, 119, 242, 0.15); color: var(--facebook-color); }
.icon-wrapper.email { background: rgba(96, 165, 250, 0.15); color: #60a5fa; }

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: #fff;
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); transform: translateY(-2px); }

.btn-facebook {
    background: var(--facebook-color);
    color: #fff;
}
.btn-facebook:hover { background: var(--facebook-hover); transform: translateY(-2px); }

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-color);
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-control::placeholder {
    color: #64748b;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.06);
}

.form-control.invalid {
    border-color: var(--danger-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: #1e293b;
}

.form-error {
    color: var(--danger-color);
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: none;
}

.form-error.show {
    display: block;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

.form-actions .btn {
    flex: 1;
    justify-content: center;
    min-width: 200px;
}

.form-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

.form-secondary-link:hover {
    color: #60a5fa;
}

.form-status {
    margin-top: 1.25rem;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    display: none;
    align-items: center;
    gap: 0.6rem;
}

.form-status.show {
    display: flex;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ---------- Filter tabs (files & tools pages) ---------- */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.6rem 1.3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: var(--secondary-color);
    color: var(--text-muted);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    background: var(--secondary-hover);
    color: var(--text-color);
}

.filter-btn.active {
    background: var(--gradient-1);
    color: #fff;
    border-color: transparent;
}

/* ---------- Resource cards (files page) ---------- */
.resource-grid, .tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.resource-card, .tool-card {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--glass-border);
}

.resource-card-top, .tool-card-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.resource-icon, .tool-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.resource-icon.excel { background: rgba(34, 197, 94, 0.15); color: var(--file-excel); }
.resource-icon.pdf { background: rgba(239, 68, 68, 0.15); color: var(--file-pdf); }
.resource-icon.word { background: rgba(59, 130, 246, 0.15); color: var(--file-word); }
.resource-icon.other { background: rgba(148, 163, 184, 0.15); color: var(--file-other); }

.tool-icon.gov { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.tool-icon.software { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.tool-icon.nepras { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }

.resource-card h3, .tool-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.3rem;
}

.resource-ext {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.resource-card p, .tool-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0;
    line-height: 1.7;
}

.resource-card .btn, .tool-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    grid-column: 1 / -1;
}

/* ---------- Floating WhatsApp button ---------- */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 58px;
    height: 58px;
    background: var(--whatsapp-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    animation: pulse-wa 2.5s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
}

@keyframes pulse-wa {
    0% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 6px 28px rgba(37, 211, 102, 0.8); }
    100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
}

@media (max-width: 480px) {
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
        bottom: 16px;
        left: 16px;
    }
}

/* ---------- Toast notification ---------- */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1e293b;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    z-index: 1200;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ---------- Footer extensions ---------- */
.footer-content {
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-social {
    display: flex;
    gap: 0.7rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--secondary-color);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-social a.whatsapp:hover { background: var(--whatsapp-color); border-color: var(--whatsapp-color); }
.footer-social a.facebook:hover { background: var(--facebook-color); border-color: var(--facebook-color); }
.footer-social a.email:hover { background: var(--primary-color); border-color: var(--primary-color); }

/* ---------- Responsive tweaks for new sections ---------- */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 120px 0 2.5rem;
    }

    .page-hero h1 {
        font-size: 1.9rem;
    }

    .contact-form-wrapper {
        padding: 1.75rem 1.25rem;
    }

    .form-actions .btn {
        min-width: 100%;
    }
}

/* ==========================================================================
   Pricing & Modular Licensing Section Styles (v1.5.0)
   ========================================================================== */
.pricing-section {
    margin-bottom: 5rem;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 2.5rem;
}

.pricing-card {
    position: relative;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 20px 40px -15px rgba(59, 130, 246, 0.3);
}

.pricing-card.featured {
    border: 2px solid #3b82f6;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 58, 138, 0.3) 100%);
    box-shadow: 0 12px 36px -10px rgba(59, 130, 246, 0.4);
}

.pricing-card.enterprise {
    border: 2px solid #a855f7;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(88, 28, 135, 0.3) 100%);
    box-shadow: 0 12px 36px -10px rgba(168, 85, 247, 0.4);
}

.pricing-ribbon {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.pricing-ribbon.popular {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

.pricing-ribbon.vip {
    background: linear-gradient(135deg, #7e22ce, #a855f7);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(126, 34, 206, 0.4);
}

.pricing-header {
    margin-bottom: 20px;
}

.pricing-tier-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.pricing-title {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 6px;
    font-weight: 800;
}

.pricing-target {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.5;
}

.pricing-features li i {
    margin-top: 3px;
    font-size: 14px;
    flex-shrink: 0;
}

.pricing-features li i.check {
    color: #34d399;
}

.pricing-features li i.star {
    color: #fbbf24;
}

.pricing-features li.dimmed {
    color: #64748b;
    text-decoration: line-through;
}

.pricing-features li.dimmed i {
    color: #475569;
}

.pricing-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-cta .btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 12px 18px;
    font-weight: 700;
}

.pricing-note {
    font-size: 11.5px;
    color: #94a3b8;
    text-align: center;
}

/* Comparison Table */
.comparison-wrapper {
    margin-top: 3.5rem;
    overflow-x: auto;
    padding-bottom: 10px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
    text-align: center;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th, .comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13.5px;
}

.comparison-table th {
    background: rgba(15, 23, 42, 0.85);
    color: #f8fafc;
    font-weight: 800;
    font-size: 14px;
}

.comparison-table th.feature-col {
    text-align: right;
    width: 28%;
}

.comparison-table td.feature-name {
    text-align: right;
    font-weight: 700;
    color: #e2e8f0;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.comparison-table .yes-icon {
    color: #34d399;
    font-size: 16px;
}

.comparison-table .no-icon {
    color: #64748b;
    font-size: 14px;
}

.comparison-table .highlight-col {
    background: rgba(59, 130, 246, 0.08);
}

/* Guarantee Bar */
.guarantee-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 3rem;
    padding: 24px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.guarantee-item i {
    font-size: 26px;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-item h4 {
    font-size: 14.5px;
    color: #fff;
    margin-bottom: 2px;
}

.guarantee-item p {
    font-size: 12.5px;
    color: #94a3b8;
    margin: 0;
}

/* ============================================================
   دليل المستخدم — Guide Page Styles
   ============================================================ */

.guide-layout {
    display: flex;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 100px;
    align-items: flex-start;
    min-height: 100vh;
}

/* Sidebar */
.guide-sidebar {
    width: 290px;
    flex-shrink: 0;
    position: sticky;
    top: 95px;
    max-height: calc(100vh - 115px);
    overflow-y: auto;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 1.5rem 1.1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(59,130,246,0.3) transparent;
}

.guide-sidebar::-webkit-scrollbar {
    width: 5px;
}
.guide-sidebar::-webkit-scrollbar-thumb {
    background: rgba(59,130,246,0.3);
    border-radius: 4px;
}

.guide-sidebar-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #93c5fd;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-phase {
    margin-bottom: 1.2rem;
}

.sidebar-phase-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 4px;
    background: rgba(255,255,255,0.03);
}

.sidebar-phase-title .phase-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.phase-dot.blue { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.phase-dot.green { background: #10b981; box-shadow: 0 0 8px #10b981; }
.phase-dot.yellow { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.phase-dot.red { background: #ef4444; box-shadow: 0 0 8px #ef4444; }

.sidebar-steps {
    padding-right: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sidebar-step-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    border-right: 2px solid transparent;
}

.sidebar-step-link:hover,
.sidebar-step-link.active {
    color: #60a5fa;
    background: rgba(59,130,246,0.12);
    border-right-color: #3b82f6;
    padding-right: 12px;
}

/* Main Content */
.guide-content {
    flex: 1;
    min-width: 0;
}

.guide-hero {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.guide-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.guide-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.guide-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto 1.8rem auto;
    line-height: 1.8;
}

.guide-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.guide-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.guide-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guide-stat-label {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Phase Section */
.guide-phase {
    margin-bottom: 3.5rem;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.phase-header.phase-1 { background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(30,41,59,0.7)); border: 1px solid rgba(59,130,246,0.35); box-shadow: 0 8px 30px rgba(59,130,246,0.15); }
.phase-header.phase-2 { background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(30,41,59,0.7)); border: 1px solid rgba(16,185,129,0.35); box-shadow: 0 8px 30px rgba(16,185,129,0.15); }
.phase-header.phase-3 { background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(30,41,59,0.7)); border: 1px solid rgba(245,158,11,0.35); box-shadow: 0 8px 30px rgba(245,158,11,0.15); }
.phase-header.phase-4 { background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(30,41,59,0.7)); border: 1px solid rgba(239,68,68,0.35); box-shadow: 0 8px 30px rgba(239,68,68,0.15); }

.phase-number {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    flex-shrink: 0;
}

.phase-1 .phase-number { background: rgba(59,130,246,0.25); color: #60a5fa; border: 1px solid rgba(59,130,246,0.4); }
.phase-2 .phase-number { background: rgba(16,185,129,0.25); color: #34d399; border: 1px solid rgba(16,185,129,0.4); }
.phase-3 .phase-number { background: rgba(245,158,11,0.25); color: #fbbf24; border: 1px solid rgba(245,158,11,0.4); }
.phase-4 .phase-number { background: rgba(239,68,68,0.25); color: #f87171; border: 1px solid rgba(239,68,68,0.4); }

.phase-info h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #fff;
}

.phase-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Step Card */
.guide-step {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    margin-bottom: 2.2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    scroll-margin-top: 110px;
}

.guide-step:hover {
    border-color: rgba(59,130,246,0.4);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.25rem 1.6rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--gradient-1);
    color: white;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    flex: 1;
    color: #f8fafc;
}

.step-time {
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
    font-size: 11.5px;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.08);
}

.step-body {
    padding: 1.6rem;
}

.step-desc {
    color: #cbd5e1;
    line-height: 1.95;
    margin-bottom: 1.4rem;
    font-size: 14.5px;
}

/* App Screen Mockup */
.app-screen {
    background: #090e1a;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.25rem;
    position: relative;
    box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}

.app-titlebar {
    background: #151d30;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.app-titlebar .dot { width: 10px; height: 10px; border-radius: 50%; }
.app-titlebar .dot.red { background: #ef4444; }
.app-titlebar .dot.yellow { background: #f59e0b; }
.app-titlebar .dot.green { background: #10b981; }

.app-titlebar .app-title-text {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin: 0;
}

.app-window {
    display: flex;
    min-height: 220px;
}

.app-sidebar-inner {
    width: 170px;
    background: #0f1629;
    padding: 12px 8px;
    flex-shrink: 0;
    border-left: 1px solid rgba(255,255,255,0.06);
}

.app-sidebar-inner .app-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

.app-logo-area .app-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.app-logo-area .app-logo-text {
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
}

.app-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 3px;
}

.app-menu-item.active {
    background: rgba(59,130,246,0.18);
    color: #60a5fa;
    font-weight: 700;
}

.app-menu-item i {
    font-size: 12px;
    width: 14px;
    text-align: center;
}

.app-main-area {
    flex: 1;
    padding: 14px 18px;
    background: #0b1120;
}

.app-page-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-card-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.app-card {
    background: #172033;
    border-radius: 10px;
    padding: 10px 14px;
    flex: 1;
    min-width: 80px;
    border: 1px solid rgba(255,255,255,0.06);
}

.app-card .card-num {
    font-size: 18px;
    font-weight: 800;
    color: #60a5fa;
    display: block;
}

.app-card .card-lbl {
    font-size: 10.5px;
    color: #94a3b8;
}

.app-table-header {
    display: flex;
    background: #172033;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 10.5px;
    color: #94a3b8;
    gap: 8px;
    margin-bottom: 4px;
    font-weight: 700;
}

.app-table-row {
    display: flex;
    padding: 7px 10px;
    font-size: 10.5px;
    color: #cbd5e1;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: center;
}

.app-table-row:nth-child(even) {
    background: rgba(255,255,255,0.015);
}

.app-table-row .row-badge {
    background: rgba(16,185,129,0.18);
    color: #34d399;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 9.5px;
    font-weight: 700;
}

.app-table-row .row-badge.fail {
    background: rgba(239,68,68,0.18);
    color: #f87171;
}

.app-table-row .row-badge.warn {
    background: rgba(245,158,11,0.18);
    color: #fbbf24;
}

.app-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: Cairo, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.app-btn-secondary {
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 11.5px;
    cursor: pointer;
    font-family: Cairo, sans-serif;
}

.app-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.app-input {
    background: #172033;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 7px;
    padding: 6px 10px;
    font-size: 11px;
    color: #e2e8f0;
    width: 100%;
    font-family: Cairo, sans-serif;
    box-sizing: border-box;
}

.app-select {
    background: #172033;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 7px;
    padding: 6px 10px;
    font-size: 11px;
    color: #e2e8f0;
    width: 100%;
    font-family: Cairo, sans-serif;
    box-sizing: border-box;
}

.app-label {
    font-size: 10.5px;
    color: #94a3b8;
    margin-bottom: 4px;
    display: block;
    font-weight: 600;
}

.app-progress-bar {
    background: #172033;
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
    margin: 8px 0;
    border: 1px solid rgba(255,255,255,0.06);
}

.app-progress-fill {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
}

/* Callouts */
.callout-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.025);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.callout-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #cbd5e1;
}

.callout-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(239,68,68,0.5);
}

/* Tip Box */
.step-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(59,130,246,0.09);
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 12px;
    font-size: 13.5px;
    color: #93c5fd;
    line-height: 1.75;
    margin-top: 14px;
}

.step-tip.warning {
    background: rgba(245,158,11,0.09);
    border-color: rgba(245,158,11,0.25);
    color: #fbbf24;
}

.step-tip.success {
    background: rgba(16,185,129,0.09);
    border-color: rgba(16,185,129,0.25);
    color: #34d399;
}

.step-tip i {
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Guide Responsive */
@media (max-width: 960px) {
    .guide-layout {
        flex-direction: column;
        padding: 1rem;
        padding-top: 90px;
    }
    .guide-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: 280px;
    }
    .app-window {
        flex-direction: column;
    }
    .app-sidebar-inner {
        width: 100%;
        display: flex;
        overflow-x: auto;
        gap: 6px;
        padding: 8px;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .app-sidebar-inner .app-logo-area {
        display: none;
    }
    .guide-hero h1 {
        font-size: 1.8rem;
    }
    .guide-stats {
        gap: 1.5rem;
    }
}

/* ==========================================================================
   School Types Showcase, Modules Explorer, Comparison Table & FAQ Accordion
   ========================================================================== */

/* Tabs Component */
.modules-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.module-tab-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.module-tab-btn:hover {
    color: #1d4ed8;
    border-color: #93c5fd;
    background: #eff6ff;
}

.module-tab-btn.active {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.28);
}

.module-tab-pane {
    display: none;
    animation: fadeInTab 0.35s ease forwards;
}

.module-tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.module-pane-card {
    padding: 35px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

.visual-placeholder-card {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    position: relative;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.visual-placeholder-card:hover {
    border-color: #3b82f6;
    background: #f0f7ff;
}

.visual-badge {
    position: absolute;
    top: -13px;
    right: 24px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .module-tab-btn {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

[data-theme="dark"] .module-tab-btn:hover {
    color: #fff;
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.15);
}

[data-theme="dark"] .module-tab-btn.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border-color: #60a5fa;
}

[data-theme="dark"] .module-pane-card {
    background: #151e32;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .module-pane-card h3,
[data-theme="dark"] .module-pane-card h4 {
    color: #f8fafc !important;
}

[data-theme="dark"] .module-pane-card p {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .visual-placeholder-card {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .visual-placeholder-card:hover {
    border-color: #60a5fa;
    background: rgba(30, 41, 59, 0.5);
}

[data-theme="dark"] .visual-badge {
    background: #1e3a8a;
    color: #93c5fd;
    border-color: #2563eb;
}

.module-pane-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 900px) {
    .module-pane-grid {
        grid-template-columns: 1fr;
    }
}

.module-features-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.module-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: #e2e8f0;
    line-height: 1.6;
}

.module-features-list li i {
    color: #10b981;
    font-size: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Comparison Table */
.comparison-container {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 14px;
}

.comparison-table th, .comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th {
    background: rgba(30, 41, 59, 0.85);
    color: #f8fafc;
    font-weight: 700;
}

.comparison-table th.nepras-col {
    background: rgba(37, 99, 235, 0.25);
    color: #60a5fa;
    border-left: 1px solid rgba(59, 130, 246, 0.3);
    border-right: 1px solid rgba(59, 130, 246, 0.3);
}

.comparison-table td.nepras-col {
    background: rgba(37, 99, 235, 0.08);
    color: #f1f5f9;
    font-weight: 600;
    border-left: 1px solid rgba(59, 130, 246, 0.2);
    border-right: 1px solid rgba(59, 130, 246, 0.2);
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* FAQ Accordion */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    user-select: none;
}

.faq-icon {
    font-size: 14px;
    color: #60a5fa;
    transition: transform 0.3s ease;
}

.faq-card.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.7;
}

.faq-card.open .faq-answer {
    max-height: 250px;
    padding: 0 24px 20px;
}

/* ==========================================================================
   تصميمات الواجهات الرسومية المصورة (UI Mockups) & التنافسية السعرية
   ========================================================================== */

/* شبكة الواجهتين البصريتين لكل قسم */
.mockup-dual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

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

/* نافذة محاكاة تطبيق سطح المكتب الفاخر */
.mockup-window {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mockup-window:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
}

/* شريط عنوان النافذة مع أزرار التحكم الثلاثية */
.mockup-titlebar {
    background: #1e293b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-title {
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-badge {
    font-size: 10.5px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}

/* جسم المحتوى البصري داخل النافذة */
.mockup-body {
    padding: 18px;
    font-size: 12.5px;
    background: radial-gradient(circle at top right, rgba(30, 41, 59, 0.5), #0b1120);
    color: #e2e8f0;
    overflow-x: auto;
}

/* جداول المحاكاة الواقعية */
.mockup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: right;
}

.mockup-table th {
    background: rgba(30, 41, 59, 0.9);
    color: #94a3b8;
    padding: 8px 10px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.mockup-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #f1f5f9;
    white-space: nowrap;
}

.mockup-table tr:hover td {
    background: rgba(59, 130, 246, 0.08);
}

/* بطاقات المؤشرات المصغرة داخل المحاكاة */
.mockup-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.mockup-stat-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.mockup-stat-num {
    font-size: 18px;
    font-weight: 800;
    color: #60a5fa;
    line-height: 1.2;
}

.mockup-stat-label {
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 2px;
}

/* شريط تحكم المحاكاة */
.mockup-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    background: rgba(15, 23, 42, 0.6);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-search-input {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px 10px;
    color: #e2e8f0;
    font-size: 11.5px;
    width: 140px;
}

.mockup-action-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* بطاقات التنافسية السعرية الاستثنائية */
.savings-hero-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.savings-pill {
    background: #10b981;
    color: #064e3b;
    font-weight: 900;
    font-size: 13px;
    padding: 4px 14px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 8px;
}

.savings-highlight {
    font-size: 32px;
    font-weight: 900;
    color: #34d399;
    letter-spacing: -0.5px;
}

.savings-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.comparison-box {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comparison-box.featured {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 2px solid #3b82f6;
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.3);
}

.comparison-box-header {
    margin-bottom: 20px;
}

.comparison-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.comparison-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

/* قسم تطبيقات الويب الفورية المنشورة حديثاً */
.web-app-launch-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.web-app-launch-card:hover {
    border-color: rgba(99, 102, 241, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -10px rgba(99, 102, 241, 0.25);
}

/* ==========================================================================
   نظام التباين العالي (Light Mode & Dark Mode High-Contrast System)
   ========================================================================== */

/* زر تبديل الوضع (نهاري / ليلي) */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--secondary-color);
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
    background: var(--secondary-hover);
    color: var(--primary-color);
    transform: scale(1.06);
}

/* شارة عداد الزوار التفاعلي (يبدأ من 2,000) */
.visitor-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.visitor-counter-badge i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.visitor-counter-badge strong {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.95rem;
}

/* ---------- تخصيصات الوضع الفاتح المدرسي الرسمي (Light Theme Overrides) ---------- */
:root,
html[data-theme="light"] {
    --text-color: #0f172a;
    --text-muted: #475569;
}

html:not([data-theme="dark"]) .glass-panel,
html[data-theme="light"] .glass-panel {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.04) !important;
}

html:not([data-theme="dark"]) .glass-panel h3,
html[data-theme="light"] .glass-panel h3,
html:not([data-theme="dark"]) .glass-panel h2,
html[data-theme="light"] .glass-panel h2 {
    color: #0f172a !important;
}

html:not([data-theme="dark"]) .glass-panel p,
html[data-theme="light"] .glass-panel p {
    color: #475569 !important;
}

html:not([data-theme="dark"]) .glass-panel li,
html[data-theme="light"] .glass-panel li {
    color: #334155 !important;
}

/* بطاقات تطبيقات الويب الفورية في الوضع الفاتح */
html:not([data-theme="dark"]) .web-app-launch-card,
html[data-theme="light"] .web-app-launch-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.04) !important;
}

html:not([data-theme="dark"]) .web-app-launch-card h3,
html[data-theme="light"] .web-app-launch-card h3 {
    color: #0f172a !important;
}

html:not([data-theme="dark"]) .web-app-launch-card p,
html[data-theme="light"] .web-app-launch-card p {
    color: #475569 !important;
}

/* بطاقات التنافسية السعرية في الوضع الفاتح */
html:not([data-theme="dark"]) .savings-hero-banner,
html[data-theme="light"] .savings-hero-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(37, 99, 235, 0.06)) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
}

html:not([data-theme="dark"]) .comparison-box,
html[data-theme="light"] .comparison-box {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06) !important;
}

html:not([data-theme="dark"]) .comparison-box h3,
html[data-theme="light"] .comparison-box h3 {
    color: #0f172a !important;
}

html:not([data-theme="dark"]) .comparison-box p,
html[data-theme="light"] .comparison-box p {
    color: #475569 !important;
}

html:not([data-theme="dark"]) .comparison-box.featured,
html[data-theme="light"] .comparison-box.featured {
    background: #ffffff !important;
    border: 2px solid #2563eb !important;
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.15) !important;
}

html:not([data-theme="dark"]) .comparison-feature-list li,
html[data-theme="light"] .comparison-feature-list li {
    color: #334155 !important;
}

/* بطاقات الأسعار في الوضع الفاتح */
html:not([data-theme="dark"]) .pricing-card,
html[data-theme="light"] .pricing-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.07) !important;
}

html:not([data-theme="dark"]) .pricing-card.featured,
html[data-theme="light"] .pricing-card.featured {
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%) !important;
    border: 2px solid #2563eb !important;
}

html:not([data-theme="dark"]) .pricing-card.enterprise,
html[data-theme="light"] .pricing-card.enterprise {
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%) !important;
    border: 2px solid #7c3aed !important;
}

html:not([data-theme="dark"]) .pricing-title,
html[data-theme="light"] .pricing-title {
    color: #0f172a !important;
}

html:not([data-theme="dark"]) .pricing-target,
html[data-theme="light"] .pricing-target {
    color: #64748b !important;
}

html:not([data-theme="dark"]) .pricing-features li,
html[data-theme="light"] .pricing-features li {
    color: #334155 !important;
}

html:not([data-theme="dark"]) .pricing-tier-tag,
html[data-theme="light"] .pricing-tier-tag {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

/* بطاقات المنتجات والأدوات والملفات في الوضع الفاتح */
html:not([data-theme="dark"]) .product-card,
html[data-theme="light"] .product-card,
html:not([data-theme="dark"]) .tool-card,
html[data-theme="light"] .tool-card,
html:not([data-theme="dark"]) .resource-card,
html[data-theme="light"] .resource-card,
html:not([data-theme="dark"]) .quick-link-card,
html[data-theme="light"] .quick-link-card,
html:not([data-theme="dark"]) .contact-card,
html[data-theme="light"] .contact-card,
html:not([data-theme="dark"]) .feature-card,
html[data-theme="light"] .feature-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.07) !important;
}

html:not([data-theme="dark"]) .product-card h3,
html[data-theme="light"] .product-card h3,
html:not([data-theme="dark"]) .tool-card h3,
html[data-theme="light"] .tool-card h3,
html:not([data-theme="dark"]) .resource-card h3,
html[data-theme="light"] .resource-card h3,
html:not([data-theme="dark"]) .quick-link-card h3,
html[data-theme="light"] .quick-link-card h3,
html:not([data-theme="dark"]) .contact-card h3,
html[data-theme="light"] .contact-card h3,
html:not([data-theme="dark"]) .feature-card h3,
html[data-theme="light"] .feature-card h3 {
    color: #0f172a !important;
}

html:not([data-theme="dark"]) .hero p,
html[data-theme="light"] .hero p {
    color: #475569 !important;
}

html:not([data-theme="dark"]) .guarantee-bar,
html[data-theme="light"] .guarantee-bar {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

html:not([data-theme="dark"]) .guarantee-item h4,
html[data-theme="light"] .guarantee-item h4 {
    color: #0f172a !important;
}

/* نوافذ المحاكاة Mockups في الوضع الفاتح */
html:not([data-theme="dark"]) .mockup-window,
html[data-theme="light"] .mockup-window {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.09) !important;
}

html:not([data-theme="dark"]) .mockup-titlebar,
html[data-theme="light"] .mockup-titlebar {
    background: #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

html:not([data-theme="dark"]) .mockup-titlebar span,
html[data-theme="light"] .mockup-titlebar span {
    color: #1e293b !important;
    font-weight: 700;
}

html:not([data-theme="dark"]) .mockup-body,
html[data-theme="light"] .mockup-body {
    background: #ffffff !important;
}

html:not([data-theme="dark"]) .mockup-table th,
html[data-theme="light"] .mockup-table th {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

html:not([data-theme="dark"]) .mockup-table td,
html[data-theme="light"] .mockup-table td {
    color: #334155 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

html:not([data-theme="dark"]) .mockup-table tr:hover td,
html[data-theme="light"] .mockup-table tr:hover td {
    background: #f0f9ff !important;
}

html:not([data-theme="dark"]) .mockup-stat-card,
html[data-theme="light"] .mockup-stat-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

html:not([data-theme="dark"]) .mockup-stat-label,
html[data-theme="light"] .mockup-stat-label {
    color: #64748b !important;
}

html:not([data-theme="dark"]) .mockup-controls-bar,
html[data-theme="light"] .mockup-controls-bar {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

html:not([data-theme="dark"]) .mockup-search-input,
html[data-theme="light"] .mockup-search-input {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

/* جدول المقارنة الشاملة في الوضع الفاتح */
html:not([data-theme="dark"]) .comparison-table,
html[data-theme="light"] .comparison-table {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

html:not([data-theme="dark"]) .comparison-table th,
html[data-theme="light"] .comparison-table th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

html:not([data-theme="dark"]) .comparison-table td,
html[data-theme="light"] .comparison-table td {
    color: #334155 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

html:not([data-theme="dark"]) .comparison-table td.feature-name,
html[data-theme="light"] .comparison-table td.feature-name {
    color: #0f172a !important;
}

html:not([data-theme="dark"]) .comparison-table .highlight-col,
html[data-theme="light"] .comparison-table .highlight-col {
    background: #eff6ff !important;
}

/* القائمة المتجاوبة على الموبايل في الوضع الفاتح */
@media (max-width: 1024px) {
    html:not([data-theme="dark"]) .nav-links,
    html[data-theme="light"] .nav-links {
        background: rgba(255, 255, 255, 0.98) !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    html:not([data-theme="dark"]) .nav-links .nav-link,
    html[data-theme="light"] .nav-links .nav-link {
        border-bottom: 1px solid #f1f5f9 !important;
        color: #1e293b !important;
    }
}

/* مدخلات النماذج Form Controls في الوضع الفاتح */
html:not([data-theme="dark"]) .form-control,
html[data-theme="light"] .form-control {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html:not([data-theme="dark"]) .form-control:focus,
html[data-theme="light"] .form-control:focus {
    border-color: #2563eb !important;
    background: #ffffff !important;
}

html:not([data-theme="dark"]) select.form-control option,
html[data-theme="light"] select.form-control option {
    background: #ffffff !important;
    color: #0f172a !important;
}

/* ---------- تخصيصات الوضع الليلي عالي التباين (Dark Mode High-Contrast) ---------- */
[data-theme="dark"] .glass-panel,
[data-theme="dark"] .web-app-launch-card,
[data-theme="dark"] .comparison-box,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .tool-card,
[data-theme="dark"] .resource-card,
[data-theme="dark"] .quick-link-card,
[data-theme="dark"] .contact-card {
    background: #151e32 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 14px 38px 0 rgba(0, 0, 0, 0.55) !important;
}

[data-theme="dark"] .mockup-window {
    background: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

[data-theme="dark"] .mockup-titlebar {
    background: #1e293b !important;
}

[data-theme="dark"] .mockup-body {
    background: #0f172a !important;
}

/* Feature items in NeprasPro SIS */
.feature-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
    border-color: #93c5fd;
}




