/* login.css - النسخة الخضراء السحرية */
:root {
    --color-primary: #27AE60;
    --color-primary-light: #2ECC71;
    --color-primary-dark: #219653;
    --color-secondary: #16A085;
    --color-accent: #F39C12;
    --color-accent-light: #F1C40F;
    --color-yellow: #FFD700;
    --color-blue: #3498db;
    --color-blue-light: #85C1E9;
    --color-pink: #FF6B8B;
    --color-light: #F8FFF8;
    --color-light-green: #E8F6F3;
    --color-dark: #1E5631;
    --color-success: #27AE60;
    --color-warning: #F39C12;
    --color-danger: #E74C3C;
    
    /* تدرجات خضراء سحرية */
    --gradient-nature: linear-gradient(135deg, 
        var(--color-primary-light) 0%,
        var(--color-secondary) 50%,
        var(--color-blue-light) 100%
    );
    
    --gradient-forest: linear-gradient(135deg,
        #2ECC71 0%,
        #27AE60 25%,
        #219653 50%,
        #1E8449 75%,
        #186A3B 100%
    );
    
    --gradient-magic: linear-gradient(135deg, 
        var(--color-primary), 
        var(--color-secondary)
    );
    
    --gradient-sunrise: linear-gradient(135deg, 
      #2ECC71 100%,
      #27AE60 50%,
      #186A3B 25%
    );
    
    --gradient-rainbow: linear-gradient(45deg, 
        var(--color-primary-light),
        var(--color-blue-light),
        var(--color-secondary),
        var(--color-accent-light)
    );
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* ================================================================================================*/
/* === زر ابدأ الآن السحري === */
.magic-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 45px;
    background: linear-gradient(135deg, 
        var(--color-primary-light) 0%,
        var(--color-primary) 50%,
        var(--color-secondary) 100%
    );
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(39, 174, 96, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(0);
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(39, 174, 96, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 15px 40px rgba(39, 174, 96, 0.6),
            0 8px 25px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

.magic-start-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--color-primary-light),
        var(--color-accent-light),
        var(--color-primary),
        var(--color-secondary)
    );
    border-radius: 52px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magic-start-btn:hover::before {
    opacity: 1;
    animation: rainbowBorder 2s linear infinite;
}

@keyframes rainbowBorder {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.magic-start-btn:hover {
    transform: translateY(-8px) scale(1.05);
    animation-play-state: paused;
    box-shadow: 
        0 20px 50px rgba(39, 174, 96, 0.6),
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.magic-start-btn:active {
    transform: translateY(-4px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.btn-icon {
    font-size: 1.8rem;
    animation: rocketLaunch 2s infinite;
    display: inline-block;
}

@keyframes rocketLaunch {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-3px) rotate(-5deg); 
    }
    75% { 
        transform: translateY(-3px) rotate(5deg); 
    }
}

.btn-text {
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.magic-start-btn:hover .btn-text::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-sparkles {
    font-size: 1.2rem;
    opacity: 0.8;
    animation: sparkleTwinkle 1.5s infinite;
}

.btn-sparkles::after {
    content: '✨';
    animation: sparkleDelay 1.5s infinite;
}

@keyframes sparkleTwinkle {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes sparkleDelay {
    0%, 100% { content: '✨'; }
    50% { content: '🌟'; }
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.2) 30%,
        transparent 70%
    );
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.magic-start-btn:hover .btn-glow {
    opacity: 1;
    animation: glowPulse 1s infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.btn-trail {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: radial-gradient(
        ellipse at center,
        rgba(39, 174, 96, 0.3) 0%,
        transparent 70%
    );
    filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magic-start-btn:hover .btn-trail {
    opacity: 1;
    animation: trailEffect 0.5s ease-out;
}

@keyframes trailEffect {
    0% { 
        transform: translateX(-50%) translateY(10px) scale(0.8);
        opacity: 0; 
    }
    100% { 
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1; 
    }
}

/* === تأثير عند النقر === */
.magic-start-btn:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.5) 0%,
        transparent 70%
    );
    border-radius: 50px;
    animation: clickRipple 0.6s ease-out;
}

@keyframes clickRipple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* === تأثير التحميل === */
.magic-start-btn.loading {
    pointer-events: none;
}

.magic-start-btn.loading .btn-icon {
    animation: rocketLoading 1s infinite;
}

@keyframes rocketLoading {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-10deg); }
    75% { transform: translateY(-5px) rotate(10deg); }
}

.magic-start-btn.loading .btn-text {
    animation: textPulse 1s infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* === النسخة الصغيرة === */
.magic-start-btn.small {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.magic-start-btn.small .btn-icon {
    font-size: 1.5rem;
}

.magic-start-btn.small .btn-text {
    font-size: 1.1rem;
}

/* === النسخة الكبيرة === */
.magic-start-btn.large {
    padding: 25px 60px;
    font-size: 1.5rem;
}

.magic-start-btn.large .btn-icon {
    font-size: 2.2rem;
}

.magic-start-btn.large .btn-text {
    font-size: 1.5rem;
}

/* === النسخة الممتدة === */
.magic-start-btn.full {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
}

/* === تحسينات للجوال === */
@media (max-width: 768px) {
    .magic-start-btn {
        padding: 18px 35px;
        font-size: 1.2rem;
    }
    
    .magic-start-btn .btn-icon {
        font-size: 1.6rem;
    }
    
    .magic-start-btn .btn-text {
        font-size: 1.2rem;
    }
    
    .magic-start-btn:hover {
        transform: translateY(-5px) scale(1.03);
    }
}

@media (max-width: 480px) {
    .magic-start-btn {
        padding: 4px 12px;
        font-size: 1.1rem;
    }
    
    .btn-content {
        gap: 5px;
    }
    
    .magic-start-btn .btn-icon {
        font-size: 1.4rem;
    }
    
    .magic-start-btn .btn-text {
        font-size: 1.1rem;
    }
}

/* === تأثيرات إضافية === */
.magic-start-btn.success {
    background: linear-gradient(135deg, #27AE60, #2ECC71);
    animation: successGlow 2s infinite;
}

@keyframes successGlow {
    0%, 100% { 
        box-shadow: 
            0 10px 30px rgba(39, 174, 96, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.1);
    }
    50% { 
        box-shadow: 
            0 15px 40px rgba(39, 174, 96, 0.8),
            0 8px 25px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(46, 204, 113, 0.4);
    }
}

.magic-start-btn.warning {
    background: linear-gradient(135deg, #F39C12, #F1C40F);
    animation: warningGlow 2s infinite;
}

@keyframes warningGlow {
    0%, 100% { 
        box-shadow: 
            0 10px 30px rgba(243, 156, 18, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.1);
    }
    50% { 
        box-shadow: 
            0 15px 40px rgba(243, 156, 18, 0.8),
            0 8px 25px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(241, 196, 15, 0.4);
    }
}

/* === تأثير الاهتزاز لجذب الانتباه === */
.magic-start-btn.attention {
    animation: attentionShake 0.5s ease-in-out 3;
}

@keyframes attentionShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* === أضواء التتبع === */
.magic-start-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.magic-start-btn:hover::after {
    transform: translateX(100%);
}

/* === التأثير الشامل === */
.magic-start-btn {
    position: relative;
    isolation: isolate;
}

.magic-start-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: conic-gradient(
        from 0deg at 50% 50%,
        var(--color-primary-light),
        var(--color-accent-light),
        var(--color-secondary),
        var(--color-primary-light)
    );
    border-radius: 53px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: conicRotate 3s linear infinite;
    filter: blur(10px);
}

@keyframes conicRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.magic-start-btn:hover::before {
    opacity: 0.7;
}
/*=================================================================================================*/

/* === الخلفية الطبيعية === */
body {
    background: var(--color-light);
    font-family: 'Tajawal', 'Cairo', sans-serif;
    color: var(--color-dark);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(46, 204, 113, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(22, 160, 133, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(133, 193, 233, 0.05) 0%, transparent 30%),
        linear-gradient(45deg, transparent 30%, rgba(248, 255, 248, 0.1) 100%);
    z-index: -1;
    pointer-events: none;
}

/* === أوراق الشجر الخلفية === */
.leaf-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,20 C60,10 80,15 80,30 C80,45 60,50 50,60 C40,50 20,45 20,30 C20,15 40,10 50,20 Z" fill="%232ECC71"/></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30,70 C40,60 60,65 60,80 C60,95 40,90 30,80 C20,70 10,75 10,60 C10,45 20,40 30,50 Z" fill="%2316A085"/></svg>');
    background-size: 150px, 100px;
    background-position: 10% 10%, 90% 90%;
    background-repeat: no-repeat;
    animation: leavesFloat 20s infinite linear;
}

@keyframes leavesFloat {
    0% {
        background-position: 10% 10%, 90% 90%;
    }
    50% {
        background-position: 15% 15%, 85% 85%;
    }
    100% {
        background-position: 10% 10%, 90% 90%;
    }
}

/* === الهيدر الأخضر === */
.magic-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(30, 86, 49, 0.1);
    border-bottom: 3px solid var(--color-primary);
    animation: headerAppear 0.5s ease;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 255, 248, 0.95) 100%
    );
}

@keyframes headerAppear {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.magic-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.logo-icon {
    font-size: 2.5rem;
    animation: logoBounce 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    color: var(--color-primary);
}

@keyframes logoBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-10px) rotate(5deg); }
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}

