/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    --primary-color: #f59e0b; /* Vibrant Gold / Yellow */
    --primary-hover: #d97706;
    --bg-dark: #0a0a0a;
    --bg-card: #171717;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
}

/* Header & Nav */
header {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--text-main);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Base Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background-color: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

/* Main Sections */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-main);
}

.section-title span {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2070&auto=format&fit=crop') center/cover;
    padding: 0 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin-top: 4rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.glass-card {
    background: rgba(23, 23, 23, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
    text-align: center;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.glass-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--bg-card);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transition: var(--transition);
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Pricing & Extra Sections */
.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    margin: 1.5rem 0;
}
.price span {
    font-size: 1rem;
    color: var(--text-muted);
}
.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: right;
}
.pricing-features li {
    margin-bottom: 0.8rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
}
.pricing-features i {
    width: 20px;
    text-align: center;
    font-size: 0.85rem;     /* تصغير حجم الأيقونة */
    margin-left: 15px;      /* إضافة مسافة باتجاه اليسار */
    transform: translateY(2px); /* تحريك للأسفل للمحاذاة مع النص */
}

/* FAQ Section */
.faq-item {
    background: rgba(23, 23, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item[open] {
    border-color: rgba(245, 158, 11, 0.3);
}
.faq-item summary {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}
.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Forms */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(23, 23, 23, 0.6);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

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

/* Content Pages (About, Privacy) */
.page-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(23, 23, 23, 1));
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.content-box {
    background: rgba(23, 23, 23, 0.4);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-box h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}
.content-box h2:first-child {
    margin-top: 0;
}

.content-box p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.content-box ul {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
    color: var(--text-muted);
}

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
