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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.logo {
    text-align: center;
    margin-bottom: 50px;
}

.protogen-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #00d4ff;
}

.logo h1 {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.logo p {
    color: #888;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
    margin: 30px 0;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    width: 0%;
    transition: width 0.3s ease;
}

.loading-text, .loading-percent {
    color: #888;
    margin: 10px 0;
}

.loading-dots {
    display: flex;
    gap: 5px;
    margin-top: 20px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.3s; }
.loading-dots span:nth-child(3) { animation-delay: 0.6s; }
.loading-dots span:nth-child(4) { animation-delay: 0.9s; }
.loading-dots span:nth-child(5) { animation-delay: 1.2s; }

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: #2a2a4a;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    border: 2px solid #00d4ff;
}

.warning-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ff6b35;
}

.modal-content h2 {
    color: #00d4ff;
    margin-bottom: 20px;
}

.modal-content p {
    margin-bottom: 15px;
    color: #ccc;
}

.modal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-yes, .btn-no {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-yes {
    background: #00d4ff;
    color: #000;
}

.btn-yes:hover {
    background: #0099cc;
}

.btn-no {
    background: #ff4444;
    color: #fff;
}

.btn-no:hover {
    background: #cc3333;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #00d4ff;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00d4ff;
}

.nav-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00d4ff;
}

.login-btn {
    background: #00d4ff;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: #0099cc;
}

/* Main Content */
.main-content {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    text-align: center;
    margin-bottom: 80px;
}

.hero-logo {
    font-size: 5rem;
    color: #00d4ff;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.highlight {
    color: #00d4ff;
}

.hero-section p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(42, 42, 74, 0.8);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #444;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00d4ff;
}

.card h3 {
    color: #00d4ff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-btn {
    background: #00d4ff;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.card-btn:hover {
    background: #0099cc;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .main-content {
        padding: 40px 20px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
}