/* ========================================
   RESET & VARIABLES
======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a1628;
    --primary-light: #1a2d4a;
    --primary-dark: #060d18;
    --accent: #0ea5e9;
    --accent-dark: #0284c7;
    --accent-light: #38bdf8;
    --gold: #f59e0b;
    --success: #10b981;
    --white: #ffffff;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background: var(--primary);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========================================
   CONTAINER & UTILITIES
======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .section {
        padding: 6rem 0;
    }
}

.glass {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
}

.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.35);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.w-full {
    width: 100%;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.5rem;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-fallback {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.logo-fallback span {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.2;
}

.logo-tagline {
    color: var(--gray-400);
    font-size: 0.625rem;
    margin-top: -2px;
}

@media (max-width: 640px) {
    .logo-icon,
    .logo-fallback {
        width: 38px;
        height: 38px;
    }
    
    .logo-name {
        font-size: 0.9rem;
    }
    
    .logo-tagline {
        font-size: 0.5rem;
    }
}

.navbar-menu {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .navbar-menu {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 0.75rem;
    color: var(--gray-300);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-light);
    background: rgba(14, 165, 233, 0.1);
}

.nav-cta {
    margin-right: 0.5rem;
}

.navbar-toggle {
    display: flex;
    padding: 0.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .navbar-toggle {
        display: none;
    }
}

.toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.toggle-icon span {
    display: block;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggle.active .toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active .toggle-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-mobile {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0 0.75rem;
}

.navbar-mobile.active {
    display: block;
}

.navbar-mobile-inner {
    padding: 1rem;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    border-radius: var(--radius);
}

.nav-link-mobile {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-300);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.nav-link-mobile:hover {
    color: var(--accent-light);
    background: rgba(14, 165, 233, 0.1);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 550px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: all 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.55) 40%, rgba(10, 22, 40, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 48rem;
}

.hero-content-slide {
    display: none;
}

.hero-content-slide.active {
    display: block;
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    line-height: 1.25;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

.hero-subtitle {
    font-size: 0.9375rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 36rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: none;
}

@media (min-width: 640px) {
    .hero-nav {
        display: flex;
    }
}

.hero-nav-prev {
    left: 1rem;
}

.hero-nav-next {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    border: none;
}

.hero-dot.active {
    width: 28px;
    background: var(--accent);
}

.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5rem;
    background: linear-gradient(to top, var(--primary), transparent);
    z-index: 10;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-section {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
}

.about-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.about-text {
    color: var(--gray-300);
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.about-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.about-card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.about-card-content h3 {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.about-card-content p {
    color: var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.7;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
    font-size: 0.875rem;
}

.list-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-light);
    border-radius: 50%;
}

.about-image-wrapper {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-stat {
    position: absolute;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    border-radius: var(--radius);
    text-align: center;
}

.about-stat-1 {
    bottom: -1rem;
    right: -0.5rem;
}

.about-stat-2 {
    top: -1rem;
    left: -0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
}

.stat-label {
    color: var(--gray-300);
    font-size: 0.6875rem;
}

.about-quote {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
}

.quote-highlight {
    color: var(--accent-light);
    font-size: 0.875rem;
    font-weight: 700;
}

.quote-text {
    color: white;
    font-size: 1rem;
    font-weight: 900;
}

/* ========================================
   FEATURES SECTION
======================================== */
.features-section {
    /*background: linear-gradient(180deg, #0d1b2a 0%, var(--primary) 100%);*/
	background-image: url("https://smartbit.sa/wp-content/uploads/2026/05/section_bg_medul.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 1.25rem;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 2.5rem;
    }
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    height: 100%;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: var(--gray-400);
    font-size: 0.8125rem;
    line-height: 1.6;
}

