/* أنماط موقع المنصة العام - منصة دكاني */
:root {
    --platform-primary: #1e293b;
    --platform-secondary: #334155;
    --platform-accent: #475569;
    --platform-dark: #1e293b;
    --platform-light: #f4f5f7;
    --platform-success: #36b37e;
    --platform-warning: #ffab00;
    --platform-danger: #ff5630;
    --platform-text: #253858;
    --platform-text-light: #5e6c84;
    --platform-border: #dfe1e6;
    --platform-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --platform-shadow: 0 5px 20px rgba(30, 41, 59, 0.1);
    --platform-transition: all 0.3s ease;
}

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

body {
    font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: var(--platform-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.platform-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--platform-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

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

.platform-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--platform-primary);
    transition: var(--platform-transition);
}

.platform-logo:hover {
    transform: translateY(-2px);
}

.platform-logo-icon {
    width: 64px;
    height: 64px;
    background: var(--platform-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    transition: var(--platform-transition);
}

.platform-logo:hover .platform-logo-icon {
    animation: rotate360 1s ease;
}

@keyframes rotate360 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.platform-logo-text {
    font-size: 36px;
    font-weight: 700;
    color: var(--platform-primary);
    letter-spacing: 0.5px;
}

.platform-logo-subtitle {
    font-size: 14px;
    color: rgba(0, 102, 204, 0.7);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
.platform-nav {
    display: flex;
    gap: 20px;
}

.platform-nav-link {
    color: var(--platform-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--platform-transition);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-nav-link:hover {
    color: var(--platform-primary);
    background-color: rgba(0, 102, 204, 0.05);
    transform: translateY(-1px);
}

.platform-nav-link.active {
    color: var(--platform-primary);
    background-color: rgba(0, 102, 204, 0.1);
}

/* Hero Section */
.platform-hero {
    background: var(--platform-gradient);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.platform-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.platform-hero-title {
    font-size: 56px;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.platform-hero-subtitle {
    font-size: 24px;
    margin-bottom: 32px;
    font-weight: 600;
    opacity: 0.95;
    line-height: 1.4;
}

.platform-hero-description {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
}

/* CTA Buttons */
.platform-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--platform-transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    gap: 10px;
}

.platform-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.platform-btn:hover::before {
    left: 100%;
}

.platform-btn-primary {
    background-color: #ffdd00;
    color: var(--platform-primary);
    border: 2px solid #ffdd00;
}

.platform-btn-primary:hover {
    background-color: #ffe44d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.platform-btn-secondary {
    background-color: white;
    color: var(--platform-primary);
    border: 2px solid white;
}

.platform-btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Features Section */
.platform-section {
    padding: 100px 0;
    position: relative;
}

.platform-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.platform-section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.platform-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--platform-gradient);
    border-radius: 2px;
}

.platform-section-subtitle {
    font-size: 18px;
    color: var(--platform-text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.platform-feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--platform-shadow);
    transition: var(--platform-transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.1);
    text-align: center;
}

.platform-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.3);
}

.platform-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--platform-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.platform-feature-card:hover::before {
    transform: scaleX(1);
}

.platform-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--platform-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    transition: var(--platform-transition);
}

.platform-feature-card:hover .platform-feature-icon {
    transform: rotateY(180deg) scale(1.1);
}

.platform-feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--platform-primary);
}

.platform-feature-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--platform-text-light);
}

/* Stats Section */
.platform-stats {
    background: var(--platform-gradient);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}



.platform-stats-content {
    position: relative;
    z-index: 2;
}

.platform-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.platform-stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: var(--platform-transition);
}

.platform-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.platform-stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
    transition: var(--platform-transition);
}

.platform-stat-card:hover .platform-stat-icon {
    transform: scale(1.1) rotate(360deg);
}

.platform-stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.platform-stat-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Footer */
.platform-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #334155 100%);
    color: white;
    padding: 30px 0 15px;
}



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

.platform-footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.platform-footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--platform-secondary);
}

.platform-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.platform-footer-links li {
    margin-bottom: 12px;
}

.platform-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--platform-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-footer-links a:hover {
    color: white;
    transform: translateX(-5px);
}

.platform-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.platform-social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.platform-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--platform-transition);
}

.platform-social-link:hover {
    background: var(--platform-secondary);
    transform: translateY(-3px) scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .platform-hero-title {
        font-size: 36px;
    }
    
    .platform-hero-subtitle {
        font-size: 18px;
    }
    
    .platform-hero-description {
        font-size: 16px;
    }
    
    .platform-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .platform-section {
        padding: 60px 0;
    }
    
    .platform-section-title {
        font-size: 32px;
    }
    
    .platform-features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .platform-feature-card {
        padding: 30px;
    }
    
    .platform-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .platform-stat-card {
        padding: 30px 20px;
    }
    
    .platform-stat-number {
        font-size: 36px;
    }
    
    .platform-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .platform-hero {
        padding: 60px 0;
    }
    
    .platform-hero-title {
        font-size: 28px;
    }
    
    .platform-hero-subtitle {
        font-size: 16px;
    }
    
    .platform-section-title {
        font-size: 28px;
    }
    
    .platform-features-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-feature-card {
        padding: 25px;
    }
    
    .platform-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* أنماط مفقودة */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--platform-primary);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--platform-text-light);
    line-height: 1.7;
}

.text-primary {
    color: var(--platform-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--platform-shadow);
    transition: var(--platform-transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.1);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--platform-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin: 0 auto 24px;
    font-size: 48px;
    color: #1e293b;
    text-align: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg) scale(1.1);
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--platform-primary);
}

.feature-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--platform-text-light);
}

.hero-banner-bottom {
    background: var(--platform-gradient);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.stats-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: var(--platform-transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
    transition: var(--platform-transition);
}

.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.1) rotate(360deg);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--platform-shadow);
    transition: var(--platform-transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.3);
}

.testimonial-content {
    margin-bottom: 25px;
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    justify-content: center;
}

.stars i {
    color: #ffd700;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--platform-text);
    text-align: center;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--platform-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: var(--platform-transition);
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--platform-primary);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--platform-text-light);
    margin: 0;
}

.cta {
    background: var(--platform-gradient);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--platform-transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    gap: 10px;
}

.btn-light {
    background-color: #ffdd00;
    color: var(--platform-primary);
    border: 2px solid #ffdd00;
}

.btn-light:hover {
    background-color: #ffe44d;
    transform: translateY(-3px);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 30px 0 15px;
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    display: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    color: #ffdd00;
}