:root {
    --statista-dark: #0f283e;
    --statista-primary: #0a85e6;
    --statista-secondary: #205eb0;
    --statista-light-blue: #5291e3;
    --statista-gray: #bababa;
    --statista-dark-gray: #919191;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #0f283e 0%, #1a3f5e 50%, #0a85e6 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(82, 145, 227, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(10, 133, 230, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(32, 94, 176, 0.1) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes backgroundMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.statista-nav {
    background: rgba(15, 40, 62, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-user {
    color: white;
    font-size: 0.95rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Glassmorphism Cards */
.statista-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

/* Login Card Special */
.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 1px rgba(255, 255, 255, 0.3) inset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-statista {
    background: linear-gradient(135deg, var(--statista-primary) 0%, var(--statista-secondary) 100%);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(10, 133, 230, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-statista::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-statista:hover::before {
    left: 100%;
}

.btn-statista:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 133, 230, 0.4);
}

.btn-statista:active {
    transform: translateY(0);
}

.btn-statista-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--statista-primary);
    border: 2px solid var(--statista-primary);
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-statista-secondary:hover {
    background: var(--statista-light-blue);
    color: white;
    border-color: var(--statista-light-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(82, 145, 227, 0.3);
}

/* Inputs */
.input-statista {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(186, 186, 186, 0.3);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-statista:focus {
    outline: none;
    border-color: var(--statista-primary);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 4px rgba(10, 133, 230, 0.1);
}

/* Customer Items */
.customer-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(186, 186, 186, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.customer-item:hover {
    border-color: var(--statista-primary);
    box-shadow: 0 8px 24px rgba(10, 133, 230, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
}

/* Release Notes */
.release-notes {
    list-style: none;
    padding-left: 0;
}

.release-notes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #333;
}

.release-notes li::before {
    content: "•";
    color: var(--statista-primary);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 40, 62, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 1px rgba(255, 255, 255, 0.3) inset;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-primary {
    background: linear-gradient(135deg, var(--statista-light-blue) 0%, var(--statista-primary) 100%);
    color: white;
}

/* Utilities */
.hidden {
    display: none;
}

.text-statista-primary {
    color: var(--statista-primary);
}

.text-statista-dark {
    color: var(--statista-dark);
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-gray {
    color: var(--statista-dark-gray);
}

/* Container spacing */
main.container {
    position: relative;
    z-index: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(10, 133, 230, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 133, 230, 0.7);
}

/* Login page specific */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Floating elements for login page */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--statista-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--statista-light-blue);
    bottom: 15%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--statista-secondary);
    top: 50%;
    right: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}