@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
    --primary: #10b981;
    --bg: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.06);
    --text-main: #0f172a;
    --text-dim: #64748b;
    --chip-bg: rgba(0, 0, 0, 0.04);
    --input-bg: rgba(255, 255, 255, 0.9);
    --blob1: rgba(16, 185, 129, 0.12);
    --blob2: rgba(59, 130, 246, 0.1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #030712;
        --card-bg: rgba(17, 24, 39, 0.7);
        --glass-border: rgba(255, 255, 255, 0.08);
        --text-main: #f3f4f6;
        --text-dim: #94a3b8;
        --chip-bg: rgba(255, 255, 255, 0.05);
        --input-bg: rgba(17, 24, 39, 0.4);
        --blob1: rgba(16, 185, 129, 0.15);
        --blob2: rgba(59, 130, 246, 0.1);
    }
}

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

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background-color 0.5s ease;
    overflow-x: hidden;
}

.mesh-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background: var(--bg);
}

.mesh-bg::before, .mesh-bg::after {
    content: "";
    position: absolute;
    width: 90vw; height: 90vw;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: drift 25s infinite alternate ease-in-out;
}

.mesh-bg::before { background: var(--blob1); top: -20%; left: -10%; }
.mesh-bg::after { background: var(--blob2); bottom: -20%; right: -10%; animation-delay: -5s; }

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(15%, 15%) scale(1.1); }
}

.logo-mark {
    position: relative;
    width: 2.2rem;
    height: 2.2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.logo-mark::after {
    content: "L";
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    font-style: italic;
}

.premium-card {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.premium-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.1);
}

.cat-chip {
    padding: 0.7rem 1.4rem;
    background: var(--chip-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    transition: 0.3s ease;
    cursor: pointer;
}

.cat-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.btn-auth {
    background: var(--text-main);
    color: var(--bg);
    font-weight: 800;
    padding: 1.2rem;
    border-radius: 1.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.animate-card { animation: cardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes cardIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}