.logo-text h1 {
    font-size: 1.8rem;
    margin: 0;
    background: var(--gradient-forest);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.logo-text p {
    margin: 5px 0 0 0;
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* === زر واتساب الطبيعي === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25D366;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.2),
        0 0 0 8px rgba(46, 204, 113, 0.2);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappFloat 3s ease-in-out infinite;
    background: linear-gradient(135deg, #25D366, #2ECC71);
}

@keyframes whatsappFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        box-shadow: 
            0 8px 25px rgba(37, 211, 102, 0.4),
            0 0 0 4px rgba(255, 255, 255, 0.2),
            0 0 0 8px rgba(46, 204, 113, 0.2);
    }
    50% { 
        transform: translateY(-10px) rotate(10deg); 
        box-shadow: 
            0 15px 35px rgba(37, 211, 102, 0.6),
            0 0 0 6px rgba(255, 255, 255, 0.3),
            0 0 0 12px rgba(46, 204, 113, 0.3);
    }
}

.whatsapp-float:hover {
    transform: scale(1.2) rotate(15deg);
    animation-play-state: paused;
    background: linear-gradient(135deg, #2ECC71, #25D366);
}

.whatsapp-float::after {
    content: '💚';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 1.2rem;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* === الأزرار الطبيعية === */
.magic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 35px;
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    user-select: none;
    letter-spacing: 0.5px;
}

.magic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: left 0.6s ease;
}

