@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(126, 200, 227, 0.2);
}

.demo-gradient {
    background: linear-gradient(135deg, #050a30 0%, #000c66 50%, #334db3 100%);
}

.input-group {
    position: relative;
}

.floating-label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 0 4px;
    color: #6b7280;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    font-size: 12px;
    border-radius: 4px;
}

.floating-label.active,
.input-field:not(:placeholder-shown) + .floating-label {
    top: 0;
    font-size: 10px;
    color: #334db3;
    font-weight: 500;
}

.input-field {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1);
}

.input-field:focus {
    border-color: #7ec8e3;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(126, 200, 227, 0.1);
    transform: scale(1.02);
}

.input-field.error {
    border-color: #ef4444;
    background: rgba(254, 242, 242, 0.9);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #334db3 0%, #7ec8e3 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 6px 20px rgba(51, 77, 179, 0.4);
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #334db3, #7ec8e3);
    transition: width 0.3s ease;
    z-index: 9999;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.tooltip {
    position: relative;
}

.tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    z-index: 10;
}

@media (max-width: 1024px) {
    .demo-section-full {
        display: none;
    }
    .demo-section-mobile {
        display: block;
    }
}

@media (min-width: 1025px) {
    .demo-section-mobile {
        display: none;
    }
}
