:root {
    /* ePlus Color Palette */
    --eplus-primary: #12498A;
    --eplus-secondary: #1B5BA7;
    --eplus-tertiary: #246BBE;
    --eplus-light-blue: #368CF1;
    --eplus-teal: #09A0B2;
    --eplus-cyan: #179AC5;
    --eplus-green: #04BAAC;
    --eplus-accent: #feb934;
    --eplus-light-accent: #f2f1ba;
    
    /* Updated gradients with ePlus colors */
    --primary-gradient: linear-gradient(135deg, var(--eplus-primary) 0%, var(--eplus-secondary) 100%);
    --secondary-gradient: linear-gradient(135deg, var(--eplus-teal) 0%, var(--eplus-cyan) 100%);
    --accent-gradient: linear-gradient(135deg, var(--eplus-light-blue) 0%, var(--eplus-tertiary) 100%);
    --highlight-gradient: linear-gradient(135deg, var(--eplus-accent) 0%, #ffcd5a 100%);
    
    /* Background and UI colors */
    --dark-bg: #0a0f1a;
    --card-bg: rgba(18, 73, 138, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #b0c4de;
    --glass-border: rgba(54, 140, 241, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at top, rgba(18, 73, 138, 0.15) 0%, var(--dark-bg) 100%);
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2312498A' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(10, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-image {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.cta-button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(18, 73, 138, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(18, 73, 138, 0.5);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Login Section */
.login-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(18, 73, 138, 0.1) 0%, rgba(27, 91, 167, 0.1) 100%);
}

.login-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-form {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
    margin-top: 2rem;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.login-btn {
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    min-height: 60px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(18, 73, 138, 0.3);
}

.login-help {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.login-help a {
    color: var(--eplus-accent);
    text-decoration: none;
}

.login-help a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(30px);
    margin-top: auto;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--eplus-light-blue), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-address {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0.8;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 400;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--text-primary);
    opacity: 1;
}

.footer-copyright {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-align: center;
    opacity: 0.7;
    margin-top: 0.5rem;
}

main {
    flex: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .login-buttons {
        gap: 1rem;
    }
    
    .login-btn {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.65rem;
    }
    
    footer {
        padding: 1.5rem 1rem 1rem;
    }
    
    .footer-copyright {
        font-size: 0.65rem;
        margin-top: 0.25rem;
    }
    
    .footer-address {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
}

.hidden {
    display: none;
}
