:root {
    --primary-color: #84A9CA;
    --primary-hover: #574293;
    --bg-color: #f9fafb;
    --surface-color: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s ease;
}

/* @media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #84A9CA;
        --primary-hover: #A29DCD;
        --bg-color: #0f172a;
        --surface-color: #1e293b;
        --text-primary: #f8fafc;
        --text-secondary: #94a3b8;
        --border-color: #334155;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    }
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #575398 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: -2rem;
    position: relative;
    z-index: 10;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

main {
    position: relative;
    z-index: 20;
    padding-bottom: 4rem;
}

.policy-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.policy-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.policy-card h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.policy-card ul {
    list-style-position: inside;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    margin-left: 0.5rem;
}

.policy-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    text-indent: -1rem;
}

.policy-card ul li strong {
    color: var(--text-primary);
}

.permission-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.permission-item:hover {
    background-color: var(--surface-color);
    border-color: var(--primary-hover);
    box-shadow: var(--shadow-md);
}

.permission-item .icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(99, 102, 241, 0.1);
    flex-shrink: 0;
}

.permission-item h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.permission-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-color: var(--primary-color);
}

footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    background-color: var(--surface-color);
}

.text-center {
    text-align: center;
}

/* Delay animations for cards */
.policy-card:nth-child(1) {
    animation-delay: 0.1s;
}

.policy-card:nth-child(2) {
    animation-delay: 0.2s;
}

.policy-card:nth-child(3) {
    animation-delay: 0.3s;
}

.policy-card:nth-child(4) {
    animation-delay: 0.4s;
}

.policy-card:nth-child(5) {
    animation-delay: 0.5s;
}

.policy-card:nth-child(6) {
    animation-delay: 0.6s;
}

.policy-card:nth-child(7) {
    animation-delay: 0.7s;
}

.policy-card:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@media (max-width: 640px) {
    .header {
        padding: 3rem 0 2rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .policy-card {
        padding: 1.5rem;
    }

    .permission-item {
        flex-direction: column;
        gap: 1rem;
    }
}