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

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 25%, #111827 50%, #1F2937 75%, #0F172A 100%);
    background-attachment: fixed;
    color: #FFFFFF;
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FBBF24, #F59E0B, #EAB308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.875rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #60A5FA, #3B82F6, #2563EB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #FDE047;
}

p {
    color: #E5E7EB;
    margin-bottom: 1rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #DC2626, #B91C1C, #991B1B);
    color: #FFFFFF;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
    background: linear-gradient(135deg, #EF4444, #DC2626, #B91C1C);
}

/* Hero Section */
.hero {
    padding: 30px 0;
    text-align: center;
    background: linear-gradient(135deg, #1E293B 0%, #334155 25%, #475569 50%, #1E293B 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(239, 68, 68, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FBBF24, #F59E0B, #EAB308, #FDE047);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

/* Logo Styling */
.logo-container {
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.header-logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4));
}

.hero-subtitle {
    font-size: 1.375rem;
    color: #F3F4F6;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Urgency Section */
.urgency {
    background: linear-gradient(135deg, #DC2626, #B91C1C, #991B1B);
    padding: 24px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.urgency::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.urgency-text {
    color: #FEF3C7;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

/* Why Join Section */
.why-join {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #111827 100%);
}

.section-title {
    text-align: center;
    background: linear-gradient(135deg, #60A5FA, #3B82F6, #2563EB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.375rem;
    color: #F3F4F6;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.feature {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6, #EC4899, #EF4444);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover::before {
    opacity: 1;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.feature p {
    font-size: 1.125rem;
    color: #F3F4F6;
    margin: 0;
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 25%, #4C1D95 50%, #3730A3 75%, #1E1B4B 100%);
    padding: 100px 0;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-10px);
}

.step-number {
    background: linear-gradient(135deg, #F59E0B, #EAB308, #FDE047);
    color: #1F2937;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.step p {
    font-size: 1.25rem;
    color: #F3F4F6;
    margin: 0;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #065F46 0%, #047857 25%, #059669 50%, #10B981 75%, #34D399 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    border-right: 6px solid #FDE047;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial p {
    font-size: 1.25rem;
    color: #F3F4F6;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 500;
}

.testimonial cite {
    color: #FDE047;
    font-style: normal;
    font-weight: 700;
    font-size: 1.125rem;
}

/* FAQ Section */
.faq {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 25%, #3730A3 50%, #1E40AF 75%, #1E3A8A 100%);
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.faq-question {
    color: #FDE047;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.faq-answer {
    color: #F3F4F6;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 25%, #991B1B 50%, #7F1D1D 75%, #450A0A 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 40% 40%, rgba(251, 191, 36, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 60% 60%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.cta-title {
    color: #FFFFFF;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 2.25rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 60px 0;
    text-align: center;
    border-top: 3px solid #3B82F6;
}

.legal-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-link {
    color: #60A5FA;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(96, 165, 250, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.legal-link:hover {
    color: #FFFFFF;
    background: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.legal-separator {
    color: #6B7280;
    font-weight: 300;
    font-size: 1.125rem;
}

.disclaimer {
    color: #D1D5DB;
    font-size: 1rem;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* Dollar Amount Styling */
.dollar-amount {
    background: linear-gradient(135deg, #10B981, #34D399, #6EE7B7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    display: inline-block;
}

/* Free Now Styling */
.free-now {
    background: linear-gradient(135deg, #EF4444, #F97316, #EAB308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    display: inline-block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .legal-separator {
        display: none;
    }
    
    .legal-link {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .header-logo {
        max-width: 250px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .cta-button {
        padding: 16px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .step p {
        text-align: center;
    }
    
    .why-join, .how-it-works, .testimonials, .faq, .final-cta {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .header-logo {
        max-width: 250px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.625rem;
    }
    
    .feature, .testimonial, .faq-item {
        padding: 2rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial {
        min-width: unset;
    }
}

/* Desktop Enhancements */
@media (min-width: 1024px) {
    .steps {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
    }
    
    .step {
        flex: 1;
        flex-direction: column;
        text-align: center;
        max-width: 350px;
        margin: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .hero {
        padding: 40px 0;
    }
    
    .why-join, .how-it-works, .testimonials, .faq, .final-cta {
        padding: 120px 0;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
}