/* Suha سُهى Website Styles */

:root {
    --primary-bg: #F5F0E8;
    --secondary-bg: #FFFFFF;
    --accent-orange: #E89771;
    --accent-dark: #D67B54;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Language visibility - Arabic by default */
.en-text {
    display: none !important;
}

.ar-text {
    display: inline !important;
}

/* When English is active */
.lang-en .en-text {
    display: inline !important;
}

.lang-en .ar-text {
    display: none !important;
}

body {
    font-family: 'Readex Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

[dir="rtl"] .lang-toggle {
    left: auto;
    right: 20px;
}

#langBtn {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

#langBtn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Header */
header {
    padding: 80px 0 20px;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    min-width: 200px;
}

.apple-btn {
    background: #000000;
}

.apple-btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.google-btn {
    background: #3DDC84;
}

.google-btn:hover {
    background: #34c275;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(61, 220, 132, 0.3);
}

.download-btn svg {
    flex-shrink: 0;
}

.download-btn .btn-small {
    font-size: 0.7rem;
    opacity: 0.9;
    text-align: left;
}

[dir="rtl"] .download-btn .btn-small {
    text-align: right;
}

.download-btn .btn-large {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    text-align: left;
}

[dir="rtl"] .download-btn .btn-large {
    text-align: right;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--secondary-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* AI Badge */
.ai-badge {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 25px 40px;
    border-radius: 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.sparkle {
    font-size: 1.5rem;
    margin-right: 10px;
}

[dir="rtl"] .sparkle {
    margin-right: 0;
    margin-left: 10px;
}

/* Footer */
footer {
    background: var(--secondary-bg);
    padding: 60px 0 30px;
    margin-top: 80px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .ai-badge {
        font-size: 1rem;
        padding: 20px 25px;
    }

    .logo-text {
        font-size: 2rem;
    }
}

/* Page Specific Styles (Terms & Privacy) */
.legal-page {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin: 40px auto;
    max-width: 900px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.legal-page .last-updated {
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.legal-page h3 {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.legal-page p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-page ul {
    margin: 15px 0;
    padding-left: 30px;
}

[dir="rtl"] .legal-page ul {
    padding-left: 0;
    padding-right: 30px;
}

.legal-page li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.legal-page strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-page a {
    color: var(--accent-orange);
    text-decoration: none;
}

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

.back-home {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: var(--accent-orange);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.back-home:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}
