:root {
    --primary-red: #E2001A;
    /* Standard Pharmacy Red / Matches 'Herzlich' likely */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-color: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background-color: rgba(226, 0, 26, 0.08);
    top: -100px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background-color: rgba(0, 123, 255, 0.05);
    /* Subtle blue tint for medical trust */
    bottom: -50px;
    left: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
}

.logo-container {
    margin-bottom: 3rem;
}

.logo {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.headline {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.subheadline {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.progress-wrapper {
    width: 100%;
    text-align: left;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    width: 0%;
    /* Starts at 0, animates to 80% */
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), #ff4d6a);
    border-radius: 10px;
    position: relative;
    animation: loadProgress 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.progress-fill {
    width: 100%;
    height: 100%;
}

.glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200% 100%;
    animation: shine 2s infinite linear;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 80%;
    }
}

@keyframes shine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 600px) {
    .glass-panel {
        padding: 3rem 1.5rem;
    }

    .headline {
        font-size: 1.75rem;
    }

    .logo {
        max-width: 200px;
    }
}

/* Legal Footer Styles */
.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: var(--primary-red);
}

.footer-info {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    line-height: 1.4;
}

.footer-info p {
    margin: 0;
}