/* ========================================
   MODULES SECTION
======================================== */
.modules-section {
    background: linear-gradient(180deg, var(--primary) 0%, #0d1b2a 100%);
}

.module-card {
    padding: 1rem;
    border-radius: var(--radius);
    display: flex;
    gap: 0.75rem;
}

.module-hidden {
    display: none !important;
}

.module-hidden.show {
    display: flex !important;
}

.module-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.module-title {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.module-desc {
    color: var(--gray-400);
    font-size: 0.6875rem;
    line-height: 1.5;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
    background: linear-gradient(180deg, var(--primary) 0%, #0d1b2a 100%);
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 3fr;
        gap: 2rem;
    }
}

.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
	margin-bottom: 10px;
    border-radius: var(--radius);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.contact-card-content h4 {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-card-content a,
.contact-card-content span {
    color: var(--accent-light);
    font-size: 0.875rem;
    text-decoration: none;
}

.contact-form-wrapper {
    padding: 1.5rem;
    border-radius: var(--radius);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group label {
    display: block;
    color: var(--gray-300);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-success {
    text-align: center;
    padding: 2rem;
    display: none;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--success);
    margin-bottom: 1rem;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2.5rem;
    }
}

.footer-brand {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-desc {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 1rem 0;
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: var(--gray-400);
    font-size: 0.875rem;
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-light);
}

.contact-icon {
    margin-left: 0.5rem;
}

/* ========================================
   FOOTER BOTTOM & SOCIAL MEDIA
======================================== */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: var(--gray-300);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.social-link:hover svg {
    color: white;
}

.social-link[href*="twitter"]:hover { background: #000000; }
.social-link[href*="facebook"]:hover { background: #1877f2; }
.social-link[href*="instagram"]:hover { background: linear-gradient(135deg, #833ab4, #e1306c, #f77737); }
.social-link[href*="youtube"]:hover { background: #ff0000; }
.social-link[href*="linkedin"]:hover { background: #0077b5; }

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.75rem;
    margin: 0;
}

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

.legal-link {
    color: var(--gray-500);
    font-size: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.legal-link:hover {
    color: var(--accent-light);
}

/* ========================================
   WHATSAPP FLOAT & SCROLL TOP
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: white;
}

.scroll-top {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 999;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   MODALS
======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 10;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    max-width: 48rem;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1.25rem;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-content h3 {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.modal-body {
    color: var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.8;
}

.modal-body h4 {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
}

.modal-body p {
    margin-bottom: 0.5rem;
}

.modal-body ul {
    padding-right: 1.5rem;
    margin: 0.5rem 0;
}

.modal-body li {
    margin-bottom: 0.25rem;
}

.modal-body a {
    color: var(--accent-light);
    text-decoration: none;
}

.modal-body hr {
    margin: 1.5rem 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--primary-dark);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

@media (max-width: 640px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        padding: 1rem;
        max-height: 90vh;
    }
    
    .modal-content h3 {
        font-size: 1rem;
    }
    
    .modal-body {
        font-size: 0.75rem;
    }
}

/* ========================================
   UTILITIES
======================================== */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent-light);
}

.font-bold {
    font-weight: 700;
}

.card-hover {
    transition: var(--transition);
}

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

.tutorials-section {
    background: linear-gradient(180deg, var(--primary) 0%, #0d1b2a 100%);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   PAGE BLANK - قالب فارغ
======================================== */
.page-blank {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
}

.page-content-blank {
    /*max-width: 800px;*/
    margin: 0 auto;
    color: var(--gray-300);
    line-height: 1.8;
}
/*
.page-content-blank h2,
.page-content-blank h3,
.page-content-blank h4 {
    color: var(--white);
    margin: 1.5rem 0 1rem;
}

.page-content-blank h2:first-child {
    margin-top: 0;
}

.page-content-blank p {
    margin-bottom: 1rem;
}

.page-content-blank ul,
.page-content-blank ol {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.page-content-blank li {
    margin-bottom: 0.5rem;
}

.page-content-blank img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1rem 0;
}

.page-content-blank a {
    color: var(--accent-light);
    text-decoration: none;
}

.page-content-blank a:hover {
    text-decoration: underline;
}

.page-content-blank blockquote {
    border-right: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    font-style: italic;
}

.page-content-blank table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page-content-blank th,
.page-content-blank td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    text-align: right;
}

.page-content-blank th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 700;
}

.page-content-blank code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* استجابة للجوال */
@media (max-width: 640px) {
    .page-blank {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-content-blank {
        font-size: 0.875rem;
    }
}