/* ========================================
   ETQAN - Quran Learning Platform
   Version: 2.0
   ======================================== */

/* CSS Variables */
:root {
    --green-dark: #0E3D2A;
    --green: #1A5C3A;
    --green-mid: #2D7A52;
    --green-light: #40916C;
    --gold: #C9A84C;
    --gold-light: #E8C96A;
    --gold-pale: #F5E6B8;
    --cream: #FDFAF3;
    --cream-2: #F5EDD8;
    --text-dark: #1C1C1C;
    --text-mid: #4A5568;
    --text-light: #8A9BA8;
    --white: #FFFFFF;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(14,61,42,0.08);
    --shadow-md: 0 8px 30px rgba(14,61,42,0.14);
    --shadow-lg: 0 24px 56px rgba(14,61,42,0.22);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, .arabic-font {
    font-family: 'Amiri', serif;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-eyebrow {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.7rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.section-subtitle {
    color: var(--text-mid);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-gold, .btn-outline, .nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-gold {
    background: var(--gold);
    color: var(--green-dark);
    box-shadow: 0 8px 18px rgba(201,168,76,0.35);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(201,168,76,0.45);
}

.btn-outline {
    border: 1.5px solid rgba(255,255,255,0.4);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.nav-btn {
    background: var(--green);
    color: var(--white);
    padding: 10px 28px;
    font-size: 0.9rem;
}

.nav-btn:hover {
    background: var(--green-dark);
    transform: scale(1.02);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253,250,243,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    transition: var(--transition-normal);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--green);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon span {
    font-family: 'Amiri', serif;
    color: var(--gold-light);
    font-size: 24px;
    font-weight: 800;
}

.logo-name {
    font-size: 22px;
    font-weight: 900;
    color: var(--green-dark);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-mid);
    font-weight: 700;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--green-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--gold);
    color: var(--green-dark);
    border-color: var(--gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--green-dark);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253,250,243,0.98);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
    border-bottom: 1px solid rgba(201,168,76,0.2);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.lang-mobile {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.lang-mobile a {
    border: 1px solid var(--gold);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 72px;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 65%, var(--green-mid) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle, var(--gold-light) 2px, transparent 2px);
    background-size: 40px 40px;
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(232,201,106,0.3);
    border-radius: 80px;
    padding: 6px 20px;
    margin-bottom: 1.8rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-badge span {
    color: var(--gold-light);
    font-weight: 800;
    font-size: 0.85rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.hero-title em {
    color: var(--gold-light);
    font-style: normal;
}

.hero-desc {
    color: rgba(255,255,240,0.85);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Phone Mockup */
.phone {
    width: 280px;
    background: var(--white);
    border-radius: 44px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin: 0 auto;
    animation: floatPhone 5s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.phone-top {
    background: linear-gradient(145deg, var(--green-dark), var(--green));
    padding: 20px;
    text-align: center;
}

.phone-notch {
    width: 90px;
    height: 6px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    margin: 0 auto 14px;
}

.phone-top-title {
    font-family: 'Amiri', serif;
    font-size: 20px;
    color: var(--gold-light);
    font-weight: 700;
}

.phone-body {
    padding: 20px;
}

.p-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid rgba(201,168,76,0.15);
}

.p-card-label {
    font-size: 10px;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.p-card-title {
    font-family: 'Amiri', serif;
    font-size: 16px;
    color: var(--green-dark);
}

.p-prog {
    height: 4px;
    background: #E6DFCF;
    border-radius: 4px;
    margin-top: 8px;
}

.p-prog-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--gold);
}

.p-stats {
    display: flex;
    gap: 10px;
}

.p-stat {
    background: var(--green-dark);
    border-radius: 18px;
    padding: 12px;
    flex: 1;
    text-align: center;
}

.p-stat-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--gold-light);
}

.p-stat-label {
    font-size: 9px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

/* Stats Bar */
.stats-bar {
    background: var(--cream-2);
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-number {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-mid);
    font-weight: 600;
    margin-top: 4px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.feat-card {
    background: var(--white);
    border-radius: 28px;
    padding: 2rem;
    transition: var(--transition-normal);
    border: 1px solid rgba(201,168,76,0.12);
}

.feat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201,168,76,0.25);
}

.feat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, var(--green), var(--green-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 1.2rem;
}

.feat-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.feat-desc {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* Quran Banner */
.quran-banner {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quran-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle, var(--gold-light) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
}

.quran-ayah {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    color: var(--gold-light);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.quran-ref {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.8rem;
    position: relative;
    z-index: 1;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--gold-light);
    margin: 0 auto 1rem;
    box-shadow: 0 8px 18px rgba(26,92,58,0.25);
}

.step-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 0.4rem;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* Testimonials Grid */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.testi-card {
    background: var(--white);
    border-radius: 28px;
    padding: 1.8rem;
    border: 1px solid rgba(201,168,76,0.12);
    transition: var(--transition-normal);
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testi-stars {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testi-text {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.2rem;
}

.testi-author {
    display: flex;
    gap: 12px;
    align-items: center;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.testi-author strong {
    display: block;
    color: var(--green-dark);
    font-size: 0.9rem;
}

.testi-role {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Download CTA */
.download-cta {
    background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.download-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    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%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='rgba(232,201,106,0.05)' stroke-width='1'/%3E%3C/svg%3E");
}

.download-icon {
    font-size: 54px;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.download-title {
    font-family: 'Amiri', serif;
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.download-desc {
    color: rgba(255,255,240,0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.store-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.store-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 18px;
    padding: 12px 25px;
    display: inline-flex;
    gap: 14px;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.store-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.store-btn small {
    display: block;
    font-size: 10px;
    opacity: 0.7;
}

.store-btn strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}

.store-btn span {
    font-size: 28px;
}

/* Footer */
footer {
    background: #091F14;
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 2rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

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

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .quran-ayah {
        font-size: 1.4rem;
    }

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

    .store-btn {
        padding: 10px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feat-card, .testi-card, .step {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.feat-card:nth-child(1) { animation-delay: 0.1s; }
.feat-card:nth-child(2) { animation-delay: 0.2s; }
.feat-card:nth-child(3) { animation-delay: 0.3s; }
.feat-card:nth-child(4) { animation-delay: 0.4s; }
.feat-card:nth-child(5) { animation-delay: 0.5s; }
.feat-card:nth-child(6) { animation-delay: 0.6s; }

/* RTL Specific Adjustments */
[dir="rtl"] .hero-actions .btn-gold,
[dir="rtl"] .hero-actions .btn-outline {
    flex-direction: row-reverse;
}

[dir="rtl"] .store-btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-bottom a {
    margin-left: 0;
    margin-right: 1.5rem;
}
/* Legal Pages Styling */
.legal-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-title {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.legal-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.legal-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.4rem;
    color: var(--green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-section p {
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 0 1.5rem;
    padding-right: 1.5rem;
}

.legal-section li {
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-footer {
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: center;
    padding: 1.5rem;
    background: var(--cream-2);
    border-radius: 20px;
}

.legal-footer p {
    color: var(--text-mid);
    font-size: 0.9rem;
}

[dir="rtl"] .legal-section ul {
    margin: 1rem 1.5rem 0 0;
    padding-right: 1.5rem;
    padding-left: 0;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 40px;
    }

    .legal-content {
        padding: 1.5rem;
    }

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

    .legal-section h2 {
        font-size: 1.2rem;
    }
}

/* ========================================
   Delete Account Page Styling
   ======================================== */
.delete-account-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.delete-header {
    text-align: center;
    margin-bottom: 3rem;
}

.delete-icon {
    font-size: 64px;
    margin-bottom: 1rem;
}

.delete-title {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    color: var(--green-dark);
    margin-bottom: 1.5rem;
}

.delete-warning {
    background: linear-gradient(135deg, #fff3e0, #ffe8cc);
    border-right: 4px solid var(--gold);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.warning-icon {
    font-size: 24px;
}

.delete-warning p {
    color: #b45309;
    font-weight: 600;
    margin: 0;
}

.delete-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-box, .steps-box, .contact-box, .confirm-box {
    background: var(--white);
    border-radius: 24px;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(201,168,76,0.12);
}

.info-box h3, .steps-box h3, .contact-box h3, .confirm-box h3 {
    font-size: 1.2rem;
    color: var(--green);
    margin-bottom: 1rem;
    font-weight: 800;
}

.info-box ul, .contact-box ul {
    margin: 0.5rem 0 0 1.2rem;
    padding-right: 1.2rem;
}

.info-box li, .contact-box li {
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0.8rem;
    background: var(--cream);
    border-radius: 16px;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.step-text {
    color: var(--text-mid);
    line-height: 1.5;
}

.confirm-box {
    background: #fff5f5;
    border-color: #feb2b2;
}

.confirm-box h3 {
    color: #c53030;
}

.note {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e2e8f0;
}

.delete-footer {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   Contact Page Styling
   ======================================== */
.contact-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-title {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: var(--text-mid);
    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(201,168,76,0.12);
    transition: var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 40px;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.1rem;
    color: var(--green);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.info-card p {
    color: var(--text-mid);
    margin-bottom: 0.25rem;
}

.info-card p a {
    color: var(--green);
    text-decoration: none;
}

.info-card small {
    color: var(--text-light);
    font-size: 0.75rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 0.5rem;
}

.social-link {
    display: inline-block;
    padding: 6px 12px;
    background: var(--cream);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-mid);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--gold);
    color: var(--green-dark);
}

.contact-form {
    background: var(--white);
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid rgba(201,168,76,0.12);
}

.contact-form h3 {
    font-size: 1.3rem;
    color: var(--green-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-mid);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: var(--cream);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}

textarea.form-control {
    resize: vertical;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .delete-title, .contact-title {
        font-size: 1.8rem;
    }

    .delete-warning {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .delete-account-page, .contact-page {
        padding: 100px 0 40px;
    }

    .info-box, .steps-box, .contact-box, .confirm-box {
        padding: 1.2rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 1.2rem;
    }
}

[dir="rtl"] .info-box ul,
[dir="rtl"] .contact-box ul {
    margin: 0.5rem 1.2rem 0 0;
    padding-right: 1.2rem;
    padding-left: 0;
}

[dir="rtl"] .step-item {
    flex-direction: row;
}

@media (max-width: 640px) {
    [dir="rtl"] .step-item {
        flex-direction: column;
    }
}
