/* ==========================================
   FARGOOX GLOBAL STYLES & VARIABLES
   ========================================== */
:root {
    --bg-dark: #050811;
    --card-bg: #080f1a;
    --card-border: rgba(0, 212, 255, 0.2);
    --accent-cyan: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.35);
    --text-white: #ffffff;
    --text-muted: #8b9bb4;
    --text-subtle: #64748b;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ==========================================
   HEADER NAVIGATION
   ========================================== */
.header {
    background: rgba(8, 15, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: var(--text-white);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.logo span {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px var(--accent-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.nav-links a i {
    color: var(--accent-cyan);
    font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ==========================================
   LEGAL PAGES & FORM STYLES
   ========================================== */
.legal-page-container {
    flex: 1;
    max-width: 850px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.legal-card {
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.15);
}

.legal-header {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
    margin-bottom: 28px;
}

.legal-header h1 {
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.legal-header h1 span {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px var(--accent-cyan);
}

.legal-header p {
    color: var(--text-subtle);
    font-size: 12px;
}

.legal-content h2 {
    color: var(--text-white);
    font-size: 17px;
    font-weight: 800;
    margin: 22px 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-content h2 i {
    color: var(--accent-cyan);
}

.legal-content p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Contact Form Input Fields */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    color: var(--text-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.form-control {
    background: #0d1726;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Base Action Button */
.btn-action {
    background: var(--accent-cyan);
    box-shadow: 0 0 15px #00eeff66;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-action:hover {
    transform: translateY(-2px);
    background: #2ee2ff;
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.footer {
    background: #03060c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    text-align: center;
    margin-top: auto;
}

.footer p {
    color: var(--text-subtle);
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .header {
        padding: 14px 18px;
    }

    .nav-links {
        display: none; /* Kat-t-khba f-mobile باش ma-t'ziy9ch l-screen */
    }

    .legal-page-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    .legal-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .legal-header h1 {
        font-size: 20px;
    }
}


/* Success Notification Box */
.success-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--accent-cyan);
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
    animation: fadeInScale 0.4s ease-out forwards;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 28px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.success-box h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.success-box p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}