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

:root {
    /* Nahj App Color Palette - Teal & Gold */
    --primary: #00838F;
    --primary-light: #4FB3BF;
    --primary-dark: #005662;
    --accent: #FFB300;
    --accent-light: #FFE54C;
    --accent-dark: #C68400;
    
    /* Background - Dark Theme */
    --bg-dark: #121212;
    --bg-surface: #1E1E1E;
    --bg-surface-light: #2C2C2C;
    --bg-card: #252525;
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --text-muted: #757575;
}

html, body {
    height: 100%;
}

body {
    font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Header */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.lang-switch {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.2s;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

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

/* Hero */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: clamp(48px, 10vw, 100px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.4;
    margin-bottom: 24px;
    padding: 0.1em 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 26px);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(0, 131, 143, 0.1);
    border: 1px solid rgba(0, 131, 143, 0.3);
    border-radius: 50px;
    font-size: 15px;
    color: var(--primary-light);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 131, 143, 0.2) 0%, rgba(0, 131, 143, 0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Footer */
.footer {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-surface);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.social-links {
    display: flex;
    gap: 28px;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.25s ease, transform 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--primary-light);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 640px) {
    .header {
        padding: 16px 0;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }
    
    .hero-title {
        letter-spacing: -1px;
    }
    
    .hero-badge {
        padding: 12px 22px;
        font-size: 14px;
    }
    
    .hero-glow {
        width: 350px;
        height: 350px;
    }
    
    .social-links {
        gap: 24px;
    }
    
    .social-links svg {
        width: 22px;
        height: 22px;
    }
}
