

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #28a745;
    --accent-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gradient-primary: linear-gradient(135deg, #2c5aa0 0%, #1e4085 100%);
    --gradient-secondary: linear-gradient(135deg, #28a745 0%, #20692e 100%);
    --border-radius: 12px;
    --box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.landing-page {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
}


.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}


.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #eef3ff 0%, #d0e0ff 45%, #a4b8e6 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(44, 90, 160, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    background: rgba(40, 167, 69, 0.1);
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    background: rgba(23, 162, 184, 0.1);
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 25%;
    animation-delay: 6s;
    background: rgba(255, 193, 7, 0.1);
}

.shape-5 {
    width: 140px;
    height: 140px;
    bottom: 15%;
    right: 5%;
    animation-delay: 1s;
    background: rgba(220, 53, 69, 0.1);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 1;
    }
}


.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 90, 160, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(44, 90, 160, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(44, 90, 160, 0);
    }
}


.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #2c5aa0;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-features {
    margin-bottom: 2.5rem;
}


.hero-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    
    background: linear-gradient(135deg, #eef3ff 0%, #d8e2ff 55%, #a4b8e6 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(164, 184, 230, 0.6);
    flex-direction: row;
    justify-content: flex-start;
}

.hero-features .feature-item:hover {
    background: linear-gradient(135deg, #f4f7ff 0%, #e3ebff 60%, #b4c5f0 100%);
    transform: translateX(-5px);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
}

.hero-features .feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    margin-right: 0;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-features .feature-icon.bg-success {
    background: var(--gradient-secondary);
}

.hero-features .feature-icon.bg-info {
    background: linear-gradient(135deg, var(--accent-color) 0%, #138496 100%);
}

.hero-features .feature-content h6 {
    font-weight: 600;
    color: #0f1d3a !important;
}

.hero-features .feature-content small {
    color: #1c2f5c !important;
}


.trust-indicators .trust-item span {
    color: #6c757d;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.hero-actions .btn {
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.hero-actions .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.hero-actions .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.hero-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    z-index: 2;
}


.dashboard-preview {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.dashboard-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.mockup-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-controls {
    display: flex;
    gap: 8px;
}

.mockup-controls .control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-controls .control.red {
    background: #ff5f57;
}

.mockup-controls .control.yellow {
    background: #ffbd2e;
}

.mockup-controls .control.green {
    background: #28ca42;
}

.mockup-title {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
}

.mockup-content {
    padding: 0;
}

.mockup-content img {
    width: 100%;
    height: auto;
    display: block;
}


.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 15%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 35%;
    left: -15%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 35%;
    right: -5%;
    animation-delay: 2s;
}

.floating-card.card-4 {
    bottom: 15%;
    left: -10%;
    animation-delay: 3s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

.floating-card .card-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 90, 160, 0.1);
    font-size: 16px;
    flex-shrink: 0;
}

.floating-card .card-content h6 {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    color: var(--dark-color);
}

.floating-card .card-content small {
    font-size: 10px;
    color: #6c757d;
}


.auth-card .form-label {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 500;
}

.auth-card .form-label i {
    color: #ffffff !important;
}

.auth-header p {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.form-check-label {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.auth-footer p {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.example-accounts h5 {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}


.trust-indicators {
    opacity: 0.8;
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}


.dashboard-mockup-css {
    max-width: 500px;
    margin: 20px auto;
    animation: float 6s ease-in-out infinite;
}

.browser-window {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 2px solid #e9ecef;
}

.browser-header {
    background: #f8f9fa;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e9ecef;
}

.browser-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.control-btn.close { background: #ff5f57; }
.control-btn.minimize { background: #ffbd2e; }
.control-btn.maximize { background: #28ca42; }

.browser-title {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.dashboard-content {
    padding: 20px;
    background: #f8f9fa;
}

.dashboard-header {
    background: #2c5aa0;
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.welcome-text {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.subtitle {
    font-size: 12px;
    margin: 0;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.stat-icon {
    font-size: 20px;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-primary .stat-number { color: #2c5aa0; }
.stat-success .stat-number { color: #28a745; }
.stat-info .stat-number { color: #17a2b8; }
.stat-warning .stat-number { color: #ffc107; }

.stat-label {
    font-size: 10px;
    color: #6c757d;
    margin: 0;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.exercise-section, .progress-section {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.section-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.exercise-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    margin-bottom: 6px;
    border-radius: 6px;
    font-size: 11px;
}

.exercise-item.completed {
    background: #f8fff9;
    border: 1px solid #28a745;
}

.exercise-item.in-progress {
    background: #fff9f0;
    border: 1px solid #ffc107;
}

.exercise-item.pending {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.exercise-status {
    font-size: 12px;
    width: 16px;
}

.exercise-name {
    flex: 1;
    font-weight: 500;
}

.exercise-badge {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.exercise-badge.completed {
    background: #28a745;
    color: white;
}

.exercise-badge.in-progress {
    background: #ffc107;
    color: #333;
}

.exercise-badge.pending {
    background: #6c757d;
    color: white;
}

.progress-circle {
    text-align: center;
    margin: 15px 0;
}

.circle-progress {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(#28a745 0deg 270deg, #e9ecef 270deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.circle-progress::before {
    content: '';
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    position: absolute;
}

.progress-text {
    font-size: 12px;
    font-weight: 700;
    color: #2c5aa0;
    position: relative;
    z-index: 1;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 10px;
    margin-top: 10px;
}

.notification-icon {
    font-size: 12px;
}

.status-bar {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: #6c757d;
}

.status-indicator.online {
    color: #28a745;
    font-weight: 500;
}


.feature-highlights {
    max-width: 400px;
    margin: 0 auto;
}

.feature-highlight-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    margin-bottom: 10px;
}

.feature-highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-highlight-content h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.feature-highlight-content small {
    font-size: 11px;
    color: #6c757d;
}


.pulse-animation {
    animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
    0% {
        box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(44, 90, 160, 0.5);
        transform: translateY(-2px);
    }
    100% {
        box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}


.stats-section {
    padding: 80px 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 3rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}


.features-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #e9ecef;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: right;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #6c757d;
    position: relative;
    padding-right: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-weight: bold;
}


.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}


.footer {
    background: var(--dark-color) !important;
}

.footer-brand p {
    color: #adb5bd;
    line-height: 1.6;
}

.footer h6 {
    color: white;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: white;
}

.text-light-50 {
    color: #adb5bd !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        margin-bottom: 0;
    }
    
    .hero-actions {
        flex-wrap: nowrap !important;
    }
    
    .cta-section .d-flex {
        flex-wrap: nowrap !important;
    }
    
    .hero-actions .btn,
    .cta-section .btn {
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 0.95rem;
    }
    
    .stat-card {
        margin-bottom: 2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    
    .dashboard-mockup-css {
        max-width: 100%;
        margin: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .dashboard-content {
        padding: 15px;
    }
    
    .welcome-text {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-icon {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-section,
    .features-section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}


.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}


.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: '';
    }
    40% {
        content: '.';
    }
    60% {
        content: '..';
    }
    80%, 100% {
        content: '...';
    }
}
