/* User-Friendly Landing Page Styles */

:root {
    --primary: #3b82f6;
    --primary-dark: #1e40af;
    --secondary: #8b5cf6;
    --success: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar-simple {
    background-color: #1f2937;
    border-bottom: 1px solid #111827;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar-simple .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    gap: 30px;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    flex: 1;
}

.nav-brand .logo {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.nav-links a {
    text-decoration: none;
    color: #f3f4f6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3b82f6;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    height: 100%;
}

.nav-buttons a {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-buttons .login {
    color: #f3f4f6;
    border: 1px solid #4b5563;
}

.nav-buttons .login:hover {
    background-color: #374151;
}

.nav-buttons .signup {
    background-color: var(--primary);
    color: white;
}

.nav-buttons .signup:hover {
    background-color: var(--primary-dark);
}

/* ===== Hero Section ===== */
.hero-simple {
    padding: 80px 20px;
    text-align: center;
    background-color: #ffffff;
}

.hero-simple .container {
    max-width: 700px;
}

.hero-simple h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-simple p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-buttons a {
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: var(--primary);
    color: white;
}

.hero-buttons .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-buttons .btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--bg-light);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item .label {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== Features Section ===== */
.features-simple {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.features-simple h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.features-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-item .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Pricing Section ===== */
.pricing-simple {
    padding: 80px 20px;
}

.pricing-simple h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.pricing-cards-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-item {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-item.featured {
    border-color: var(--primary);
    border-width: 2px;
    transform: scale(1.05);
}

.pricing-item.featured::before {
    content: 'الأفضل';
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-item:hover {
    box-shadow: var(--shadow-md);
}

.pricing-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.pricing-item .subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.pricing-item .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.pricing-item .period {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    font-size: 16px;
}

.pricing-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-item.featured .pricing-button {
    background-color: var(--primary);
    color: white;
}

.pricing-item.featured .pricing-button:hover {
    background-color: var(--primary-dark);
}

.pricing-item .pricing-button {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.pricing-item .pricing-button:hover {
    background-color: var(--bg-light);
}

/* ===== FAQ Section ===== */
.faq-simple {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.faq-simple h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.faq-items {
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
}

.faq-item {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item .question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item .question::after {
    content: '▼';
    font-size: 12px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .question::after {
    transform: rotate(180deg);
}

.faq-item .answer {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.active .answer {
    display: block;
}

/* ===== CTA Section ===== */
.cta-simple {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.cta-simple h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cta-simple p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    padding: 14px 40px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Footer ===== */
.footer-simple {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 50px 20px 20px;
}

.footer-simple .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    padding: 20px 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .navbar-simple .container {
        padding: 0 15px;
        height: 60px;
    }

    .nav-brand h1 {
        font-size: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-buttons a {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero-simple {
        padding: 60px 15px;
    }

    .hero-simple h2 {
        font-size: 32px;
    }

    .hero-simple p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .features-simple,
    .pricing-simple,
    .faq-simple,
    .cta-simple {
        padding: 60px 15px;
    }

    .features-simple h2,
    .pricing-simple h2,
    .faq-simple h2,
    .cta-simple h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .features-grid-simple {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }

    .pricing-cards-simple {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-item {
        padding: 30px;
    }

    .pricing-item.featured {
        transform: scale(1);
    }

    .pricing-item.featured::before {
        top: -12px;
        right: 15px;
        font-size: 10px;
        padding: 3px 10px;
    }

    .faq-items {
        max-width: 100%;
    }

    .faq-item {
        padding: 15px;
    }

    .cta-simple p {
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .navbar-simple {
        position: relative;
    }

    .navbar-simple .container {
        padding: 0 12px;
        height: 55px;
        flex-wrap: wrap;
    }

    .nav-brand {
        width: 100%;
        justify-content: center;
        height: auto;
        margin-bottom: 10px;
    }

    .nav-brand .logo {
        height: 35px;
    }

    .nav-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        order: 3;
        width: 100%;
    }

    .nav-links a {
        font-size: 12px;
        padding: 5px 10px;
    }

    .nav-buttons {
        width: 100%;
        justify-content: center;
        order: 4;
        gap: 8px;
        flex-wrap: wrap;
    }

    .nav-buttons a {
        padding: 6px 12px;
        font-size: 11px;
        flex: 1;
        min-width: 80px;
        text-align: center;
    }

    .hero-simple {
        padding: 40px 12px;
    }

    .hero-simple h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero-simple p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 30px;
    }

    .hero-buttons a {
        width: 100%;
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-top: 30px;
        margin-top: 30px;
    }

    .stat-item .number {
        font-size: 24px;
    }

    .stat-item .label {
        font-size: 12px;
    }

    .features-simple,
    .pricing-simple,
    .faq-simple,
    .cta-simple {
        padding: 40px 12px;
    }

    .features-simple h2,
    .pricing-simple h2,
    .faq-simple h2,
    .cta-simple h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .features-grid-simple {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-item .icon {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .feature-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-item p {
        font-size: 12px;
    }

    .pricing-cards-simple {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pricing-item {
        padding: 20px;
    }

    .pricing-item.featured {
        transform: scale(1);
    }

    .pricing-item.featured::before {
        top: -10px;
        right: 12px;
        font-size: 9px;
        padding: 2px 8px;
    }

    .pricing-item h3 {
        font-size: 18px;
    }

    .pricing-item .price {
        font-size: 28px;
    }

    .pricing-item .period {
        font-size: 12px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .pricing-features li {
        padding: 8px 0;
        font-size: 12px;
        gap: 8px;
    }

    .pricing-button {
        padding: 10px;
        font-size: 14px;
    }

    .faq-items {
        max-width: 100%;
    }

    .faq-item {
        padding: 12px;
        margin-bottom: 10px;
    }

    .faq-item .question {
        font-size: 14px;
    }

    .faq-item .answer {
        font-size: 12px;
        margin-top: 12px;
        padding-top: 12px;
    }

    .cta-simple {
        padding: 40px 12px;
    }

    .cta-simple h2 {
        font-size: 20px;
    }

    .cta-simple p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 10px 30px;
        font-size: 14px;
    }

    .footer-simple {
        padding: 40px 12px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }

    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-section ul li a {
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 12px;
        padding: 15px 0;
    }
}
