/* Ultra-Fast CSS - Optimized for Slow Internet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-white: #ffffff;
    --light-gray: #f8fafc;
    --border-gray: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
    background: var(--primary-white);
    color: var(--text-primary);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Hero Section - Simplified */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    text-align: center;
    padding: 2rem 0;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.logo {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-highlight {
    color: var(--accent-blue);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.cta-button.secondary {
    background: white;
    color: var(--text-primary);
    border-color: var(--border-gray);
}

.cta-button:hover {
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    border: 1px solid var(--border-gray);
    min-width: 100px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: var(--primary-white);
}

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

.service-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 20px;
    display: inline-block;
}

.quantity-input {
    margin-bottom: 1rem;
}

.quantity-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.quantity-input input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    text-align: center;
    font-family: inherit;
}

.quantity-input input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.total-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: var(--radius);
    border: 2px dashed var(--border-gray);
}

.add-to-order {
    background: var(--light-gray);
    color: var(--text-primary);
    border: 2px solid var(--border-gray);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
}

.add-to-order:hover {
    background: white;
    border-color: var(--accent-blue);
}

/* Order Summary */
.order-summary {
    padding: 4rem 0;
    background: var(--light-gray);
}

.order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.order-table-container {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
}

.order-table {
    width: 100%;
    border-collapse: collapse;
}

.order-table th,
.order-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid var(--border-gray);
}

.order-table th {
    background: var(--light-gray);
    font-weight: 700;
    color: var(--text-primary);
}

.empty-order td {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
}

.total-row {
    background: var(--accent-blue);
    color: white;
    font-weight: 700;
}

.remove-item {
    background: none;
    border: none;
    color: var(--accent-red);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem;
    border-radius: 4px;
}

.remove-item:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Order Form */
.order-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.payment-methods {
    display: flex;
    gap: 1rem;
}

.payment-method {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-gray);
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 600;
}

.payment-method:hover {
    border-color: var(--accent-blue);
}

.payment-method.selected {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.05);
}

.payment-icon {
    font-size: 1.2rem;
}

.submit-order {
    width: 100%;
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: inherit;
}

.submit-order:hover {
    opacity: 0.9;
}

.submit-order:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
    background: white;
}

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

.step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ */
.faq {
    padding: 4rem 0;
    background: var(--light-gray);
}

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

.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-arrow {
    color: var(--text-muted);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid var(--border-gray);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--light-gray);
    border: 1px solid var(--border-gray);
}

.social-link:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.social-link:hover svg {
    fill: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    opacity: 0.9;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    font-weight: 600;
    max-width: 300px;
}

.notification.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.notification.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Loading */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .order-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .order-form {
        padding: 1.5rem;
    }
    
    .order-table th,
    .order-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        left: 15px;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}