/* هيدر صفحات أقسام تطوير التطبيقات - مطابق لهيدر صفحة app-development.html */

.app-hero {
    --primary-color: #6366f1;
    --accent-color: #f59e0b;
    --gray-50: #f9fafb;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition-fast: all 0.15s ease;
}

.app-hero {
    min-height: 80vh;
    padding-top: 120px;
}

.app-hero .hero-title .title-sub {
    font-size: var(--font-size-xl);
    margin-top: 1rem;
}

/* App Showcase */
.app-hero .app-showcase {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.app-hero .phone-mockup {
    position: relative;
    animation: appFloat 6s ease-in-out infinite;
}

.app-hero .phone-frame {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 35px;
    padding: 8px;
    box-shadow: var(--shadow-2xl);
    position: relative;
}

.app-hero .phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 27px;
    overflow: hidden;
    position: relative;
}

.app-hero .status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 10px;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

.app-hero .time {
    color: var(--gray-900);
}

.app-hero .indicators {
    display: flex;
    gap: 5px;
    color: var(--gray-700);
}

.app-hero .app-content {
    padding: 20px;
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-hero .app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.app-hero .profile-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-hero .avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
}

.app-hero .avatar::after {
    content: "👤";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
}

.app-hero .greeting {
    display: flex;
    flex-direction: column;
}

.app-hero .greeting span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.app-hero .greeting strong {
    font-size: 0.9rem;
    color: var(--gray-900);
}

.app-hero .notification-bell {
    color: var(--primary-color);
    font-size: 1.2rem;
    position: relative;
}

.app-hero .notification-bell::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: var(--error-color);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.app-hero .quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.app-hero .action-card {
    background: var(--white);
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-fast);
}

.app-hero .action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.app-hero .action-card i {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.app-hero .action-card span {
    font-size: 0.7rem;
    color: var(--gray-700);
    font-weight: 500;
}

.app-hero .stats-section {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.app-hero .stat-card {
    text-align: center;
    margin-bottom: 15px;
}

.app-hero .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.app-hero .stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.app-hero .chart-area {
    margin-top: 15px;
}

.app-hero .chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 60px;
    justify-content: center;
}

.app-hero .bar {
    width: 20px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
    animation: appBarGrow 2s ease-out;
}

.app-hero .home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--gray-900);
    border-radius: 2px;
}

.app-hero .floating-features {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.app-hero .feature-bubble {
    position: absolute;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    animation: appBounce 3s infinite;
}

.app-hero .feature-bubble:nth-child(1) {
    top: 50px;
    right: -60px;
    animation-delay: 0s;
    color: #007AFF;
}

.app-hero .feature-bubble:nth-child(2) {
    top: 150px;
    right: -70px;
    animation-delay: 0.5s;
    color: #3DDC84;
}

.app-hero .feature-bubble:nth-child(3) {
    bottom: 150px;
    right: -80px;
    animation-delay: 1s;
    color: #FF6B35;
}

.app-hero .feature-bubble:nth-child(4) {
    bottom: 50px;
    right: -70px;
    animation-delay: 1.5s;
    color: #9C27B0;
}


@keyframes appFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
@keyframes appBounce { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-5px); } }
@keyframes appBarGrow { from { height: 0; } to { height: 100%; } }

@media (max-width: 768px) {
    .app-hero { min-height: 60vh; padding-top: 100px; }
    .app-hero .phone-frame { width: 250px; height: 500px; }
}
