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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    direction: rtl;
    text-align: right;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #333;
}

h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: #333;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Buttons */
.btn-primary,
.btn-primary-glow,
.btn-primary-large,
.btn-cta-small {
    display: inline-block;
    background: linear-gradient(135deg, #f57c00, #ff9800);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 48px;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.btn-primary:hover,
.btn-primary-glow:hover,
.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 124, 0, 0.4);
}

.btn-primary:active,
.btn-primary-glow:active,
.btn-primary-large:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.btn-primary:focus,
.btn-primary-glow:focus,
.btn-primary-large:focus {
    outline: 2px solid #f57c00;
    outline-offset: 2px;
}

.btn-primary-glow {
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from {
        box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
    }
    to {
        box-shadow: 0 8px 30px rgba(245, 124, 0, 0.6);
    }
}

.btn-primary-large {
    font-size: 20px;
    padding: 20px 40px;
}

.btn-cta-small {
    font-size: 14px;
    padding: 10px 20px;
    min-height: 40px;
}

.btn-ghost {
    background: transparent;
    color: #f57c00;
    border: 2px solid #f57c00;
    padding: 13px 28px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-height: 48px;
}

.btn-ghost:hover {
    background: #f57c00;
    color: white;
    transform: translateY(-1px);
}

/* Header */
.header-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-sticky nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

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

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

.verified-badge {
    background: #4caf50;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}

.currency-switcher {
    background: #f9fafc;
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.currency-switcher:hover {
    background: #f0f0f0;
}

.currency-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 120px;
    z-index: 1001;
}

.currency-dropdown.show {
    display: block;
}

.currency-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.currency-option:hover {
    background: #f9fafc;
}

.currency-option:first-child {
    border-radius: 8px 8px 0 0;
}

.currency-option:last-child {
    border-radius: 0 0 8px 8px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

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

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

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #333, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.countdown-badge {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 15px 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.countdown-timer {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
}

.rotating-message {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

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

.support-line {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.trust-points {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: #4caf50;
    font-weight: 500;
}

.hero-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offer-preview {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.offer-preview:hover {
    transform: scale(1.05);
}

/* Audience Section */
.audience {
    padding: 80px 0;
    background: #f9fafc;
}

.audience h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.audience-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #f57c00;
}

/* Offers Section */
.offers {
    padding: 80px 0;
    background: white;
}

.offers h2 {
    text-align: center;
    margin-bottom: 60px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.offer-card {
    background: #f9fafc;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
    border: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #f57c00;
}

.offer-card.best-value {
    border-color: #4caf50;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.2);
}

.offer-card.most-popular {
    border-color: #f57c00;
    box-shadow: 0 8px 30px rgba(245, 124, 0, 0.2);
    transform: scale(1.05);
}

.offer-card.instant {
    border-color: #2196f3;
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.2);
}

.offer-ribbon {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.offer-card.most-popular .offer-ribbon {
    background: linear-gradient(135deg, #f57c00, #ff9800);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.offer-card.instant .offer-ribbon {
    background: linear-gradient(135deg, #2196f3, #42a5f5);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.instant-tag {
    background: linear-gradient(135deg, #2196f3, #42a5f5) !important;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3) !important;
}

.offer-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.offer-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.price-section {
    margin-bottom: 30px;
}

.old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

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

.features-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: right;
}

.features-list li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-right: 25px;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #4caf50;
    font-weight: bold;
}

.offer-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offer-cta {
    width: 100%;
    text-align: center;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: #f9fafc;
}

.why-us h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

.trust-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #4caf50;
}

.trust-icon {
    font-size: 32px;
    min-width: 50px;
}

.trust-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f57c00, #ff9800);
    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(245, 124, 0, 0.3);
}

.step-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

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

.features h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #f57c00;
}

.feature-icon {
    font-size: 32px;
    min-width: 50px;
}

.feature-text {
    font-size: 16px;
    color: #333;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

.testimonial {
    background: #f9fafc;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #4caf50;
}

.testimonial-text {
    font-size: 18px;
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Payment Trust Section */
.payment-trust {
    padding: 40px 0;
    background: #f9fafc;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.payment-method {
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.payment-guarantee {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background: #f9fafc;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    border-color: #f57c00;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f57c00, #ff9800);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 15px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.sticky-info {
    display: flex;
    flex-direction: column;
}

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

.sticky-price {
    font-size: 16px;
    font-weight: 700;
    color: #f57c00;
}

.mobile-sticky-cta .btn-primary {
    padding: 12px 24px;
    font-size: 16px;
    min-height: 44px;
}

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

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

.modal {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
}

.modal-content {
    padding: 30px;
}

.modal-offers {
    display: grid;
    gap: 20px;
}

.modal-offer {
    background: #f9fafc;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.modal-offer:hover {
    border-color: #f57c00;
    transform: translateY(-2px);
}

.modal-offer.popular {
    border-color: #f57c00;
    background: linear-gradient(135deg, #fff8f0, #f9fafc);
}

.modal-offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #f57c00, #ff9800);
    color: white;
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.modal-offer-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.modal-offer-price {
    font-size: 24px;
    font-weight: 700;
    color: #f57c00;
    margin-bottom: 20px;
}

.modal-offer-cta {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 16px;
}

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

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

.footer-brand .brand-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.footer-description {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-contact .contact-item {
    margin-bottom: 10px;
}

.contact-label {
    font-weight: 600;
    margin-left: 10px;
}

.contact-link {
    color: #f57c00;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav-links,
    .nav-actions .btn-cta-small {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .trust-points {
        flex-direction: column;
        gap: 10px;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .offer-card.most-popular {
        transform: none;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid,
    .features-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .mobile-sticky-cta {
        display: flex;
    }
    
    body {
        padding-bottom: 80px;
    }
    
    .final-cta h2 {
        font-size: 1.8rem;
    }
    
    .modal {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .modal-header,
    .modal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .countdown-timer {
        font-size: 20px;
    }
    
    .btn-primary,
    .btn-primary-glow,
    .btn-primary-large {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .price {
        font-size: 28px;
    }
    
    .trust-item,
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .final-cta h2 {
        font-size: 1.5rem;
    }
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .offer-preview:hover,
    .audience-card:hover,
    .offer-card:hover,
    .trust-item:hover,
    .feature-item:hover,
    .testimonial:hover,
    .faq-item:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-primary-glow,
    .btn-primary-large {
        border: 2px solid #000;
    }
    
    .offer-card,
    .trust-item,
    .feature-item,
    .testimonial,
    .faq-item {
        border: 2px solid #000;
    }
}