.magic-btn:hover::before {
    left: 100%;
}

.magic-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.btn-primary {
    background: var(--gradient-nature);
    color: white;
    box-shadow: 
        0 8px 25px rgba(39, 174, 96, 0.3),
        0 4px 6px rgba(50, 50, 93, 0.11),
        0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    box-shadow: 
        0 15px 35px rgba(39, 174, 96, 0.4),
        0 5px 15px rgba(50, 50, 93, 0.2),
        0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

.btn-large {
    padding: 20px 45px;
    font-size: 1.3rem;
    font-weight: 800;
}

.btn-block {
    width: 100%;
}

/* === قسم البطل الطبيعي === */
.hero-section {
    background: var(--gradient-sunrise);
    color: white;
    padding: 140px 5% 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    top: 0px;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 
        3px 3px 0 rgba(0,0,0,0.1),
        6px 6px 0 rgba(0,0,0,0.05);
    animation: titleAppear 1s ease-out;
}

@keyframes titleAppear {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.hero-title .highlight {
    display: inline-block;
    position: relative;
    color: var(--color-yellow);
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.leaf {
    display: inline-block;
    animation: leafFloat 3s ease-in-out infinite;
    margin: 0 5px;
}

@keyframes leafFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 1; 
    }
    50% { 
        transform: translateY(-10px) rotate(180deg); 
        opacity: 0.8; 
    }
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 60px 0;
    perspective: 1000px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 35px 25px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-nature);
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
}

.feature-card:hover::before {
    opacity: 1;
    animation: natureBorder 2s linear infinite;
}

