:root {
    --primary-color: #2563eb;
    --secondary-color: #475569;
    --success-color: #22c55e;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--dark-color);
}

/* شريط التنقل */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand i {
    margin-left: 0.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* القسم الرئيسي */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../images/pattern.svg') center/cover;
    opacity: 0.1;
}

.hero h1 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* قسم المميزات */
.features {
    padding: 80px 0;
    background: var(--light-color);
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.6;
}

/* قسم العرض التجريبي */
.demo {
    padding: 80px 0;
    background: white;
}

.demo-preview {
    position: relative;
    padding: 20px;
}

.demo-preview::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    border-radius: 20px;
    opacity: 0.1;
    z-index: -1;
}

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

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--success-color);
    margin-left: 1rem;
    font-size: 1.25rem;
}

/* قسم الاتصال */
.contact {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

/* الأزرار */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* تحسينات للموبايل */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero img {
        margin-top: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .footer {
        text-align: center;
    }

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