:root {
    --primary-color: #5e4b8b;
    --primary-light: #7b65ae;
    --primary-bg: #f4effa;
    --bg-color: #f8f9fa;
    --surface-color: #ffffff;
    --text-main: #1f1f29;
    --text-muted: #6b6b7b;
    --border-color: #e5e5ea;
    --card-shadow: 0 8px 30px rgba(94, 75, 139, 0.08);
    --blob-1: rgba(123, 101, 174, 0.15);
    --blob-2: rgba(94, 75, 139, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --primary-color: #9d88d6;
    --primary-light: #b9a7ea;
    --primary-bg: #2d2442;
    --bg-color: #121216;
    --surface-color: #1c1c22;
    --text-main: #f0f0f5;
    --text-muted: #a0a0ab;
    --border-color: #2c2c35;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    --blob-1: rgba(157, 136, 214, 0.08);
    --blob-2: rgba(123, 101, 174, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background-color: var(--blob-1);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background-color: var(--blob-2);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: rgba(var(--surface-color), 0.8);
    border-bottom-color: var(--border-color);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(94, 75, 139, 0.2);
}

.logo-icon.small {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

.theme-toggle {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-bg);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-main), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 40px;
}

.app-description {
    background-color: var(--surface-color);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    font-size: 18px;
    color: var(--text-muted);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.app-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-color));
}

/* Content wrapper */
.content-wrapper {
    padding-bottom: 80px;
}

.policy-card {
    background-color: var(--surface-color);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.policy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(94, 75, 139, 0.12);
}

.policy-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 16px;
}

.policy-card ul {
    list-style-position: inside;
    color: var(--text-muted);
    margin-left: 16px;
    margin-bottom: 16px;
}

.policy-card li {
    margin-bottom: 8px;
    position: relative;
}

.policy-card strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background-color: var(--surface-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    
    .policy-card {
        padding: 24px;
    }
    
    .hero {
        padding: 40px 0;
    }
}
