/* ========================================
   MEME Home Page - Elegant Design
   ألوان هادية واحترافية
   ======================================== */

.home-page {
    overflow-x: hidden;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    position: relative;
    padding: 100px 0 80px;
    background: #fafbfc;
    overflow: hidden;
}

/* Background Shapes - أخف */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #2F5430, #3d6b3c);
    top: -200px;
    right: -150px;
    animation: float 25s ease-in-out infinite;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #B8941F, #d4af37);
    bottom: -100px;
    left: -100px;
    animation: float 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #8B7355, #a68968);
    top: 50%;
    left: 20%;
    animation: float 22s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(184, 148, 31, 0.08);
    border: 1px solid rgba(184, 148, 31, 0.2);
    border-radius: 50px;
    color: #8B7355;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge i {
    font-size: 16px;
    color: #B8941F;
}

/* Hero Title */
.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 900;
    color: #111827;
    margin-bottom: 24px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title .highlight {
    color: #2F5430;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #B8941F, #d4af37);
    border-radius: 3px;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: #4b5563;
    margin-bottom: 48px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-subtitle i {
    color: #2F5430;
    font-size: 20px;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #e5e7eb;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-item:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.stat-item:nth-child(1) .stat-icon i {
    font-size: 24px;
    color: #d97706;
}

.stat-item:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.stat-item:nth-child(2) .stat-icon i {
    font-size: 24px;
    color: #059669;
}

.stat-item:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}

.stat-item:nth-child(3) .stat-icon i {
    font-size: 24px;
    color: #e5c846;
}

.stat-details {
    text-align: right;
}

.stat-number {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* ✅ زيادة المسافة بين الأزرار */
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* ✅ زيادة المسافة بين الأيقونة والنص */
    padding: 20px 48px; /* ✅ زيادة الـ padding لتكبير الزر */
    font-size: 18px; /* ✅ زيادة حجم الخط من 16px إلى 18px */
    font-weight: 800; /* ✅ زيادة سمك الخط من 700 إلى 800 */
    border-radius: 12px; /* ✅ زيادة استدارة الزوايا */
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); /* ✅ ظل أقوى */
    letter-spacing: 0.3px; /* ✅ مسافة بين الحروف لوضوح أكبر */
}
.btn-hero-primary {
    background: #2F5430;
    color: #ffffff;
}

.btn-hero-primary:hover {
    background: #1e3820;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 84, 48, 0.25);
}

.btn-hero-secondary {
    background: #B8941F;
    color: #ffffff;
}

.btn-hero-secondary:hover {
    background: #9d7d1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 148, 31, 0.25);
}

/* Hero Trust */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
}

.trust-item i {
    font-size: 18px;
    color: #22c55e;
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
    padding: 80px 0;
    background: #ffffff;
}

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

.section-title {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 900;
    color: #111827;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 17px;
    color: #6b7280;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    padding: 36px 28px;
    background: #fafbfc;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #e5e7eb;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08);
}

.icon-gold {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.icon-gold i {
    font-size: 36px;
    color: #d97706;
}

.icon-teal {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.icon-teal i {
    font-size: 36px;
    color: #059669;
}

.icon-brown {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.icon-brown i {
    font-size: 36px;
    color: #dc2626;
}

.icon-emerald {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}

.icon-emerald i {
    font-size: 36px;
    color: #0f1cd4;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   How It Works Section
   ======================================== */

.how-it-works {
    padding: 80px 0;
    background: #fafbfc;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step-card {
    padding: 40px 32px;
    background: #ffffff;
    border-radius: 14px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #e5e7eb;
}

.step-number {
    position: absolute;
    top: -16px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2F5430;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(47, 84, 48, 0.25);
}

.step-icon {
    width: 90px;
    height: 90px;
    margin: 20px auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.08);
}

.step-card:nth-child(1) .step-icon {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.step-card:nth-child(1) .step-icon i {
    font-size: 36px;
    color: #d97706;
}

.step-card:nth-child(2) .step-icon {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.step-card:nth-child(2) .step-icon i {
    font-size: 36px;
    color: #059669;
}

.step-card:nth-child(3) .step-icon {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}

.step-card:nth-child(3) .step-icon i {
    font-size: 36px;
    color: #e6c532;
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
}

.step-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.step-arrow {
    display: none;
}

/* ========================================
   Reviews Section
   ======================================== */

.reviews-section {
    padding: 80px 0;
    background: #ffffff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.review-card {
    padding: 28px;
    background: #fafbfc;
    border-radius: 14px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.review-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #e5e7eb;
}

.review-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    color: rgba(184, 148, 31, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.review-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2F5430, #3d6b3c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
}

.review-info h4 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
}

.review-rating i {
    color: #fbbf24;
    font-size: 15px;
}

.review-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 14px 0;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #9ca3af;
}

.review-footer i {
    color: #22c55e;
}

.reviews-cta {
    text-align: center;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 100px 0;
    background: #2F5430;
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: #ffffff;
    top: -150px;
    right: -100px;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    background: #B8941F;
    bottom: -100px;
    left: -80px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon i {
    font-size: 40px;
    color: #ffffff;
    animation: rocketFly 2.5s ease-in-out infinite;
}

@keyframes rocketFly {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 18px;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-primary {
    background: #ffffff;
    color: #2F5430;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .features-section,
    .how-it-works,
    .reviews-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }
    
    .features-grid,
    .steps-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
}
