:root {
    --gradient-start: #6B46C1;
    --gradient-end: #3B82F6;
    --primary: #8B5CF6;
    --white: #FFFFFF;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    min-height: 100vh;
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.hero-features i {
    color: var(--white);
    font-size: 1.25rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        display: inline-block;
        text-align: right;
    }

    .hero-cta {
        justify-content: center;
    }
}

.services {
    padding: 80px 0;
    background: #F8FAFC;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.step-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.step-icon i {
    font-size: 32px;
    color: #fff;
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--gradient-start);
    margin-bottom: 15px;
}

.step-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--gradient-start);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(107, 70, 193, 0.3);
}

.step-arrow {
    color: var(--white);
    font-size: 24px;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
    }

    .step-card {
        width: 100%;
        max-width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.services .section-header h2 {
    color: var(--gradient-start);
}

.services .section-header p {
    color: #666;
}

.why-choose-us {
    padding: 80px 0;
    background: var(--white);
}

.why-choose-us .section-header h2 {
    color: var(--gradient-start);
}

.why-choose-us .section-header p {
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 28px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    color: var(--gradient-start);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(107, 70, 193, 0.05);
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    background: rgba(107, 70, 193, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--white);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.download-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.download-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature-item i {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 0.8rem;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: block;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-5px);
}

.download-btn img {
    height: 60px;
    width: auto;
}

.download-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design for Download and Footer */
@media (max-width: 768px) {
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .download-text h2 {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 32px;
}

.service-icon.blue { 
    background: #EBF5FF;
    color: #2196F3;
}

.service-icon.mint { 
    background: #E6FFF6;
    color: #00BFA6;
}

.service-icon.pink { 
    background: #FFE6E9;
    color: #FF4081;
}

.service-icon.purple { 
    background: #F3E6FF;
    color: #9C27B0;
}

.service-icon.yellow { 
    background: #FFF6E6;
    color: #FFA000;
}

.service-icon.lavender { 
    background: #EDE7F6;
    color: #673AB7;
}

.service-card h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: var(--white);
}

.screenshots .section-header h2 {
    color: var(--gradient-start);
}

.screenshots .section-header p {
    color: #666;
}

.app-screens {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
}

.phone-frame {
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.phone-frame:hover {
    transform: scale(1);
}

.screen {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.screen img {
    width: 260px;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;
}

.screen-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .app-screens {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .screen img {
        width: 240px;
    }

    .phone-frame {
        margin: 10px;
    }
}

@media (max-width: 768px) {
    .app-screens {
        flex-direction: column;
    }
}

.service-time {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-time i {
    color: #999;
}

.btn-service {
    background: #6B46C1;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background: #553C9A;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}