@keyframes natureBorder {
    0% { 
        background: var(--gradient-nature);
        filter: hue-rotate(0deg); 
    }
    100% { 
        background: var(--gradient-nature);
        filter: hue-rotate(360deg); 
    }
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === الحيوانات الطبيعية === */
.nature-animals {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.animal {
    position: absolute;
    font-size: 2.5rem;
    animation: animalWander 20s infinite linear;
    opacity: 0.4;
}

.animal:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.animal:nth-child(2) { top: 60%; left: 15%; animation-delay: 4s; }
.animal:nth-child(3) { top: 40%; right: 10%; animation-delay: 8s; }
.animal:nth-child(4) { top: 80%; right: 15%; animation-delay: 12s; }
.animal:nth-child(5) { top: 30%; left: 50%; animation-delay: 16s; }

@keyframes animalWander {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
        opacity: 0.4;
    }
    25% { 
        transform: translate(30px, -20px) rotate(90deg); 
        opacity: 0.6;
    }
    50% { 
        transform: translate(0, -40px) rotate(180deg); 
        opacity: 0.4;
    }
    75% { 
        transform: translate(-30px, -20px) rotate(270deg); 
        opacity: 0.6;
    }
}

/* === الأقسام التعليمية === */
.section-title {
    text-align: center;
    color: var(--color-dark);
    font-size: 2.8rem;
    margin-bottom: 50px;
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '🌿';
    display: block;
    width: 100px;
    height: 8px;
    background: var(--gradient-nature);
    margin: 20px auto 0;
    border-radius: 4px;
    animation: leafGrow 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

@keyframes leafGrow {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.2); 
    }
}

/* === مشاكل وحلول === */
.problems-section {
    background: var(--color-light-green);
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.problems-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--gradient-nature);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 
        0 10px 30px rgba(30, 86, 49, 0.08),
        inset 0 0 0 1px rgba(46, 204, 113, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-nature);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.problem-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(30, 86, 49, 0.15),
        0 10px 20px rgba(50, 50, 93, 0.1),
        inset 0 0 0 1px rgba(46, 204, 113, 0.2);
    border-color: var(--color-primary-light);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
    color: var(--color-primary);
}

.problem-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.problem-card h3 {
    color: var(--color-dark);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.problem-card p {
    color: #2D3436;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* === كيف يعمل === */
.how-it-works {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f6f3 100%);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--gradient-nature);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 60px auto;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    height: 4px;
    background: var(--gradient-nature);
    z-index: 1;
    border-radius: 2px;
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-nature);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 25px;
    box-shadow: 
        0 10px 20px rgba(39, 174, 96, 0.3),
        0 0 0 8px rgba(39, 174, 96, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-nature);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 
        0 15px 30px rgba(39, 174, 96, 0.4),
        0 0 0 12px rgba(39, 174, 96, 0.15);
}

.step:hover .step-number::before {
    opacity: 1;
    animation: natureSpin 2s linear infinite;
}

