body {
    font-family: 'Tajawal', sans-serif;
    background-color: #FFFDF9;
}
.dark body { background-color: #0f172a; }
h1, h2, h3, h4, h5, h6 { font-family: 'Cairo', sans-serif; }

.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c87f3b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
.dark ::-webkit-scrollbar-track { background: #1e293b; }
::-webkit-scrollbar-thumb { background: #C87F3B; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #A96724; }

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.glass-nav {
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 127, 59, 0.1);
}
.dark .glass-nav {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #A96724 !important;
    font-weight: 700;
    border-bottom: 3px solid #A96724;
    padding-bottom: 0.25rem;
}

.logo-svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLogo 3s ease forwards;
}
@keyframes drawLogo { to { stroke-dashoffset: 0; } }

.hero-overlay {
    background: linear-gradient(90deg, rgba(255,253,249,0.95) 0%, rgba(255,253,249,0.7) 100%);
}
[dir="ltr"] .hero-overlay {
    background: linear-gradient(270deg, rgba(255,253,249,0.95) 0%, rgba(255,253,249,0.7) 100%);
}
.dark .hero-overlay {
    background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.8) 100%);
}

.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-btn {
    width: 130px; height: 120px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; border-radius: 0.75rem;
    font-size: 1.15rem; font-weight: 800; line-height: 1.5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
    .hero-btn { width: 140px; height: 130px; font-size: 1.25rem; }
}
.btn-solid {
    background-color: #A96724; color: #fff; border: 2px solid #A96724;
}
.btn-solid:hover { background-color: #C87F3B; border-color: #C87F3B; transform: translateY(-3px); }
.btn-outline {
    background-color: #fff; color: #A96724; border: 2px solid #A96724;
}
.dark .btn-outline { background-color: transparent; color: #EFA252; border-color: #EFA252; }
.btn-outline:hover { background-color: #A96724; color: #fff; border-color: #A96724; transform: translateY(-3px); }

#modal-content { transform: scale(0.95); opacity: 0; transition: all 0.3s ease; }
#modal-content.show { transform: scale(1); opacity: 1; }
