/* cairo-regular - arabic & latin */
@font-face {
    font-display: swap;
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/cairo-v31-arabic-regular.woff2') format('woff2');
}

/* cairo-700 - arabic & latin */
@font-face {
    font-display: swap;
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/cairo-v31-arabic-700.woff2') format('woff2');
}

/* ==========================================
   CSS Variables & Design Tokens
   ========================================== */
:root {
    --primary: #040916;
    --secondary: #0a192f;
    --accent: #e6992d;
    --gold: #fcd34d;
    --text-main: #e6f1ff;
    --text-dim: #8892b0;
    --card-bg: rgba(10, 25, 47, 0.45);
    --border-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================
   Base & Reset
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background-color: var(--accent);
    color: var(--primary);
}

strong, b { font-weight: 600; }
h1, h2, h3, h4 { font-weight: 700; }

#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, #0a192f 0%, #040916 100%);
}

/* الكونتينر الرئيسي مع الهوامش الجانبية القياسية للشركات العالمية */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 32px; /* مسافة جانبية فخمة لسطح المكتب */
    position: relative;
    z-index: 1;
}

/* ==========================================
   Site Header & Main Navigation
   ========================================== */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 22px; /* التحكم في الهامش العلوي والسفلي فقط دون إلغاء الجوانب */
    position: relative;
    z-index: 1000;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.site-brand img {
    height: 42px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 12px rgba(230, 153, 45, 0.35));
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: var(--accent);
}

/* حاوية الأزرار لتجميع اللغة والهامبرغر بمحاذاة تامة */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ==========================================
   Modern World-Class Language Switcher
   ========================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    background: rgba(10, 25, 47, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    user-select: none;
    height: 38px;
}

.lang-switcher:hover {
    border-color: rgba(230, 153, 45, 0.5);
    background: rgba(10, 25, 47, 0.85);
    box-shadow: 0 6px 25px rgba(230, 153, 45, 0.2);
}

.lang-switcher .globe-icon {
    width: 15px;
    height: 15px;
    color: var(--accent);
    margin-inline-start: 6px;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.lang-switcher:hover .globe-icon {
    transform: rotate(18deg) scale(1.08);
}

.lang-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 1px;
}

.lang-switcher .lang-btn {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    line-height: 1;
    height: 28px;
}

.lang-switcher a.lang-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.lang-switcher .lang-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), #b3731a);
    box-shadow: 0 2px 8px rgba(230, 153, 45, 0.35);
    cursor: default;
}

/* ==========================================
   Hamburger & Overlay Navigation
   ========================================== */
.hamburger {
    display: none;
    position: relative;
    top: 0;
    inset-inline-end: 0;
    z-index: 10002;
    width: 38px;
    height: 38px;
    background: rgba(10, 25, 47, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    padding: 0;
}

.hamburger:hover {
    border-color: var(--accent);
    background: rgba(10, 25, 47, 0.95);
}

.hamburger span {
    height: 2px;
    width: 18px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 9, 22, 0.85);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.35s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.menu-overlay ul {
    position: relative;
    z-index: 2;
    list-style: none;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    margin: 0;
    gap: 12px;
}

.menu-group-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-top: 20px;
    font-weight: 700;
    opacity: 0.85;
}

.menu-overlay ul li a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    padding: 8px 18px;
    border-radius: 12px;
    transition: 0.25s ease;
    display: inline-block;
}

.menu-overlay ul li a:hover {
    opacity: 1;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent);
}

/* ==========================================
   Hero Section & Buttons
   ========================================== */
.hero {
    text-align: center;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.logo-img {
    height: 100px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(230, 153, 45, 0.3));
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 25px;
    max-width: 1000px;
}

h1 span {
    background: linear-gradient(90deg, var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-dim);
    max-width: 900px;
    margin-bottom: 45px;
    line-height: 1.8;
}

