* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #fafcf9;
    color: #1e293b;
    line-height: 1.6;
}

/* شريط التنقل البسيط */
.navbar {
    background-color: #ffffff;
    padding: 1rem 5%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 500;
}

.nav-links a {
    text-decoration: none;
    color: #1e293b;
    font-size: larger;
    font-weight: 700;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e53e3e;
}

.cta-nav {
    background-color: #0f2b4b;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.cta-nav:hover {
    background-color: #e53e3e;
}

.navbar-social {
    display: flex;
    gap: 1rem;
}

.navbar-social a {
    color: #64748b;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.navbar-social a:hover {
    color: #e53e3e;
}

.announcement-bar {
    background: #1e293b;
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 3px solid #e53e3e;
    font-weight: 700;
    direction: ltr;
}

.announcement-track {
    display: inline-block;
    padding: 0.7rem 0;
    animation: marquee 35s linear infinite;
}

.announcement-track span {
    margin-right: 3rem;
}

@keyframes marquee {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #1e293b;
    transition: 0.3s;
    border-radius: 2px;
}

.navbar-social-mobile {
    display: none;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
}

/* الحاوية الرئيسية */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* القسم الرئيسي Hero */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    line-height: 1.3;
    font-family: 'Tajawal', sans-serif;
}

.hero h1 i {
    color: #fbbf24;
    margin-left: 10px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fbbf24;
}

.hero-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-intro h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    line-height: 1.3;
    font-family: 'Tajawal', sans-serif;
}

.hero-intro h1 i {
    color: #fbbf24;
    margin-left: 10px;
}

.hero-intro h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-intro p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* الأقسام العامة */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: #0f2b4b;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #e53e3e;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* قسم الفيديو */
.video-section {
    background-color: #000;
    padding: 8rem 0;
    position: relative;
    color: #ffffff;
}

.video-section .container {
    position: relative;
    z-index: 1;
}

.video-container {
    text-align: center;
    margin: 0;
    max-width: 100%;
    margin-inline: auto;
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.slide {
    display: none;
    width: 100%;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.slide-caption {
    display: none;
}

.slider-nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: 2px solid rgba(255,255,255,0.95);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.dot.active {
    background: #e53e3e;
    transform: scale(1.2);
}

/* من نحن (المزايا السريعة) - قديم */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card i {
    font-size: 3rem;
    color: #e53e3e;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0f2b4b;
}

/* قسم من نحن الجديد */
.about-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 2rem;
}

.about-text {
    flex: 1;
}

.about-subtitle {
    font-size: 2rem;
    color: #0f2b4b;
    margin-bottom: 1.5rem;
    font-weight: 900;
    position: relative;
    padding-right: 1rem;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: #e53e3e;
    border-radius: 2px;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.2rem;
}

.about-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-badge {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 1rem 1.5rem;
    border-radius: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    border: 1px solid #e2e8f0;
}

.stat-badge-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #e53e3e;
    line-height: 1.2;
}

.stat-badge-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.about-images {
    flex: 1;
}

.images-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-img:hover {
    transform: scale(1.05);
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.thumb-img {
    width: calc(33.333% - 0.67rem);
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
}

.thumb-img:hover {
    transform: translateY(-5px);
    border-color: #e53e3e;
}

/* شبكة الخدمات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #eef2f6;
    text-align: center;
    transition: all 0.3s;
}

.service-item:hover {
    border-color: #e53e3e;
    box-shadow: 0 15px 30px rgba(229, 62, 62, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: #e53e3e;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #0f2b4b;
}

/* لماذا نحن - بطاقات */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-bottom: 4px solid #e53e3e;
}

.feature-card i {
    font-size: 2.5rem;
    color: #0f2b4b;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* من نستهدف (جمهور) */
.audience-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.audience-tag {
    background: white;
    padding: 1rem 2rem;
    border-radius: 60px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2e8f0;
}

.audience-tag i {
    color: #e53e3e;
}

/* خطوات العمل (القديم) */
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 3rem 0;
    position: relative;
}

