/* Privacy Policy Styles - Matching Main Website Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import same fonts as main website */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;600&display=swap');

/* Use same color system as main website */
:root {
    /* Primary Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Accent Colors */
    --accent-primary: #f59e0b;
    --accent-secondary: #d97706;
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    /* Coffee Theme */
    --coffee-primary: #8b4513;
    --coffee-secondary: #a0522d;
    --coffee-light: #cd853f;
    
    /* Gold and Dark Colors */
    --gold: #b8860b;
    --coffee-gold: #d4af37;
    --dark: #0a0a0a;
    
    /* Borders & Shadows */
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Arabic and Persian font support */
[lang="ar"], [lang="fa"] {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

/* Typography matching main website */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-primary);
    min-height: 100vh;
}

/* Header with glass morphism effect */
.privacy-header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 2rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.privacy-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Language switcher matching main website */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    min-width: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: var(--accent-gradient);
    color: var(--text-primary);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.privacy-content {
    padding: 3rem 2rem;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.effective-date {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-left: 4px solid var(--accent-primary);
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.privacy-section {
    margin-bottom: 3rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.privacy-section:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.privacy-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-section h3 {
    font-size: 1.3rem;
    color: var(--accent-primary);
    margin: 1.5rem 0 0.8rem 0;
    font-weight: 600;
}

.privacy-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.privacy-section ul {
    margin: 1rem 0 1rem 2rem;
    list-style-type: none;
}

.privacy-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.privacy-section li::before {
    content: "•";
    color: var(--accent-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.contact-info {
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

.back-link {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--accent-primary);
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

/* RTL Support */
[dir="rtl"] .privacy-section ul {
    margin: 1rem 2rem 1rem 0;
}

[dir="rtl"] .privacy-section li {
    padding-right: 1.5rem;
    padding-left: 0;
}

[dir="rtl"] .privacy-section li::before {
    right: 0;
    left: auto;
}

[dir="rtl"] .effective-date {
    border-left: none;
    border-right: 4px solid var(--accent-primary);
}

[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .privacy-title {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy-content {
        padding: 2rem 1rem;
    }
    
    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .intro-text {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .effective-date {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-title {
        font-size: 1.8rem;
    }
    
    .privacy-content {
        padding: 1.5rem 0.8rem;
    }
    
    .privacy-section {
        padding: 1rem;
    }
    
    .effective-date {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .privacy-section ul {
        margin-left: 1.5rem;
    }
    
    [dir="rtl"] .privacy-section ul {
        margin-right: 1.5rem;
        margin-left: 0;
    }
}

/* Smooth animations */
.privacy-section, .lang-btn, .back-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states for accessibility */
.lang-btn:focus, .back-link:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Scrollbar styling to match dark theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