@keyframes natureSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.step h3 {
    color: var(--color-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.step p {
    color: #2D3436;
    line-height: 1.7;
    font-size: 1.1rem;
    max-width: 250px;
    margin: 0 auto;
}

/* === التسعير === */
.pricing-section {
    padding: 100px 5%;
    background: white;
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--gradient-nature);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 30px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 
        0 15px 35px rgba(30, 86, 49, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-nature);
    border-radius: 33px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(30, 86, 49, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover::before {
    opacity: 1;
    animation: natureBorder 3s linear infinite;
}

.pricing-card.popular {
    border-color: var(--color-accent);
    transform: scale(1.05);
    background: linear-gradient(to bottom, white, #FEF9E7);
}

.pricing-card.popular:hover {
    transform: translateY(-20px) scale(1.08);
}

.pricing-badge {
    position: absolute;
    top: 25px;
    right: -35px;
    background: var(--color-accent);
    color: var(--color-dark);
    padding: 10px 45px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
    z-index: 10;
}

.price {
    font-size: 3.5rem;
    color: var(--color-primary);
    font-weight: 800;
    margin: 25px 0;
    position: relative;
    display: inline-block;
}

.price::before {
    content: '🌱';
    position: absolute;
    top: -25px;
    left: -25px;
    font-size: 2rem;
    animation: leafGrow 2s infinite;
}

.price span {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 35px 0;
    text-align: right;
}

.pricing-features li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #2D3436;
    font-size: 1.1rem;
    position: relative;
    padding-right: 40px;
}

.pricing-features li::before {
    content: '✅';
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    animation: checkBounce 1s infinite;
}

@keyframes checkBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

/* === الثقة === */
.trust-section {
    padding: 100px 5%;
    background: var(--gradient-forest);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 100px;
    opacity: 0.3;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 60px auto;
    position: relative;
    z-index: 2;
}

.trust-item {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    border-color: white;
}

.trust-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(255,255,255,0.3);
}

.trust-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* === الأسئلة الشائعة === */
.faq-section {
    padding: 100px 5%;
    background: var(--color-light-green);
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--gradient-nature);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 5px 20px rgba(30, 86, 49, 0.08),
        0 3px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-item:hover {
    border-color: var(--color-primary);
    transform: translateX(10px);
    box-shadow: 
        0 10px 30px rgba(30, 86, 49, 0.12),
        0 5px 15px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 25px 30px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    color: var(--color-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(46, 204, 113, 0.05);
}

.faq-question span {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
    color: var(--color-secondary);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2D3436;
    line-height: 1.7;
    font-size: 1.1rem;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 500px;
}

/* === تسجيل الدخول === */
.login-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4f1fe 100%);
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.login-content {
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 
        0 20px 40px rgba(30, 86, 49, 0.1),
        0 0 0 1px rgba(255,255,255,0.5);
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.login-content::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-nature);
    border-radius: 33px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-content:hover::before {
    opacity: 1;
    animation: natureBorder 3s linear infinite;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.login-header h2::after {
    content: '🌳';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}

.login-header p {
    color: #2D3436;
    font-size: 1.2rem;
    margin-top: 30px;
}

/* === النموذج السحري === */
.magic-form {
    margin-top: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input {
    width: 100%;
    padding: 18px 60px 18px 20px;
    border: 2px solid #B2DFDB;
    border-radius: 15px;
    font-size: 1.1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: rgba(248, 255, 248, 0.9);
    color: var(--color-dark);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 
        0 0 0 4px rgba(46, 204, 113, 0.1),
        0 5px 15px rgba(0,0,0,0.05);
    background: white;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.form-group input:focus + .input-icon {
    transform: translateY(-50%) scale(1.2) rotate(10deg);
    color: var(--color-secondary);
}

.input-sparkle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--color-primary);
}

.form-group input:focus ~ .input-sparkle {
    opacity: 1;
    animation: leafFloat 1s infinite;
}

.toggle-password {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--color-primary);
    padding: 5px;
    transition: all 0.3s ease;
    z-index: 2;
}

.toggle-password:hover {
    transform: translateY(-50%) scale(1.2);
    color: var(--color-secondary);
}

/* === تسجيل الدخول الأصلي === */
.login-form-section {
    width: 420px;
    flex-shrink: 0;
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 
        0 15px 35px rgba(30, 86, 49, 0.1),
        0 0 0 1px rgba(255,255,255,0.5);
    border: 2px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, white, #F8FFF8);
}

.login-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-nature);
}

.wizard-animation {
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.floating-wizard {
    height: 140px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.wizard-hat {
    font-size: 3rem;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-primary);
    animation: hatBounce 2s ease-in-out infinite;
}

@keyframes hatBounce {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(-50%) rotate(-10deg); }
    75% { transform: translateX(-50%) rotate(10deg); }
}

.login-form-section h2 {
    color: var(--color-primary);
    margin: 1.5rem 0;
    text-align: center;
    font-size: 2rem;
    width: 100%;
    font-weight: 800;
}

#magic-login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-wrapper {
    position: relative;
    margin: 1.5rem 0;
    width: 100%;
    max-width: 350px;
}

.magic-input {
    width: 100%;
    padding: 18px 60px 18px 20px;
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    background: rgba(248, 255, 248, 0.95);
    color: var(--color-dark);
    font-size: 1.1rem;
    text-align: right;
    transition: all 0.3s ease;
}

