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

:root {
    --primary-color: #6e42ff;
    --secondary-color: #00b8ff;
    --accent-color: #ff36b5;
    --bg-color: #0a0e17;
    --card-bg: #141c2b;
    --text-color: #e6eef9;
    --text-secondary: #a2b3cd;
    --success-color: #3bff8a;
    --border-radius: 12px;
    --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 35%, rgba(110, 66, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 15%, rgba(0, 184, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(255, 54, 181, 0.1) 0%, transparent 50%);
}

.container {
    width: 100%;
    max-width: 1100px;
    padding: 2rem;
    perspective: 1000px;
}

.welcome-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(2deg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 1;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 0 25px rgba(110, 66, 255, 0.5);
    animation: pulse 3s infinite;
}

.logo i {
    font-size: 2.5rem;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--text-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.highlight {
    color: var(--accent-color);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.highlight::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 54, 181, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(20, 28, 43, 0.7);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(110, 66, 255, 0.2);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.feature-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--primary-color) 10%, var(--secondary-color) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item h3 {
    margin-bottom: 0.7rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.student-section {
    background: rgba(10, 14, 23, 0.6);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
    text-align: center;
    border: 1px solid rgba(110, 66, 255, 0.1);
}

.student-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
}

.input-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

input::placeholder {
    color: rgba(162, 179, 205, 0.5);
}

button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: white;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 30px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-45deg);
    transition: 0.5s;
    filter: blur(5px);
}

button:hover::before {
    left: 150%;
}

.welcome-message {
    background: rgba(20, 28, 43, 0.8);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(110, 66, 255, 0.2);
}

.welcome-message.visible {
    transform: scale(1);
    opacity: 1;
}

.welcome-message h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(90deg, var(--success-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.message-content {
    position: relative;
    z-index: 2;
}

.message-content p {
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hidden {
    display: none;
}

.course-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1rem;
    min-width: 120px;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.typewriter {
    color: var(--accent-color);
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent-color);
    animation: blink 0.8s infinite;
    margin-left: 2px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(110, 66, 255, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(110, 66, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(110, 66, 255, 0);
    }
}

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

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

@media (max-width: 768px) {
    .welcome-card {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 1.2rem;
    }
    
    .student-section {
        padding: 1.5rem;
    }
    
    .input-container {
        flex-direction: column;
    }
    
    input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    button {
        border-radius: var(--border-radius);
    }
} 