.step {
    flex: 1 1 180px;
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 30px;
    margin: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

/* دعوة نهائية CTA */
.cta-section {
    background: linear-gradient(135deg, #0f2b4b, #1e3a5f);
    color: white;
    padding: 4rem 0;
    border-radius: 50px 50px 0 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: #2cb115;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 60px;
    text-decoration: none;
    margin: 2rem 0 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(62, 229, 87, 0.4);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(229, 62, 62, 0.6);
}

.small-note {
    opacity: 0.8;
}

/* تذييل */
.footer {
    background: #0a1a2f;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer a {
    color: #fbbf24;
    text-decoration: none;
}

.footer .social {
    margin-top: 1rem;
}

.footer .social i {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #94a3b8;
    transition: color 0.3s;
}

.footer .social i:hover {
    color: #e53e3e;
}

/* تصميم قسم الخطوات الرئيسي (موحد) */
.steps-main-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: white;
    border-radius: 30px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #104b85;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    text-align: center;
    flex-direction: column;
}

.step-card:hover {
    border-color: #e53e3e;
    box-shadow: 0 15px 40px rgba(229, 62, 62, 0.1);
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #0f2b4b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 2.5rem;
    color: #e53e3e;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.4rem;
    color: #0f2b4b;
    margin-bottom: 1rem;
    font-weight: 900;
}

.step-card p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* تنسيقات قسم الدفع QR والنسخ */
.qr-payment-container {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1rem 0.8rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.qr-payment-image {
    background: white;
    padding: 0.4rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.8rem;
}

.wallet-card {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 0.7rem;
    width: 100%;
    border: 1px solid #e2edf2;
    margin: 0.5rem 0 0.3rem;
}

.wallet-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    padding-right: 0.2rem;
}

.wallet-label i {
    color: #0f2b4b;
    font-size: 0.85rem;
}

.wallet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 0.7rem;
    border-radius: 0.9rem;
    border: 1px solid #e2edf2;
}

.wallet-number {
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    direction: ltr;
    text-align: left;
    word-break: break-all;
    flex: 1;
    letter-spacing: 0.3px;
}

.copy-wallet-btn {
    background: #0f2b4b;
    border: none;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    font-family: 'Tajawal', sans-serif;
    white-space: nowrap;
}

.copy-wallet-btn:hover {
    background: #1e4a6e;
    transform: translateY(-1px);
}

.copy-wallet-btn:active {
    transform: translateY(1px);
}

.qr-hint {
    font-size: 0.65rem;
    color: #475569;
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* رسالة منبثقة للنسخ (toast) - يمكن إضافتها في الصفحة */
.toast-copy-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #0f2b4bdd;
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    font-family: 'Tajawal', sans-serif;
    white-space: nowrap;
    pointer-events: none;
}

.toast-copy-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 640px) {
    .qr-payment-image {
        width: 120px;
        height: 120px;
    }
    .wallet-number {
        font-size: 0.65rem;
    }
    .copy-wallet-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.65rem;
    }
}

/* تنسيق الحاسبة داخل الخطوة */
.calculator-inline {
    margin-top: 0.5rem;
    flex: 1;
}

.calculator-inline .input-group {
    margin-bottom: 1rem;
}

.calculator-inline .input-group label {
    display: block;
    font-weight: 700;
    color: #0f2b4b;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.calculator-inline .input-group label i {
    color: #e53e3e;
    margin-left: 0.3rem;
}

.calculator-select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    background-color: #f8fafc;
    cursor: pointer;
    transition: all 0.3s;
}

.calculator-select:hover {
    border-color: #e53e3e;
}

.price-result {
    background: linear-gradient(135deg, #0f2b4b, #1e3a5f);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
}

.price-label {
    font-size: 1rem;
    opacity: 0.9;
}

.price-amount {
    font-size: 2rem;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1;
}

.price-note-small {
    font-size: 0.85rem;
    color: #e53e3e;
    text-align: center;
    background: #fef2f2;
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid #fee2e2;
}

/* تنسيق QR */
.qr-placeholder {
    margin: 1rem auto;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 15px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border: 2px dashed #cbd5e1;
    width: 100%;
}

/* زر التواصل */
.step-contact-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1rem;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
}

.step-contact-btn:hover {
    transform: scale(1.02);
    background: #128C7E;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 992px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
    
    .navbar-social {
        display: none;
    }
    
    .logo {
        order: 1;
        height: 60px;
    }
    
    .burger-menu {
        order: 2;
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 15px rgba(0,0,0,0.05);
        z-index: 99;
    }
    
    .nav-links.active a {
        padding: 0.5rem 1rem;
        text-align: center;
    }
    
    .navbar-social-mobile {
        display: flex;
    }
    
    .hero-video {
        object-position: 72%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-wrapper {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    
    .thumbnail-images {
        justify-content: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .about-subtitle::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .about-subtitle {
        text-align: center;
        padding-right: 0;
    }
}