/* NAFIDH VIP - Privacy Policy Stylesheet */

/* CSS Variables */
:root {
    color-scheme: only light;
    --gold: #E0C58F;
    --gold-rgb: 224, 197, 143;
    --deep-navy: #0B132B;
    --light-navy: #1C2541;
    --white: #ffffff;
    --gray: #9BA4B5;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    forced-color-adjust: none;
    -webkit-forced-color-adjust: none;
}

img, svg {
    filter: none !important;
}

html {
    color-scheme: only light;
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background-color: #0B132B !important;
    background-color: var(--deep-navy) !important;
    background: radial-gradient(ellipse at center, #1C2541 0%, #0B132B 70%) !important;
    background: radial-gradient(ellipse at center, var(--light-navy) 0%, var(--deep-navy) 70%) !important;
    min-height: 100vh;
    color: #ffffff !important;
    color: var(--white) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "calt" 0;
    font-variant-ligatures: no-common-ligatures;
    text-align: initial;
}

/* Container */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    background-color: #0B132B !important;
}

@media (min-width: 769px) {
    .container {
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid rgba(224, 197, 143, 0.2);
        border-radius: 24px;
        background: rgba(11, 19, 43, 0.8);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
}

/* Language Toggle */
.lang-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(145deg, rgba(224, 197, 143, 0.2) 0%, rgba(224, 197, 143, 0.3) 100%) !important;
    background-color: rgba(224, 197, 143, 0.2) !important;
    border: 2px solid rgba(224, 197, 143, 0.5) !important;
    border-radius: 10px;
    padding: 6px 12px;
    color: #E0C58F !important;
    color: var(--gold) !important;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.lang-toggle:hover {
    border-color: rgba(224, 197, 143, 0.7);
    transform: scale(1.05);
    background: linear-gradient(145deg, rgba(224, 197, 143, 0.3) 0%, rgba(224, 197, 143, 0.4) 100%);
}

[dir="ltr"] .lang-toggle {
    right: auto;
    left: 12px;
}

@media (min-width: 769px) {
    .lang-toggle {
        top: 16px;
        right: 16px;
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    [dir="ltr"] .lang-toggle {
        left: 16px;
    }
}

/* Privacy Container */
.privacy-container {
    padding: 20px 16px;
    position: relative;
}

@media (min-width: 769px) {
    .privacy-container {
        padding: 40px 30px;
    }
}

/* Privacy Title */
.privacy-title {
    color: #E0C58F !important;
    color: var(--gold) !important;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 15px;
    margin-top: 60px;
    text-align: center;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5);
}

@media (min-width: 769px) {
    .privacy-title {
        margin-top: 80px;
        margin-bottom: 20px;
    }
}

/* Update Date */
.update-date {
    color: #9BA4B5 !important;
    color: var(--gray) !important;
    font-size: 0.95rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(224, 197, 143, 0.2);
    text-align: center;
}

/* Privacy Section */
.privacy-section {
    background-color: #1C2541 !important;
    background: linear-gradient(145deg, rgba(28, 37, 65, 0.6) 0%, rgba(11, 19, 43, 0.8) 100%) !important;
    border: 2px solid rgba(224, 197, 143, 0.4);
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 769px) {
    .privacy-section {
        padding: 32px 28px;
        border-radius: 20px;
    }
}

.privacy-section h2 {
    color: #E0C58F !important;
    color: var(--gold) !important;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    letter-spacing: 0;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
}

.privacy-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 3vw, 1.05rem);
    line-height: 1.9;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 12px;
}

/* Back Link */
.back-link {
    display: block;
    width: fit-content;
    margin: 40px auto;
    letter-spacing: 0;
    text-align: center;
    color: #E0C58F !important;
    color: var(--gold) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid #E0C58F !important;
    border: 2px solid rgba(224, 197, 143, 0.3) !important;
    border-radius: 12px;
    background-color: #1C2541 !important;
    background: linear-gradient(145deg, rgba(28, 37, 65, 0.5) 0%, rgba(11, 19, 43, 0.7) 100%) !important;
}

.back-link:hover {
    border-color: rgba(224, 197, 143, 0.6);
}

/* Footer Note */
.footer-note {
    margin-top: 40px;
    padding: 24px 20px;
    background-color: #1C2541 !important;
    background: linear-gradient(145deg, rgba(28, 37, 65, 0.6) 0%, rgba(11, 19, 43, 0.8) 100%) !important;
    border: 2px solid rgba(224, 197, 143, 0.4) !important;
    border-radius: 16px;
    font-size: 0.9rem;
    color: #9BA4B5 !important;
    color: var(--gray) !important;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.privacy-container footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid rgba(224, 197, 143, 0.15) !important;
    color: #9BA4B5 !important;
    color: var(--gray) !important;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    margin-top: 20px;
    background: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

footer p {
    text-align: center;
}

.footer-copyright {
    margin-bottom: 10px;
}

@media (min-width: 769px) {
    .footer-note {
        padding: 28px;
        border-radius: 20px;
    }
}

.gold {
    color: #E0C58F !important;
    color: var(--gold) !important;
    font-weight: 800;
}

/* Utility Classes */
.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* LTR Support */
[dir="ltr"] body {
    text-align: left;
}

[dir="ltr"] .privacy-section {
    text-align: left;
}

/* ============================================
   COLOR SCHEME SUPPORT (Same colors for light/dark)
   ============================================ */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

@media (prefers-color-scheme: light) {
    :root {
        color-scheme: light;
    }
    
    body {
        background-color: #0B132B !important;
        background: radial-gradient(ellipse at center, #1C2541 0%, #0B132B 70%) !important;
        color: #ffffff !important;
    }
}

/* ============================================
   SAMSUNG BROWSER CUSTOM COLORS
   Samsung darkens colors, so we use lighter ones
   ============================================ */
body.samsung-browser {
    background-color: #5a6fa3 !important;
    background: #5a6fa3 !important;
    color: #ffffff !important;
}

body.samsung-browser .container {
    background-color: #5a6fa3 !important;
}

body.samsung-browser .lang-toggle {
    background: #5a6fa3 !important;
    background-color: #5a6fa3 !important;
    color: #FFDCA0 !important;
    border: 2px solid #FFD700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3) !important;
}

body.samsung-browser .privacy-title,
body.samsung-browser .privacy-section h2 {
    color: #FFDCA0 !important;
}

body.samsung-browser .back-link {
    color: #00205F !important;
}

body.samsung-browser .update-date,
body.samsung-browser .privacy-container footer,
body.samsung-browser .footer-note {
    color: #c5d0e5 !important;
}

body.samsung-browser .privacy-section {
    background: #5a6fa3 !important;
    background-color: #5a6fa3 !important;
    border: 2px solid #FFD700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3) !important;
}

body.samsung-browser .back-link {
    background: #5a6fa3 !important;
    background-color: #5a6fa3 !important;
    color: #00205F !important;
    border: 2px solid #00205F !important;
    box-shadow: 0 0 15px rgba(0, 32, 95, 0.3) !important;
}

body.samsung-browser .footer-note {
    background: #5a6fa3 !important;
    background-color: #5a6fa3 !important;
    border: 2px solid #FFD700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3) !important;
}

body.samsung-browser .gold {
    color: #FFDCA0 !important;
}