.magic-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 
        0 0 0 4px rgba(243, 156, 18, 0.1),
        0 5px 20px rgba(243, 156, 18, 0.2);
    background: white;
}

.fairy-icon, .dragon-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.magic-input:focus + .fairy-icon,
.magic-input:focus + .dragon-icon {
    transform: translateY(-50%) scale(1.2);
    color: var(--color-accent);
}

.password-eyes {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--color-primary);
    font-size: 1.3rem;
    padding: 5px;
    transition: all 0.3s ease;
    background: none;
    border: none;
}

.password-eyes:hover {
    transform: translateY(-50%) scale(1.2);
    color: var(--color-secondary);
}

.spell-button {
    background: var(--gradient-nature);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    margin: 2rem 0;
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(39, 174, 96, 0.3),
        0 4px 6px rgba(50, 50, 93, 0.11);
}

.spell-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(39, 174, 96, 0.4),
        0 5px 15px rgba(50, 50, 93, 0.2);
}

.spell-button:active {
    transform: translateY(-2px) scale(0.98);
}

.form-links {
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.form-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(46, 204, 113, 0.1), 
        transparent
    );
    transition: left 0.5s ease;
}

.form-links a:hover {
    color: var(--color-secondary);
    background: rgba(46, 204, 113, 0.1);
    transform: translateY(-2px);
}

.form-links a:hover::before {
    left: 100%;
}

/* === الفوتر الطبيعي === */
.magic-footer {
    background: var(--color-dark);
    color: white;
    padding: 60px 5% 30px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1E5631 0%, #186A3B 100%);
}

.magic-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-nature);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-icon {
    font-size: 3rem;
    animation: footerFloat 3s ease-in-out infinite;
    color: var(--color-primary-light);
}

@keyframes footerFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.footer-text h3 {
    font-size: 2rem;
    margin: 0;
    background: linear-gradient(45deg, #2ECC71, #85C1E9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-text p {
    margin: 10px 0 0 0;
    color: #B2DFDB;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.footer-links a {
    color: #E8F6F3;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.footer-links a:hover {
    background: rgba(46, 204, 113, 0.2);
    color: #2ECC71;
    transform: translateY(-3px);
    border-color: rgba(46, 204, 113, 0.3);
}

.footer-copyright {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    margin: 15px 0;
    color: #B2DFDB;
    font-size: 1rem;
}

.magic-note {
    color: #2ECC71 !important;
    font-weight: 600;
    animation: magicNote 2s ease-in-out infinite;
}

@keyframes magicNote {
    0%, 100% { opacity: 0.8; }
    50% { 
        opacity: 1; 
        text-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
    }
}

/* === الأنميشن === */
@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    33% { 
        transform: translateY(-20px) rotate(-5deg); 
    }
    66% { 
        transform: translateY(-10px) rotate(5deg); 
    }
}

/* === تأثيرات طبيعية === */
.nature-effect {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(46, 204, 113, 0.3) 0%, 
        rgba(46, 204, 113, 0.1) 30%, 
        transparent 70%);
    animation: bubbleFloat 20s infinite linear;
    filter: blur(2px);
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.petal {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--gradient-nature);
    animation: petalFall 8s linear forwards;
    opacity: 0.7;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    border-radius: 50% 0 50% 50%;
    transform: rotate(45deg);
}

@keyframes petalFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* === نصوص طبيعية === */
.nature-text {
    background: var(--gradient-nature);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.nature-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-nature);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nature-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* === التجاوبية === */
