:root {
    --primary-color: #6A1E55;
    --primary-dark: #4a153c;
    --accent-color: #D9943B;
    --text-color: #333;
    --bg-gradient: linear-gradient(135deg, #6A1E55 0%, #2b0c22 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    padding: 20px;
}

/* خلفية متحركة */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    background-image: radial-gradient(#ffffff 2px, transparent 2px);
    background-size: 30px 30px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.container {
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px); /* تأثير الزجاج */
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(20px);
    animation: floatUp 0.8s ease-out forwards;
}

@keyframes floatUp {
    to { transform: translateY(0); opacity: 1; }
}

.header {
    text-align: center;
    margin-bottom: 50px;
}

.logo-container {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 25px;
    margin: 0 auto 20px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(106, 30, 85, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05) rotate(5deg);
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

.policy-section {
    margin-bottom: 40px;
    opacity: 0; /* مخفي للأنيميشن */
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.policy-section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    color: var(--primary-color);
    border-right: 5px solid var(--accent-color);
    padding-right: 15px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

p, li {
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.custom-list {
    list-style: none;
    padding-right: 20px;
}

.custom-list li {
    margin-bottom: 10px;
    position: relative;
}

.custom-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* بطاقات المعلومات */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .cards-grid { grid-template-columns: 1fr; }
}

.info-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.info-card h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.contact-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(106, 30, 85, 0.3);
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 30, 85, 0.4);
}

.footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.9rem;
}