/* ===================================
   ROOT VARIABLES
   =================================== */
:root {
    --primary-red: #c41e3a;
    --primary-green: #2d8659;
    --primary-black: #1a1a1a;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #666666;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --transition-speed: 0.3s;
    --border-radius: 8px;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    color: var(--primary-black);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Arabic Font */
body[dir="rtl"] {
    font-family: 'Noto Sans Arabic', 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
    font-weight: 500;
}

body[dir="rtl"] .main-title {
    font-weight: 800;
    letter-spacing: -0.5px;
}

body[dir="rtl"] .subtitle {
    font-weight: 700;
}

body[dir="rtl"] .description {
    font-weight: 400;
    line-height: 2;
}

/* ===================================
   LANGUAGE SWITCHER
   =================================== */
.language-switcher {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-speed) ease;
}

body[dir="rtl"] .language-switcher {
    right: auto;
    left: 30px;
}

.language-switcher:hover {
    box-shadow: 0 6px 20px var(--shadow-medium);
    transform: translateY(-2px);
}

.lang-btn {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all var(--transition-speed) ease;
}

.lang-btn:hover {
    color: var(--primary-red);
}

.lang-btn.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%);
}

.separator {
    color: var(--medium-gray);
    font-weight: 300;
}

/* ===================================
   MAIN CONTAINER
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ===================================
   LOGO SECTION
   =================================== */
.logo-section {
    margin-bottom: 40px;
    text-align: center;
}

.logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 10px var(--shadow-light));
    transition: transform var(--transition-speed) ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* ===================================
   CONTENT SECTION
   =================================== */
.content-section {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-green) 100%);
    border-radius: 2px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.status-message {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--shadow-light);
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-black);
    margin-bottom: 50px;
}

.status-message i {
    color: var(--primary-green);
    font-size: 1.2rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================
   SOCIAL MEDIA SECTION
   =================================== */
.social-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary-black);
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: all var(--transition-speed) ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.social-icon:nth-child(1):hover {
    background: #1877f2;
    color: var(--white);
}

.social-icon:nth-child(2):hover {
    background: #1da1f2;
    color: var(--white);
}

.social-icon:nth-child(3):hover {
    background: #0a66c2;
    color: var(--white);
}

.social-icon:nth-child(4):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.social-icon:nth-child(5):hover {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%);
    color: var(--white);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    margin-top: 60px;
    padding: 20px;
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* ===================================
   DECORATIVE ELEMENTS
   =================================== */
.decoration-circle {
    position: fixed;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-red);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-green);
    bottom: -150px;
    left: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-red);
    top: 50%;
    right: 10%;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 768px) {
    .language-switcher {
        top: 20px;
        right: 20px;
        padding: 8px 15px;
    }
    
    body[dir="rtl"] .language-switcher {
        left: 20px;
    }

    .logo {
        max-width: 180px;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .language-switcher {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
    }
    
    body[dir="rtl"] .language-switcher {
        left: 15px;
    }

    .lang-btn {
        font-size: 12px;
        padding: 3px 8px;
    }

    .logo {
        max-width: 150px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .status-message {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .social-section {
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-text {
        font-size: 0.8rem;
    }

    .circle-1 {
        width: 300px;
        height: 300px;
    }

    .circle-2 {
        width: 200px;
        height: 200px;
    }

    .circle-3 {
        width: 150px;
        height: 150px;
    }
}

/* ===================================
   SECURITY & PROTECTION
   =================================== */
   
/* Prevent text selection */
::selection {
    background: transparent !important;
    color: inherit !important;
}

::-moz-selection {
    background: transparent !important;
    color: inherit !important;
}

/* Prevent image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

/* Prevent link dragging */
a {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* Keep link functionality */
a, button {
    pointer-events: auto;
    cursor: pointer;
}

