@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    min-height: 100vh;
    color: #1e293b;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('{{ url_for("static", filename="css/images/Arts to GoGo Gradient.png") }}');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Admin Link */
.admin-link {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.admin-link:hover {
    background: rgba(255, 255, 255, 1);
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 40px;
    text-align: center;
}

/* Logo Container */
.logo-container {
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.main-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Heading */
h1 {
    font-size: 2.5rem;
    font-weight: 200;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* Description */
.description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Login Options */
.login-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.login-btn {
    display: block;
    padding: 18px 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    color: #1e293b;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.login-btn.police {
    border-left: 4px solid #ef4444;
}

.login-btn.police:hover {
    border-left-color: #dc2626;
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.2);
}

.login-btn.business-owners {
    border-left: 4px solid #3b82f6;
}

.login-btn.business-owners:hover {
    border-left-color: #2563eb;
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
}

.login-btn:not(.police):not(.business-owners) {
    border-left: 4px solid #10b981;
}

.login-btn:not(.police):not(.business-owners):hover {
    border-left-color: #059669;
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.2);
}

/* Demo Info */
.demo-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.demo-info p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.8;
    text-align: left;
}

.demo-info strong {
    color: #1e293b;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-link {
        top: 16px;
        right: 16px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .container {
        padding: 60px 20px 32px;
    }

    .main-logo {
        max-width: 150px;
    }

    h1 {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .login-options {
        gap: 12px;
        margin-bottom: 40px;
    }

    .login-btn {
        padding: 16px 24px;
        font-size: 1rem;
    }

    .demo-info {
        padding: 24px;
    }

    .demo-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .admin-link {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .container {
        padding: 50px 16px 24px;
    }

    .main-logo {
        max-width: 120px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .description {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .login-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .demo-info {
        padding: 20px;
    }

    .demo-info p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

