:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.floating-elements {
    position: relative;
    height: 400px;
}

.float-icon {
    position: absolute;
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.float-icon:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.float-icon:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.5s; }
.float-icon:nth-child(3) { top: 40%; left: 10%; animation-delay: 1s; }
.float-icon:nth-child(4) { top: 50%; right: 15%; animation-delay: 1.5s; }
.float-icon:nth-child(5) { top: 70%; left: 25%; animation-delay: 2s; }
.float-icon:nth-child(6) { top: 80%; right: 30%; animation-delay: 2.5s; }
.float-icon:nth-child(7) { top: 30%; left: 50%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.bg-primary-light { background: rgba(102, 126, 234, 0.1); color: #667eea; }
.bg-success-light { background: rgba(40, 167, 69, 0.1); color: #28a745; }
.bg-warning-light { background: rgba(255, 193, 7, 0.1); color: #ffc107; }
.bg-danger-light { background: rgba(220, 53, 69, 0.1); color: #dc3545; }

/* Function Cards */
.function-mini-card {
    background: white;
    padding: 25px 15px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.function-mini-card:hover {
    transform: translateY(-3px);
}

.function-emoji {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

/* Login Page */
.login-page {
    background: var(--primary-gradient);
    min-height: 100vh;
}

.login-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-top: 50px;
}

/* Function Card in Dashboard */
.function-card {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.function-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

/* Footer */
.footer {
    background: #2d3436;
    color: #b2bec3;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .floating-elements {
        display: none;
    }
    
    .display-3 {
        font-size: 2rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}