/* ===== الإعدادات الأساسية ===== */
:root {
    --primary-color: #6a3de8;
    --secondary-color: #4ecdc4;
    --accent-color: #ff6b6b;
    --dark-bg: #1a1a2e;
    --dark-bg-2: #16213e;
    --light-text: #ffffff;
    --gray-text: #cccccc;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(106, 61, 232, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== أزرار ===== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}




.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(106, 61, 232, 0.3);
}

.btn-primary:hover {
    background-color: #5a2dd8;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 61, 232, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #333;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 14px;
    background-color: var(--secondary-color);
    color: #333;
}

.btn-sm:hover {
    background-color: #3dbdb5;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== القسم الرئيسي (Hero Section) ===== */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
    color: var(--light-text);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.navbar {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

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

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding-top: 100px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray-text);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
}

.network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ===== العناوين الرئيسية للأقسام ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-line {
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

/* ===== قسم من نحن ===== */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(106, 61, 232, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 20px;
}

.feature-text {
    font-size: 18px;
    line-height: 1.5;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 50px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #666;
}

/* ===== قسم التحديات ===== */
.challenges {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.challenges-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.challenges-text {
    flex: 1;
}

.challenges-image {
    flex: 1;
}

.challenges-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.challenge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.challenge-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    color: var(--accent-color);
    flex-shrink: 0;
    font-size: 20px;
}

.challenge-content {
    flex: 1;
}

.challenge-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

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

/* ===== قسم الحل ===== */
.solution {
    padding: 100px 0;
    background-color: #fff;
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.solution-text {
    flex: 1;
}

.solution-image {
    flex: 1;
}

.solution-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-intro {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(106, 61, 232, 0.05);
    border-radius: 10px;
    border-right: 4px solid var(--primary-color);
}

.solution-features {
    margin-top: 30px;
}

/* ===== قسم الخدمات ===== */
.services {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.service-card {
    width: 150px;
    background-color: #fff;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-size: 30px;
}

.whatsapp-icon {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.facebook-icon {
    background-color: rgba(66, 103, 178, 0.1);
    color: #4267B2;
}

.instagram-icon {
    background-color: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

.telegram-icon {
    background-color: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.sms-icon {
    background-color: rgba(78, 205, 196, 0.1);
    color: var(--secondary-color);
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-description {
    font-size: 14px;
    color: #666;
}

.services-image {
    text-align: center;
    margin-top: 30px;
}

.services-image img {
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== قسم الأدوات ===== */
.tools {
    padding: 100px 0;
    background-color: #fff;
}

.tools-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.tools-text {
    flex: 1;
}

.tools-image {
    flex: 1;
}

.tools-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tools-intro {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.tool-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tool-item:hover {
    transform: translateY(-3px);
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(78, 205, 196, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.tool-content {
    flex: 1;
}

.tool-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.tool-description {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.fb-tools .tools-content {
    flex-direction: row-reverse;
}

/* ===== قسم المميزات ===== */
.features {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

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

.chart-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ===== قسم الأسعار ===== */
.pricing {
    padding: 100px 0;
    background-color: #fff;
}

.pricing-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
}

.pricing-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.pricing-table tr:nth-child(odd) td {
    background-color: #f9f9f9;
}

.pricing-table tr:nth-child(even) td {
    background-color: #fff;
}

.pricing-table tr:hover td {
    background-color: rgba(106, 61, 232, 0.05);
}

.price-highlight {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 20px;
}

.notes-container {
    margin-top: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    border-right: 4px solid var(--secondary-color);
    margin-bottom: 30px;
}

.notes-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.note-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.note-icon {
    color: var(--accent-color);
    margin-left: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

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

.package-features {
    margin-top: 30px;
}

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

.feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-row .feature-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(78, 205, 196, 0.1);
    color: var(--secondary-color);
    margin-left: 10px;
    font-size: 14px;
}

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

/* ===== قسم التجربة المجانية ===== */
.trial {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.trial-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.trial-info {
    flex: 1;
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.trial-info .logo-container {
    margin-bottom: 20px;
}

.trial-info .logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.trial-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.trial-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(106, 61, 232, 0.1);
}

/* ===== قسم الاتصال ===== */
.contact {
    padding: 100px 0;
    background-color: #fff;
}

.contact-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateY(-5px);
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(78, 205, 196, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.contact-text a:hover {
    color: var(--primary-color);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
    color: var(--light-text);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 100px;
    margin-bottom: 15px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--gray-text);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--gray-text);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== زر العودة للأعلى ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #5a2dd8;
    transform: translateY(-5px);
}

/* ===== تجاوب الموقع (Responsive) ===== */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-text {
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content,
    .challenges-content,
    .solution-content,
    .tools-content {
        flex-direction: column;
    }
    
    .fb-tools .tools-content {
        flex-direction: column;
    }
    
    .trial-content {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-item {
        width: 100%;
    }
}