.hero-actions, .btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.btn {
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 153, 45, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(230, 153, 45, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 153, 45, 0); }
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #b3731a);
    color: white;
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(230, 153, 45, 0.35);
}

.btn-secondary-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(230, 153, 45, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary-outline:hover {
    background: rgba(230, 153, 45, 0.12);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Section Shells & Common Headers
   ========================================== */
.section-shell {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(230, 153, 45, 0.1);
    border: 1px solid rgba(230, 153, 45, 0.3);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #fff;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ==========================================
   Manifesto Section
   ========================================== */
.manifesto-card {
    background: rgba(10, 25, 47, 0.65);
    border: 1px solid rgba(230, 153, 45, 0.25);
    border-radius: 30px;
    padding: 50px;
    backdrop-filter: blur(15px);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.manifesto-quote {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: #fff;
    line-height: 1.8;
    margin: 25px 0;
}

.manifesto-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 30px auto;
}

.manifesto-mission h3 {
    color: var(--accent);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.manifesto-mission p {
    color: var(--text-main);
    font-size: 1.05rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==========================================
   Grids & Content Cards
   ========================================== */
.section-grid {
    display: grid;
    gap: 30px;
}

.section-grid.two-col {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.section-grid.three-col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px 0 60px;
}

.section-card, .card {
    background: var(--card-bg);
    padding: 40px 35px;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-card:hover, .card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: var(--accent);
    background: rgba(10, 25, 47, 0.75);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.section-card h3, .card h3 {
    color: var(--accent);
    margin-bottom: 18px;
    font-size: 1.45rem;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.bullet-list li {
    position: relative;
    padding-inline-start: 24px;
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 0.98rem;
}

.bullet-list li::before {
    content: "❖";
    position: absolute;
    inset-inline-start: 0;
    color: var(--accent);
    font-size: 0.8rem;
}

/* ==========================================
   Research Ecosystem Section
   ========================================== */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.research-card {
    display: block;
    text-decoration: none;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 28px 22px;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
}

.research-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    background: rgba(230, 153, 45, 0.08);
}

.research-card h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.research-card:hover h3 {
    color: var(--accent);
}

.research-card p {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   Founder Card
   ========================================== */
.founder-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(10, 25, 47, 0.55);
    border: 1px solid rgba(230, 153, 45, 0.22);
    border-radius: 30px;
    padding: 45px;
    backdrop-filter: blur(12px);
}

.founder-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
    flex-shrink: 0;
    object-position: center 15%;
    box-shadow: 0 0 25px rgba(230, 153, 45, 0.25);
}

.founder-card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.founder-card p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ==========================================
   Audience Roles Section
   ========================================== */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.audience-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-main);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(230, 153, 45, 0.12);
    color: var(--gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   Launch Status Component
   ========================================== */
.launch-status {
    width: 100%;
    max-width: 720px;
    margin: 3rem auto;
    padding: 2.25rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.28), inset 0 1px rgba(255,255,255,0.05);
    animation: fadeUp 0.8s ease both;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) {
    .launch-status:hover {
        transform: translateY(-6px);
        border-color: var(--accent);
        box-shadow: 0 35px 90px rgba(0,0,0,0.35), 0 0 35px rgba(0,0,0,0.25);
    }
}

.status-icon {
    width: 78px;
    height: 78px;
    margin: auto auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    animation: iconGlow 3s ease-in-out infinite;
}

.status-icon svg { width: 36px; height: 36px; }
.launch-status h3 { margin: 0 0 1rem; font-size: 1.7rem; font-weight: 700; color: #fff; }
.launch-status p { margin: 0; color: var(--text-dim); font-size: 1.05rem; line-height: 2; }
.status-divider { width: 90px; height: 1px; margin: 2rem auto; background: rgba(255, 255, 255, 0.08); }
.status-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.3rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}
.launch-status small { display: block; color: var(--text-dim); font-size: 0.92rem; }

/* ==========================================
   Modern Registration Form
   ========================================== */
.form-section { padding: 60px 0; }

.form-box {
    background: var(--secondary);
    padding: 45px;
    border-radius: 30px;
    max-width: 750px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.modern-form-box {
    max-width: 850px;
    background: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(16px);
}

.form-content-wrapper.hidden { display: none; }

.form-row.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.field-tag {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.field-tag.required {
    background: rgba(230, 153, 45, 0.18);
    color: var(--accent);
}

.field-tag.optional {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    inset-inline-start: 16px;
    width: 20px;
    height: 20px;
    fill: var(--text-dim);
    pointer-events: none;
    transition: fill 0.3s;
}

.input-wrapper input, 
.input-wrapper select, 
.input-wrapper textarea {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border-radius: 15px;
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

[dir="rtl"] .input-wrapper input,
[dir="rtl"] .input-wrapper select,
[dir="rtl"] .input-wrapper textarea {
    padding: 16px 48px 16px 16px;
}

.input-wrapper textarea {
    padding-top: 14px;
    resize: vertical;
    min-height: 100px;
}

.input-wrapper input:focus, 
.input-wrapper select:focus, 
.input-wrapper textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(230, 153, 45, 0.25);
}

.input-wrapper input:focus ~ .input-icon, 
.input-wrapper select:focus ~ .input-icon,
.input-wrapper textarea:focus ~ .input-icon {
    fill: var(--accent);
}

.error-msg {
    color: #ff4d4d;
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
    height: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

input.invalid, select.invalid {
    border-color: #ff4d4d !important;
    background: rgba(255, 77, 77, 0.05);
}

.btn-submit-lg {
    width: 100%;
    justify-content: center;
    padding: 20px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-icon {
    width: 22px;
    height: 22px;
    margin-inline-start: 10px;
}

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 20px;
}

.privacy-icon {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

/* Success Message Overlay */
#success-message {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

#success-message.visible {
    display: block;
    animation: fadeInScale 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#success-message .success-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(230, 153, 45, 0.4));
    animation: crownPop 1s 0.3s ease-out both;
}

#success-message h3 {
    color: var(--accent);
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    margin-bottom: 25px;
    font-weight: 900;
}

#success-message p {
    color: var(--text-main);
    font-size: 1.15rem;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.9;
    opacity: 0.9;
}

/* ==========================================
   Footer Area
   ========================================== */
footer {
    background: #01040a;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 80px;
}

.footer-shell {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-card h2 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-card h3 {
    color: #fff;
    margin-bottom: 22px;
    font-size: 1.2rem;
}

.footer-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--accent);
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: var(--accent);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
}

.contact-item a:hover {
    color: var(--accent);
}

.social-flex {
    display: flex;
    gap: 14px;
    margin-top: 25px;
}

.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    text-decoration: none;
}

.social-circle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-circle:hover {
    background: var(--accent);
    color: white;
    transform: rotate(360deg) scale(1.1);
}

/* ==========================================
   Footer Bottom / Copyright & Legal Links
   ========================================== */
.footer-bottom {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-sizing: border-box;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-dim);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer-legal-separator {
    color: var(--text-dim);
    opacity: 0.5;
    font-size: 0.85rem;
    user-select: none;
}

/* التجاوب مع الجوال */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 12px;
    }
}

/* ==========================================
   Back To Top Button
   ========================================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    inset-inline-start: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s, transform 0.3s;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-5px);
}

/* ==========================================
   Keyframes Animations
   ========================================== */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes crownPop {
    0% { transform: translateY(20px) scale(0.5); opacity: 0; }
    60% { transform: translateY(-10px) scale(1.1); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes iconGlow {
    0%, 100% { box-shadow: 0 0 18px rgba(0,0,0,0.15); }
    50% { box-shadow: 0 0 30px rgba(0,0,0,0.25); }
}

/* ==========================================
   Responsive Media Queries (Fully Optimized & Standardized)
   ========================================== */
@media (max-width: 1024px) {
    .container {
        padding-inline: 24px; /* مسافة متوازنة للتابلت الشاشات المتوسطة */
    }
}

@media (max-width: 900px) {
    .site-nav { 
        display: none !important; 
    }

    .hamburger { 
        display: flex !important; 
    }

    .footer-shell { 
        grid-template-columns: 1fr; 
        gap: 35px; 
        text-align: center; 
    }

    .social-flex, .contact-item { 
        justify-content: center; 
    }
}

@media (max-width: 768px) {
    .container {
        padding-inline: 20px; /* مسافة مريحة للهواتف اللوحية */
    }

    .site-header {
        padding-block: 18px;
    }

    .hero { padding: 40px 0; min-height: auto; }
    .logo-img { height: 60px; }
    h1 { margin-bottom: 20px; line-height: 1.3; }
    .hero-actions, .btn-group { flex-direction: column; gap: 12px; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .grid, .section-grid.two-col, .section-grid.three-col { grid-template-columns: 1fr; gap: 18px; }
    .manifesto-card { padding: 30px 20px; }
    .founder-card { flex-direction: column; text-align: center; padding: 30px 20px; gap: 20px; }
    .form-box { padding: 25px 20px; }
    .form-row.two-columns { grid-template-columns: 1fr; gap: 0; }
    .launch-status { padding: 2rem; border-radius: 22px; }
    .launch-status h3 { font-size: 1.45rem; }
    .launch-status p { font-size: 1rem; line-height: 1.9; }
    .status-icon { width: 68px; height: 68px; }
    .status-icon svg { width: 30px; height: 30px; }
}

@media (max-width: 480px) {
    .container {
        padding-inline: 16px; /* المعيار العالمي الأنسب والأجمل لشاشات الجوال */
    }

    .site-header {
        padding-block: 16px;
    }

    .site-brand img {
        height: 35px;
    }

    .header-actions {
        gap: 8px;
    }

    .lang-switcher {
        height: 34px;
        padding: 3px 4px;
    }

    .lang-switcher .globe-icon {
        width: 13px;
        height: 13px;
        margin-inline-start: 4px;
    }

    .lang-switcher .lang-btn {
        padding: 3px 7px;
        font-size: 0.7rem;
        height: 24px;
    }

    .hamburger {
        width: 34px;
        height: 34px;
    }

    .hamburger span {
        width: 16px;
    }

    .launch-status { margin: 2rem auto; padding: 1.5rem; }
    .status-icon { width: 60px; height: 60px; margin-bottom: 1.25rem; }
    .status-icon svg { width: 26px; height: 26px; }
    .launch-status h3 { font-size: 1.28rem; line-height: 1.5; margin-bottom: 0.85rem; }
    .launch-status p { font-size: 0.96rem; line-height: 1.85; }
    .status-divider { width: 70px; margin: 1.5rem auto; }
    .status-note { width: 100%; padding: 0.9rem 1rem; font-size: 0.9rem; }
    .launch-status small { margin-top: 1.2rem; font-size: 0.85rem; }
}

@media (max-width: 360px) {
    .container {
        padding-inline: 12px; /* للشاشات فائقة الصغر منعاً لضيق المحتوى */
    }

    .launch-status { padding: 1.25rem 1rem; }
    .status-icon { width: 56px; height: 56px; }
    .status-icon svg { width: 24px; height: 24px; }
    .launch-status h3 { font-size: 1.15rem; }
    .launch-status p { font-size: 0.92rem; }
    .status-note { font-size: 0.85rem; padding: 0.8rem; }
    .launch-status small { font-size: 0.8rem; }

    .lang-switcher .lang-btn {
        padding: 2px 6px;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .launch-status, .status-icon, .btn-primary, .lang-switcher { animation: none; transition: none; }
}