@media (max-width: 1200px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .magic-header {
        padding: 12px 5%;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        font-size: 2.8rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .magic-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 35px 25px;
    }
    
    .price {
        font-size: 2.8rem;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 20px;
        left: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links a {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .problem-card, .trust-item {
        padding: 25px 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .login-content {
        padding: 30px 20px;
    }
    
    .login-form-section {
        width: 100%;
        padding: 2rem 1.5rem;
    }
}

/* === تحسينات أداء === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === تأثيرات تفاعلية === */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.grow-on-hover {
    transition: transform 0.3s ease;
}

.grow-on-hover:hover {
    transform: scale(1.05);
}

/* === تخصيص شريط التمرير === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-light-green);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-nature);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* === تحديثات قسم تسجيل الدخول === */
.login-layout {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    padding: 2rem 0;
    max-width: 1340px;
    margin: 0 auto;
    width: 100%;
    min-height: 80vh;
}

/* قسم تسجيل الدخول (الثلث) */
.login-form-section {
    width: 420px;
    flex-shrink: 0;
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 
        0 15px 35px rgba(30, 86, 49, 0.1),
        0 0 0 1px rgba(255,255,255,0.5);
    border: 3px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, white, #F8FFF8);
}

.login-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-nature);
}

.wizard-animation {
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.floating-wizard {
    height: 120px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.wizard-hat {
    font-size: 3rem;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-primary);
    animation: hatBounce 2s ease-in-out infinite;
}

@keyframes hatBounce {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(-50%) rotate(-10deg); }
    75% { transform: translateX(-50%) rotate(10deg); }
}

.login-form-section h2 {
    color: var(--color-primary);
    margin: 1.5rem 0;
    text-align: center;
    font-size: 2rem;
    width: 100%;
    font-weight: 800;
}

/* قسم الإعلان (الثلثين) */
.promo-section {
    width: 900px;
    flex-shrink: 0;
    background: var(--gradient-nature);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(30, 86, 49, 0.2);
    border: 3px solid white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 150px;
    opacity: 0.3;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

.animated-logo {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.promo-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.promo-content h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.promo-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* النموذج */
#magic-login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-wrapper {
    position: relative;
    margin: 1.5rem 0;
    width: 100%;
    max-width: 350px;
}

.magic-input {
    width: 100%;
    padding: 18px 60px 18px 20px;
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    background: rgba(248, 255, 248, 0.95);
    color: var(--color-dark);
    font-size: 1.1rem;
    text-align: right;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.magic-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 
        0 0 0 4px rgba(243, 156, 18, 0.1),
        0 5px 20px rgba(243, 156, 18, 0.2);
    background: white;
}

.fairy-icon, .dragon-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.magic-input:focus + .fairy-icon,
.magic-input:focus + .dragon-icon {
    transform: translateY(-50%) scale(1.2);
    color: var(--color-accent);
}

.password-eyes {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--color-primary);
    font-size: 1.3rem;
    padding: 5px;
    transition: all 0.3s ease;
    background: none;
    border: none;
}

.password-eyes:hover {
    transform: translateY(-50%) scale(1.2);
    color: var(--color-secondary);
}

.spell-button {
    background: var(--gradient-nature);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    margin: 2rem 0;
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(39, 174, 96, 0.3),
        0 4px 6px rgba(50, 50, 93, 0.11);
}

.spell-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(39, 174, 96, 0.4),
        0 5px 15px rgba(50, 50, 93, 0.2);
}

.form-links {
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.form-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(46, 204, 113, 0.1), 
        transparent
    );
    transition: left 0.5s ease;
}

.form-links a:hover {
    color: var(--color-secondary);
    background: rgba(46, 204, 113, 0.1);
    transform: translateY(-2px);
}

.form-links a:hover::before {
    left: 100%;
}

/* === التجاوبية === */
@media (max-width: 1200px) {
    .login-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .login-form-section,
    .promo-section {
        width: 90%;
        max-width: 600px;
    }
    
    .promo-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .login-form-section {
        padding: 2rem 1.5rem;
    }
    
    .promo-section {
        padding: 2rem;
    }
    
    .floating-wizard {
        height: 100px;
    }
    
    .wizard-hat {
        font-size: 2.5rem;
        top: -30px;
    }
    
    .login-form-section h2 {
        font-size: 1.8rem;
    }
    
    .promo-content h3 {
        font-size: 1.8rem;
    }
    
    .promo-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .login-form-section,
    .promo-section {
        width: 95%;
    }
    
    .login-form-section {
        padding: 1.5rem;
    }
    
    .promo-section {
        padding: 1.5rem;
    }
    
    .spell-button {
        font-size: 1.1rem;
        padding: 15px;
    }
    
    .form-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-links a {
        width: 100%;
        text-align: center;
    }
}