:root {
    --bg: #0d0d0f;
    --accent: #5e8cff;
    --accent2: #b8c7ff;
    --text: #eaeaea;
    --text-soft: #b3b3b3;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Outfit", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Typography */
h1 {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    color: var(--accent2);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    text-decoration: underline;
    color: var(--accent);
}

/* Home Page Specifics */
body.home {
    height: 100vh;
    align-items: center;
    overflow: hidden;
}

.home .container {
    text-align: center;
    transform: scale(1.15);
    animation: fadeIn 1s ease-out forwards;
}

.home h1 {
    font-size: 4rem;
    letter-spacing: 3px;
    margin: 0 0 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.home h2 {
    margin: 0 0 35px;
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--text-soft);
}

.logo-title {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.logo-title img {
    width: 80px;
    height: 80px;
    opacity: 0.95;
}

.home p {
    font-size: 1.4rem;
    margin: 12px 0;
    color: var(--text-soft);
}

.beta {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 25px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.beta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 140, 255, 0.15);
}

.glow {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(94,140,255,0.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 8s infinite ease-in-out;
}

/* Privacy Page Specifics */
body.privacy {
    min-height: 100vh;
    align-items: flex-start;
}

.privacy .container {
    max-width: 900px;
    padding: 60px 20px 80px;
    animation: fadeIn 0.8s ease-out forwards;
}

.privacy h1 {
    font-size: 2.4rem;
    margin: 0 0 10px;
}

.privacy h2 {
    margin-top: 25px;
    font-size: 1.4rem;
    color: var(--accent2);
}

.privacy p, .privacy li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-soft);
}

.privacy ul {
    padding-left: 18px;
}

.back-link {
    margin-top: 30px;
    font-size: 0.95rem;
}

.brand {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-soft);
}

/* Responsive */
@media (max-width: 768px) {
    body.home {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        padding: 40px 20px;
    }

    .home .container {
        transform: none;
        width: 100%;
    }

    .home h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .home h2 {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }

    .logo-title {
        flex-direction: column;
        gap: 10px;
    }

    .logo-title img {
        width: 60px;
        height: 60px;
    }

    .glow {
        width: 100%;
        height: 100%;
        opacity: 0.5;
        animation: none; /* Disable pulse animation on mobile to prevent overflow */
    }
}

@media (max-width: 600px) {
    .privacy .container {
        padding: 20px 15px 40px;
    }

    .privacy h1 {
        font-size: 1.8rem;
    }

    .privacy h2 {
        font-size: 1.2rem;
        margin-top: 20px;
    }
}
