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

body {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

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

h1 {
    font-size: clamp(28px, 5vw, 48px);
    color: #333;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    color: #333;
}

h3 {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 600;
    color: #333;
}

p {
    font-size: 16px;
    font-weight: 400;
    color: #555;
    margin-bottom: 16px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    z-index: 1000;
}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: #f57c00;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f57c00;
}

.cta-pill {
    background: linear-gradient(135deg, #f57c00, #ff9800);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.cta-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.countdown-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.countdown-timer {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.9;
}

.hero-title {
    margin-bottom: 24px;
    background: linear-gradient(135deg, #333, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero-cta {
    margin-bottom: 32px;
}

.cta-subtext {
    font-size: 14px;
    color: #888;
    margin-top: 8px;
    text-align: center;
}

.quick-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.benefit {
    font-weight: 600;
}

.separator {
    color: #ccc;
    margin: 0 4px;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #f57c00, #ff9800);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 124, 0, 0.3);
}

.btn-primary:focus {
    outline: 3px solid rgba(245, 124, 0, 0.5);
    outline-offset: 2px;
}

.btn-primary.glow {
    box-shadow: 0 0 30px rgba(245, 124, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(245, 124, 0, 0.5); }
    to { box-shadow: 0 0 40px rgba(245, 124, 0, 0.8); }
}

.btn-primary.mega {
    font-size: 20px;
    padding: 20px 40px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
}

.btn-secondary {
    background: transparent;
    color: #f57c00;
    border: 2px solid #f57c00;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.btn-secondary:hover {
    background: #f57c00;
    color: white;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
    color: #333;
}

/* Audience Section */
.audience {
    background: #f9fafc;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.audience-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.audience-card h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 18px;
}

.audience-card p {
    color: #666;
    font-size: 14px;
}

/* Features Section */
.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-item h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 18px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.features-image {
    text-align: center;
}

.features-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits {
    background: #f9fafc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 18px;
}

.benefit-card p {
    color: #666;
    font-size: 14px;
}

/* How it Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.step-card h3 {
    margin-bottom: 12px;
    color: #333;
}

.step-card p {
    color: #666;
    font-size: 14px;
}

/* Testimonials */
.testimonials {
    background: #f9fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.stars {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 16px;
    color: #333;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 14px;
    color: #888;
    font-weight: 600;
}

/* Pricing */
.pricing {
    background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
}

.pricing-header {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-subtitle {
    font-size: 18px;
    color: #f57c00;
    font-weight: 600;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 32px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.price-display {
    margin-bottom: 32px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #f57c00;
    display: block;
}

.price-period {
    font-size: 16px;
    color: #666;
    margin-top: 8px;
}

.currency-info {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.currency-switch {
    font-size: 12px;
    color: #f57c00;
    text-decoration: none;
    border: 1px solid #f57c00;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.currency-switch:hover {
    background: #f57c00;
    color: white;
}

.pricing-features {
    text-align: right;
    margin-bottom: 32px;
}

.feature {
    padding: 8px 0;
    color: #333;
    font-weight: 500;
}

.trust-elements {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.security-icons {
    font-size: 24px;
    margin-bottom: 12px;
}

.guarantee-text, .support-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.policy-link {
    font-size: 12px;
    color: #f57c00;
    text-decoration: none;
}

/* FAQ */
.faq {
    background: #f9fafc;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: right;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f9fafc;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
    padding: 0 24px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    margin: 0;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #333, #555);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
    margin-bottom: 16px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 32px;
}

.final-guarantee {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 16px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f57c00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin: 0;
}

/* Mobile CTA Bar */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #eee;
    padding: 16px 20px;
    z-index: 999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mobile-cta-text {
    flex: 1;
}

.mobile-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.mobile-price {
    font-size: 18px;
    font-weight: 700;
    color: #f57c00;
}

.mobile-cta-btn {
    background: linear-gradient(135deg, #f57c00, #ff9800);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Currency Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 0 24px 24px;
}

.currency-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafc;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
    width: 100%;
}

.currency-option:hover {
    background: #f57c00;
    color: white;
    border-color: #f57c00;
}

.currency-flag {
    font-size: 24px;
}

.currency-text {
    font-weight: 600;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .features-text {
        order: 2;
    }
    
    .features-image {
        order: 1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .mobile-cta-bar {
        display: block;
    }
    
    body {
        padding-bottom: 80px;
    }
    
    .quick-benefits {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-primary {
        font-size: 16px;
        padding: 14px 24px;
    }
    
    .btn-primary.mega {
        font-size: 18px;
        padding: 18px 32px;
    }
    
    .audience-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .countdown-badge,
    .btn-primary.glow {
        animation: none;
    }
    
    .spinner {
        animation-duration: 2s;
    }
    
    * {
        transition-duration: 0.1s !important;
    }
}

/* Focus States */
button:focus,
a:focus {
    outline: 3px solid rgba(245, 124, 0, 0.5);
    outline-offset: 2px;
}

/* Loading States */
.btn-primary.loading .btn-text {
    opacity: 0.7;
}

.btn-primary.loading .spinner {
    display: inline-block;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Currency Badge */
#currencyBadge {
    background: #4caf50;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}