* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alef', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #F5F5F7;
    direction: rtl;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 24px 16px;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 20px;
    }
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: #6366f1;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    width: 100%;
    max-width: 320px;
}

/* Desktop */
@media (min-width: 768px) {
    .hero-title {
        font-size: 64px;
        letter-spacing: -2px;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .cta-button {
        padding: 18px 48px;
        font-size: 20px;
        width: auto;
    }
}

.cta-button:hover {
    background: #818cf8;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

/* Features Section */
.features {
    padding: 60px 0;
    background: #F5F5F7;
}

@media (min-width: 768px) {
    .features {
        padding: 80px 0;
    }
}

.features-intro {
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    max-width: 800px;
    margin: 0 auto 32px;
    padding: 0 4px;
}

@media (min-width: 768px) {
    .features-intro {
        font-size: 19px;
        margin-bottom: 60px;
        padding: 0 20px;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.feature-box {
    text-align: center;
    padding: 32px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .feature-box {
        padding: 40px 20px;
    }
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .feature-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .feature-box h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }
}

.feature-box p {
    color: #6a6a6a;
    font-size: 15px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .feature-box p {
        font-size: 16px;
    }
}

/* Services Section */
.services {
    padding: 60px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: #1a1a1a;
}

.section-description {
    text-align: center;
    font-size: 16px;
    color: #6a6a6a;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .services {
        padding: 100px 0;
    }

    .section-title {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .section-description {
        font-size: 18px;
        margin-bottom: 60px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.service-card {
    background: #F5F5F7;
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .service-card {
        padding: 48px;
    }
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #6366f1;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.service-icon {
    font-size: 44px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .service-icon {
        font-size: 56px;
        margin-bottom: 24px;
    }
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .service-card h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }
}

.service-card > p {
    color: #6a6a6a;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .service-card > p {
        font-size: 18px;
        margin-bottom: 24px;
    }
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 10px 0;
    color: #1a1a1a;
    font-size: 15px;
    border-bottom: 1px solid #e0e0e0;
}

@media (min-width: 768px) {
    .service-list li {
        padding: 12px 0;
        font-size: 16px;
    }
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: "✓ ";
    color: #6366f1;
    font-weight: bold;
    margin-left: 8px;
}

/* Stats Section */
.stats {
    padding: 50px 0;
    background: #F5F5F7;
}

@media (min-width: 768px) {
    .stats {
        padding: 80px 0;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 48px;
        margin-bottom: 8px;
    }
}

.stat-label {
    font-size: 14px;
    color: #a0a0a0;
    font-weight: 500;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 16px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: #F5F5F7;
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

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

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: #6a6a6a;
}

/* Desktop */
@media (min-width: 768px) {
    .testimonials {
        padding: 100px 0;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .testimonial-card {
        padding: 40px 32px;
    }

    .testimonial-text {
        font-size: 17px;
    }

    .author-avatar {
        width: 56px;
        height: 56px;
        font-size: 26px;
    }

    .author-name {
        font-size: 17px;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: #F5F5F7;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 120px 0;
    }
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: #1a1a1a;
}

.cta-text {
    font-size: 16px;
    color: #6a6a6a;
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-form {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .cta-text {
        font-size: 20px;
        margin-bottom: 48px;
    }

    .contact-form {
        padding: 48px;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: #F5F5F7;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.contact-form textarea {
    margin-top: 16px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #6366f1;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 16px;
}

.submit-btn:hover {
    background: #818cf8;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 60px 0 30px;
    border-top: 1px solid #2a2a2a;
}

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

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 700;
    color: #ffffff;
}

.footer-col p {
    color: #a0a0a0;
    font-size: 15px;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a2a2a;
}

.footer-bottom p {
    color: #6a6a6a;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .cta-title {
        font-size: 36px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 32px;
    }

    .contact-form {
        padding: 32px 24px;
    }
}
